aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-02 15:26:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-02 15:26:24 +0000
commit1c7f02bbb9755e09b36a4468a9d96bbcca2ea478 (patch)
treee4294177c279a25b0f3e6f040bef270d5966d1ea /include
parent7f4fd427f8fe846b9f7ec770f2524f96e5d10e46 (diff)
downloadupstream-1c7f02bbb9755e09b36a4468a9d96bbcca2ea478.tar.gz
upstream-1c7f02bbb9755e09b36a4468a9d96bbcca2ea478.tar.bz2
upstream-1c7f02bbb9755e09b36a4468a9d96bbcca2ea478.zip
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34450 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 4d3795ed5a..589db024db 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -33,7 +33,7 @@ else
PATCH_DIR ?= ./patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER))
FILES_DIR ?= $(foreach dir,$(wildcard ./files ./files-$(KERNEL_PATCHVER)),"$(dir)")
endif
- KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
+ KERNEL_BUILD_DIR ?= $(BUILD_DIR)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))
LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)
LINUX_VERMAGIC:=$(strip $(shell cat $(LINUX_DIR)/.vermagic 2>/dev/null))