mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
kbuild: fix make dir/
kbuild added an extra '/' after the directory - resulting in all files being rebuild in a subdirectory. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
ea88df9bf8
commit
aa360879ed
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1284,7 +1284,7 @@ kernelversion:
|
|||
# build-dir => directory in kernel source tree to use
|
||||
|
||||
ifeq ($(KBUILD_EXTMOD),)
|
||||
build-dir = $(dir $@)
|
||||
build-dir = $(patsubst %/,%,$(dir $@))
|
||||
target-dir = $(dir $@)
|
||||
else
|
||||
zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@)))
|
||||
|
|
Loading…
Reference in a new issue