summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-04-06 08:25:31 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2006-04-06 08:25:31 +0200
commitaa360879ed38fbe88057cc43f720881ab9e6a63a (patch)
tree9607ad4018d12520f38bc3dcab132e8c3260966f /Makefile
parentea88df9bf895720289331e41ed73cdcb04059900 (diff)
downloadtalos-op-linux-aa360879ed38fbe88057cc43f720881ab9e6a63a.tar.gz
talos-op-linux-aa360879ed38fbe88057cc43f720881ab9e6a63a.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 131950c02919..c380f5891f4f 100644
--- a/Makefile
+++ b/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 $@)))
OpenPOWER on IntegriCloud