aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-22 13:43:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-22 13:43:24 +0000
commitb3983573d6e8036013ba8d264ea7ff3c6f04bd3d (patch)
tree22fe733e5a7e9f2c93b91d7d965eb5542147aa6f /include
parent971a80da10d8b809ddc5bbf0f38b5e6db5802567 (diff)
downloadupstream-b3983573d6e8036013ba8d264ea7ff3c6f04bd3d.tar.gz
upstream-b3983573d6e8036013ba8d264ea7ff3c6f04bd3d.tar.bz2
upstream-b3983573d6e8036013ba8d264ea7ff3c6f04bd3d.zip
include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34299 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 6f5d3ae386..4d3795ed5a 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))$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
+ KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)
LINUX_VERMAGIC:=$(strip $(shell cat $(LINUX_DIR)/.vermagic 2>/dev/null))