add eabi suffix to the target name
authorFelix Fietkau <nbd@openwrt.org>
Sat, 17 Jan 2009 19:15:09 +0000 (19:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 17 Jan 2009 19:15:09 +0000 (19:15 +0000)
SVN-Revision: 14071

rules.mk

index 5e44756..1f6f670 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -34,7 +34,7 @@ _SINGLE=export MAKEFLAGS=$(space);
 ARCH:=$(call qstrip,$(shell echo $(CONFIG_ARCH) | sed -e 's/i[3-9]86/i386/'))
 BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD))
 TARGET_OPTIMIZATION:=$(call qstrip,$(CONFIG_TARGET_OPTIMIZATION))
-TARGET_SUFFIX=$(call qstrip,$(CONFIG_TARGET_SUFFIX))
+TARGET_SUFFIX=$(call qstrip,$(CONFIG_TARGET_SUFFIX))$(if $(CONFIG_EABI_SUPPORT),gnueabi)
 BUILD_SUFFIX:=$(call qstrip,$(CONFIG_BUILD_SUFFIX))
 GCCV:=$(call qstrip,$(CONFIG_GCC_VERSION))
 LIBC:=$(call qstrip,$(CONFIG_LIBC))