linux_dsm_epyc7002/scripts/package
Masahiro Yamada bac977cbc0 kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n
Since commit 269a535ca9 ("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: 269a535ca9 ("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>
2020-10-14 12:49:34 +09:00
..
builddeb kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n 2020-10-14 12:49:34 +09:00
buildtar kbuild: buildtar: add dtbs support 2020-07-07 11:13:11 +09:00
mkdebian kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n 2020-10-14 12:49:34 +09:00
mkspec kbuild: Replace HTTP links with HTTPS ones 2020-08-10 01:32:59 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00