diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-22 13:43:24 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-22 13:43:24 +0000 |
commit | 9079032833587afd679cca8df8c61ad22bb00aff (patch) | |
tree | 832dd1162e378dfaf47cd45fcf73e0da8775f964 /include/kernel.mk | |
parent | 24a372b6ec2903d2714560196971c1f4582eb85e (diff) | |
download | mtk-20170518-9079032833587afd679cca8df8c61ad22bb00aff.zip mtk-20170518-9079032833587afd679cca8df8c61ad22bb00aff.tar.gz mtk-20170518-9079032833587afd679cca8df8c61ad22bb00aff.tar.bz2 |
include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot
SVN-Revision: 34299
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 6f5d3ae..4d3795e 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)) |