diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-08-18 12:01:55 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-08-18 12:01:55 +0200 |
commit | 2e53850f2b1da81c0971cb2a94142d75d78b0988 (patch) | |
tree | 514d156316b006ad9e6dd7fee263186deb5fd620 | |
parent | dede3ad80946c862ae8301769b12adfee7ce892d (diff) | |
download | embtoolkit-2e53850f2b1da81c0971cb2a94142d75d78b0988.tar.gz embtoolkit-2e53850f2b1da81c0971cb2a94142d75d78b0988.tar.bz2 embtoolkit-2e53850f2b1da81c0971cb2a94142d75d78b0988.tar.xz |
Toolchain: arm: check if multilib is selected or not
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r-- | mk/arm-arch.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/arm-arch.mk b/mk/arm-arch.mk index 534b6e0..e10af9b 100644 --- a/mk/arm-arch.mk +++ b/mk/arm-arch.mk @@ -25,6 +25,7 @@ ifeq ($(CONFIG_EMBTK_ARCH_ARM),y) LINUX_ARCH := arm GNU_TARGET_ARCH := arm +EMBTK_MCU_FLAG := $(subst ",,$(strip $(CONFIG_EMBTK_ARM_MCU_STRING))) ifeq ($(CONFIG_EMBTK_ARCH_ARM_BIG_ENDIAN),y) GNU_TARGET := armeb-linux @@ -36,7 +37,11 @@ endif #GCC configure options GCC_WITH_CPU := --with-cpu=$(subst ",,$(strip $(CONFIG_EMBTK_ARM_MCU_STRING))) -EMBTK_MCU_FLAG := $(subst ",,$(strip $(CONFIG_EMBTK_ARM_MCU_STRING))) +ifeq ($(CONFIG_EMBTK_TOOLCHAIN_MULTILIB),) +GCC_MULTILIB := --disable-multilib +else +GCC_MULTILIB := +endif #GCC extra configure options for arm ifeq ($(CONFIG_EMBTK_GCC_LANGUAGE_JAVA),y) |