]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - Makefile
kbuild: unify modules(_install) for in-tree and external modules
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 31 Mar 2021 13:38:03 +0000 (22:38 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:21:58 +0000 (05:21 +0900)
commit3e3005df73b535cb849cf4ec8075d6aa3c460f68
tree75fe5a244ec886fffb524f1a0739ab4441f468f5
parent4b97ec0e9cfd5995f41b9726c88566a31f4625cc
kbuild: unify modules(_install) for in-tree and external modules

If you attempt to build or install modules ('make modules(_install)'
with CONFIG_MODULES disabled, you will get a clear error message, but
nothing for external module builds.

Factor out the modules and modules_install rules into the common part,
so you will get the same error message when you try to build external
modules with CONFIG_MODULES=n.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile