diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-06 02:25:31 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-06 02:25:31 -0400 |
commit | aa360879ed38fbe88057cc43f720881ab9e6a63a (patch) | |
tree | 9607ad4018d12520f38bc3dcab132e8c3260966f | |
parent | ea88df9bf895720289331e41ed73cdcb04059900 (diff) |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1284,7 +1284,7 @@ kernelversion: | |||
1284 | # build-dir => directory in kernel source tree to use | 1284 | # build-dir => directory in kernel source tree to use |
1285 | 1285 | ||
1286 | ifeq ($(KBUILD_EXTMOD),) | 1286 | ifeq ($(KBUILD_EXTMOD),) |
1287 | build-dir = $(dir $@) | 1287 | build-dir = $(patsubst %/,%,$(dir $@)) |
1288 | target-dir = $(dir $@) | 1288 | target-dir = $(dir $@) |
1289 | else | 1289 | else |
1290 | zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@))) | 1290 | zap-slash=$(filter-out .,$(patsubst %/,%,$(dir $@))) |