aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-22 13:43:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-22 13:43:30 +0000
commitc596ba2220028d9a187fc9d22e4380aea75e1d68 (patch)
tree6d97fb1ea9a12391f8831481473d5312670aa529
parentb3983573d6e8036013ba8d264ea7ff3c6f04bd3d (diff)
downloadupstream-c596ba2220028d9a187fc9d22e4380aea75e1d68.tar.gz
upstream-c596ba2220028d9a187fc9d22e4380aea75e1d68.tar.bz2
upstream-c596ba2220028d9a187fc9d22e4380aea75e1d68.zip
rules.mk: append libc implementation to bin directory name if not using uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34300 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 34c86ca49c..cbe604bae6 100644
--- a/rules.mk
+++ b/rules.mk
@@ -81,6 +81,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
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)$(if $(CONFIG_arm),_eabi)
+ BIN_DIR:=$(BIN_DIR)$(if $(CONFIG_UCLIBC),,-$(LIBC))
BUILD_DIR:=$(BUILD_DIR_BASE)/target-$(ARCH)$(ARCH_SUFFIX)$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
STAGING_DIR:=$(TOPDIR)/staging_dir/target-$(ARCH)$(ARCH_SUFFIX)$(DIR_SUFFIX)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
BUILD_DIR_TOOLCHAIN:=$(BUILD_DIR_BASE)/toolchain-$(ARCH)$(ARCH_SUFFIX)_gcc-$(GCCV)$(DIR_SUFFIX)