diff options
-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 $@))) |