Skip to content
Commit 3e3005df authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 4b97ec0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment