From: Josh Triplett <josh@joshtriplett.org>
To: linux-kbuild@vger.kernel.org
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Michal Marek <michal.lkml@markovi.net>
Subject: "make bindeb-pkg" fails with CONFIG_MODULES disabled
Date: Fri, 25 Sep 2020 15:29:34 -0700 [thread overview]
Message-ID: <20200925222934.GA126388@localhost> (raw)
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
next reply other threads:[~2020-09-25 22:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-25 22:29 Josh Triplett [this message]
2020-09-26 5:45 ` "make bindeb-pkg" fails with CONFIG_MODULES disabled Masahiro Yamada
2020-09-26 8:45 ` Josh Triplett
2020-10-13 16:48 ` Masahiro Yamada
2020-10-20 17:21 ` Josh Triplett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200925222934.GA126388@localhost \
--to=josh@joshtriplett.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.lkml@markovi.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).