diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-07-08 01:35:08 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-07-11 23:56:21 +0900 |
commit | 20b1be59528295e5c2a8812059b8560753dd8e68 (patch) | |
tree | 2a6856e126e356b6d10e1421425a2e35102155a5 /Makefile | |
parent | 736bb11898ef748da1d805f40d485b66ceac9a3c (diff) | |
download | linux-stable-20b1be59528295e5c2a8812059b8560753dd8e68.tar.gz linux-stable-20b1be59528295e5c2a8812059b8560753dd8e68.tar.bz2 linux-stable-20b1be59528295e5c2a8812059b8560753dd8e68.zip |
kbuild: fix single target builds for external modules
Commit f566e1fbadb6 ("kbuild: make multiple directory targets work")
broke single target builds for external modules. Fix this.
Fixes: f566e1fbadb6 ("kbuild: make multiple directory targets work")
Reported-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1754,7 +1754,7 @@ PHONY += descend $(build-dirs) descend: $(build-dirs) $(build-dirs): prepare $(Q)$(MAKE) $(build)=$@ \ - single-build=$(if $(filter-out $@/, $(filter $@/%, $(single-no-ko))),1) \ + single-build=$(if $(filter-out $@/, $(filter $@/%, $(KBUILD_SINGLE_TARGETS))),1) \ need-builtin=1 need-modorder=1 clean-dirs := $(addprefix _clean_, $(clean-dirs)) |