aboutsummaryrefslogtreecommitdiffstats
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
commit9899fbb148528eddfa1376a268be73524fec57dc (patch)
tree00a99258a7c2d447bd328702730c352d51691a0d
parentc0f8b43b177135b62c9107e4366ba5086e055403 (diff)
downloadupstream-9899fbb148528eddfa1376a268be73524fec57dc.tar.gz
upstream-9899fbb148528eddfa1376a268be73524fec57dc.tar.bz2
upstream-9899fbb148528eddfa1376a268be73524fec57dc.zip
use distinct build/staging dirs for EABI/OABI builds
SVN-Revision: 19885
-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)