summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-27 18:27:48 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-27 18:27:48 +0000
commitdd0ff5dcad22cc5d01ceaa5fd662ef47f03b23ad (patch)
tree8ff8f10ae903222197360a809449ab6f84661e30
parentdc58b1f48486ae3f262270067f4d35f4a834090b (diff)
use distinct build/staging dirs for EABI/OABI builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19885 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index ee439860f8..942c7b416f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -57,7 +57,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
LIBCV:=$(call qstrip,$(CONFIG_LIBC_VERSION))
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux
- DIR_SUFFIX:=_$(LIBC)-$(LIBCV)
+ DIR_SUFFIX:=_$(LIBC)-$(LIBCV)$(if $(CONFIG_EABI_SUPPORT),_eabi)
BUILD_DIR:=$(BUILD_DIR_BASE)/target-$(ARCH)$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
STAGING_DIR:=$(TOPDIR)/staging_dir/target-$(ARCH)$(DIR_SUFFIX)
BUILD_DIR_TOOLCHAIN:=$(BUILD_DIR_BASE)/toolchain-$(ARCH)_gcc-$(GCCV)$(DIR_SUFFIX)