use distinct build/staging dirs for EABI/OABI builds
authorNicolas Thill <nico@openwrt.org>
Sat, 27 Feb 2010 18:27:48 +0000 (18:27 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 27 Feb 2010 18:27:48 +0000 (18:27 +0000)
SVN-Revision: 19885

rules.mk

index ee439860f881db3e4b11293ce1f05860860aca12..942c7b416f66aead39ed372681360783f3e61dcd 100644 (file)
--- 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)