linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "make bindeb-pkg" fails with CONFIG_MODULES disabled
@ 2020-09-25 22:29 Josh Triplett
  2020-09-26  5:45 ` Masahiro Yamada
  0 siblings, 1 reply; 5+ messages in thread
From: Josh Triplett @ 2020-09-25 22:29 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Masahiro Yamada, Michal Marek

With CONFIG_MODULES disabled, "make bindeb-pkg" fails in
scripts/package/builddeb with:

find: ‘Module.symvers’: No such file or directory

The deploy_kernel_headers function in scripts/package/builddeb calls:

find arch/$SRCARCH/include Module.symvers include scripts -type f

But find errors out if any of its command-line arguments doesn't exist.

This could be fixed by checking whether that file exists first, but if
CONFIG_MODULES is disabled, it doesn't really make sense to build the
linux-headers package at all. Perhaps that whole package could be
disabled when modules are disabled?

- Josh Triplett

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-20 17:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 22:29 "make bindeb-pkg" fails with CONFIG_MODULES disabled Josh Triplett
2020-09-26  5:45 ` Masahiro Yamada
2020-09-26  8:45   ` Josh Triplett
2020-10-13 16:48     ` Masahiro Yamada
2020-10-20 17:21       ` Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).