Skip to content

Commit 20b1be5

Browse files
committed
kbuild: fix single target builds for external modules
Commit f566e1f ("kbuild: make multiple directory targets work") broke single target builds for external modules. Fix this. Fixes: f566e1f ("kbuild: make multiple directory targets work") Reported-by: Bjørn Mork <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Tested-by: Bjørn Mork <[email protected]>
1 parent 736bb11 commit 20b1be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ PHONY += descend $(build-dirs)
17541754
descend: $(build-dirs)
17551755
$(build-dirs): prepare
17561756
$(Q)$(MAKE) $(build)=$@ \
1757-
single-build=$(if $(filter-out $@/, $(filter $@/%, $(single-no-ko))),1) \
1757+
single-build=$(if $(filter-out $@/, $(filter $@/%, $(KBUILD_SINGLE_TARGETS))),1) \
17581758
need-builtin=1 need-modorder=1
17591759

17601760
clean-dirs := $(addprefix _clean_, $(clean-dirs))

0 commit comments

Comments
 (0)