aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-02-27 18:27:48 +0000
committerNicolas Thill <nico@openwrt.org>2010-02-27 18:27:48 +0000
commit4b1f79e48a8f66cee668663bc565b27caa68b876 (patch)
tree8ff8f10ae903222197360a809449ab6f84661e30 /rules.mk
parent8e7faa08ae87a79bda24e0690f76cd50d53739cb (diff)
downloadupstream-4b1f79e48a8f66cee668663bc565b27caa68b876.tar.gz
upstream-4b1f79e48a8f66cee668663bc565b27caa68b876.tar.bz2
upstream-4b1f79e48a8f66cee668663bc565b27caa68b876.zip
use distinct build/staging dirs for EABI/OABI builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19885 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-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)