]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
kbuild: rpm-pkg: fix build error when CONFIG_MODULES is disabled
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 30 Sep 2017 01:10:07 +0000 (10:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 14 Nov 2017 14:18:53 +0000 (23:18 +0900)
commit0b7f12f5912de636a9c1671ee343f31f21c42b2f
tree12131f4400c81b991961df72bd8b60b1cfffb5d7
parent8c5d4b648b46b3f5b721b9aff021c9f639d42c35
kbuild: rpm-pkg: fix build error when CONFIG_MODULES is disabled

When CONFIG_MODULES is disabled, make rpm-pkg / binrpm-pkg fails
with the following message:

  The present kernel configuration has modules disabled.
  Type 'make config' and enable loadable module support.
  Then build a kernel with module support enabled.

Do not install modules in the case.  Also, omit the devel package.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkspec