Skip to content
Commit 6212804f authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: do not create built-in objects for external module builds



'make M=/path/to/your/external/module' creates a pointless built-in.a
in the top of the external module directory because KBUILD_BUILTIN is
set to 1.

Clear KBUILD_BUILTIN when we are building external modules so that
'make M=...' and 'make M=... modules' work equivalently.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 596b0474
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment