[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981492: linux-source-5.10: Module-only builds failing since 39a8b293



Apologies - I jumped to conclusions in my original bug report

After applying your patch and seeing it did not fix the issue, I did a bit of investigation myself.
It turns out the problem wasn't in the linked commit, but actually part of the upstream kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.11&id=596b0474d3d9b1242eab713f84d8873f9887d980

The real problem isn't in the code however, but in my Makefile.
I didn't run the "modules_prepare" target before trying to build a module, despite it being documented: https://www.kernel.org/doc/Documentation/kbuild/modules.txt

Adding that target to my Makefile resolved the issue, without any changes to the linux-source package.
So this bug is now invalid

On Mon, 15 Feb 2021 at 12:49, Ben Hutchings <ben@decadent.org.uk> wrote:
Control: tag -1 patch moreinfo

Does this fix it?

Ben.

--
Ben Hutchings
73.46% of all statistics are made up.

Reply to: