summaryrefslogtreecommitdiff
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
commit9899fbb148528eddfa1376a268be73524fec57dc (patch)
tree00a99258a7c2d447bd328702730c352d51691a0d /rules.mk
parentc0f8b43b177135b62c9107e4366ba5086e055403 (diff)
downloadmtk-20170518-9899fbb148528eddfa1376a268be73524fec57dc.zip
mtk-20170518-9899fbb148528eddfa1376a268be73524fec57dc.tar.gz
mtk-20170518-9899fbb148528eddfa1376a268be73524fec57dc.tar.bz2
use distinct build/staging dirs for EABI/OABI builds
SVN-Revision: 19885
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 ee43986..942c7b4 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)