提交 aa360879 编写于 作者: S Sam Ravnborg

kbuild: fix make dir/

kbuild added an extra '/' after the directory - resulting in all
files being rebuild in a subdirectory.
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 ea88df9b
...@@ -1284,7 +1284,7 @@ kernelversion: ...@@ -1284,7 +1284,7 @@ kernelversion:
# build-dir => directory in kernel source tree to use # build-dir => directory in kernel source tree to use
ifeq ($(KBUILD_EXTMOD),) ifeq ($(KBUILD_EXTMOD),)
build-dir = $(dir $@) build-dir = $(patsubst %/,%,$(dir $@))
target-dir = $(dir $@) target-dir = $(dir $@)
else else
zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@))) zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册