]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Wed, 7 Apr 2021 13:12:26 +0000 (22:12 +0900)
commitc963f5bfc53e6293fff62d2d69ced4e0885ec901
tree75fe5a244ec886fffb524f1a0739ab4441f468f5
parent2361c6287090b9f5fa9c071e3468d884631619b2
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