commit | 6212804f2d78e86f15dba5b46a4065cbf1403cde | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Wed Sep 09 05:55:57 2020 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Fri Sep 25 00:36:49 2020 +0900 |
tree | 7ebd46f8e150824102e18c7a6d7e7722b4ae229e | |
parent | 596b0474d3d9b1242eab713f84d8873f9887d980 [diff] |
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: Masahiro Yamada <masahiroy@kernel.org>