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 5e447562143394b1c6a32b88b923fe63ca5ebb9b..1f6f6700e48932abe5fca37341c0235b543db0d8 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))