diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-02 15:26:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-02 15:26:24 +0000 |
commit | 720ccbd95de4208bea19a73c48e57079804bf98e (patch) | |
tree | b62fef9c4473b1a1889a5072eb982084b1f04cb5 /include/kernel.mk | |
parent | 38d3b8d0ea320dc58e636c103ce055eb367df5b4 (diff) | |
download | upstream-720ccbd95de4208bea19a73c48e57079804bf98e.tar.gz upstream-720ccbd95de4208bea19a73c48e57079804bf98e.tar.bz2 upstream-720ccbd95de4208bea19a73c48e57079804bf98e.zip |
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
SVN-Revision: 34450
Diffstat (limited to 'include/kernel.mk')
-rw-r--r-- | include/kernel.mk | 2 |
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)) |