kbuild: fix single target builds for external modules
PATCH 1/1 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 <[email protected]>
Signed-off-by Masahiro Yamada <[email protected]>
---
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -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))
Signature · 1 line
2.25.1