提交 20b1be59 编写于 作者: M Masahiro Yamada

kbuild: fix single target builds for external modules

Commit f566e1fb ("kbuild: make multiple directory targets work")
broke single target builds for external modules. Fix this.

Fixes: f566e1fb ("kbuild: make multiple directory targets work")
Reported-by: NBjørn Mork <bjorn@mork.no>
Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
Tested-by: NBjørn Mork <bjorn@mork.no>
上级 736bb118
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册