include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* direc...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 22 Nov 2012 13:43:24 +0000 (13:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 22 Nov 2012 13:43:24 +0000 (13:43 +0000)
SVN-Revision: 34299

include/kernel.mk

index 6f5d3ae38675e826ad3c8a98bd89bd093e0e2b5b..4d3795ed5aaf60092a26cbd4f9b7d43deaf7c5b4 100644 (file)
@@ -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))