diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-10-13 20:38:19 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-10-14 05:49:34 +0200 |
commit | bac977cbc0d6731fb8e67c2be0e4acbd959e10b3 (patch) | |
tree | b1ad5491244ebb063fa55000dfb7df3c7d81dedb /security/selinux | |
parent | kbuild: enforce -Werror=return-type (diff) | |
download | linux-bac977cbc0d6731fb8e67c2be0e4acbd959e10b3.tar.xz linux-bac977cbc0d6731fb8e67c2be0e4acbd959e10b3.zip |
kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n
Since commit 269a535ca931 ("modpost: generate vmlinux.symvers and
reuse it for the second modpost"), with CONFIG_MODULES disabled,
"make deb-pkg" (or "make bindeb-pkg") fails with:
find: ‘Module.symvers’: No such file or directory
If CONFIG_MODULES is disabled, it doesn't really make sense to build
the linux-headers package.
Fixes: 269a535ca931 ("modpost: generate vmlinux.symvers and reuse it for the second modpost")
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions