提交 3753af77 编写于 作者: M Masahiro Yamada

kbuild: fix single directory build

Commit f110e5a2 ("kbuild: refactor single builds of *.ko") was wrong.

KBUILD_MODULES _is_ needed for single builds.

Otherwise, "make foo/bar/baz/" does not build module objects at all.

Fixes: f110e5a2 ("kbuild: refactor single builds of *.ko")
Reported-by: NDavid Sterba <dsterba@suse.cz>
Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
Tested-by: NDavid Sterba <dsterba@suse.com>
上级 c67a85be
......@@ -1978,6 +1978,8 @@ endif
single-goals := $(addprefix $(build-dir)/, $(single-no-ko))
KBUILD_MODULES := 1
endif
# Preset locale variables to speed up the build process. Limit locale
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册