From 9474421da36d8602f56b84b150e4cf4c78e788b3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 4 Apr 2013 07:29:45 +0000 Subject: toolchain/arm: drop generic and old, add fa526/626, unify strongarm * Add Faraday FA526/626 as suggested on bug #1291 Note however that these cores are v4 and NOT v4t. * Make the sa110 & sa1110 cores -> strongarm since they're the same. * Drop all of the ARM variants lower than v4 including generic, there's no point in supporting obsolete targets. * Fix uClibc USE_BX logic, it was always on, this would break the new FA526/626 support and broke StrongARM since it's a v4 core. Signed-off-by: Gustavo Zacarias Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- toolchain/uClibc/Config.in | 7 ++----- toolchain/uClibc/uClibc-0.9.31.config | 2 +- toolchain/uClibc/uclibc.mk | 3 +++ 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'toolchain/uClibc') diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in index 57c993349..b53bb2450 100644 --- a/toolchain/uClibc/Config.in +++ b/toolchain/uClibc/Config.in @@ -81,9 +81,7 @@ config BR2_UCLIBC_INSTALL_TEST_SUITE config BR2_UCLIBC_ARM_TYPE string depends on BR2_arm || BR2_armeb - default GENERIC_ARM if BR2_generic_arm - default ARM610 if BR2_arm610 - default ARM710 if BR2_arm710 + default GENERIC_ARM if BR2_fa526 default ARM7TDMI if BR2_arm7tdmi default ARM720T if BR2_arm720t default ARM920T if BR2_arm920t @@ -93,8 +91,7 @@ config BR2_UCLIBC_ARM_TYPE default ARM1136JF_S if BR2_arm1136jf_s default ARM1176JZ_S if BR2_arm1176jz_s default ARM1176JZF_S if BR2_arm1176jzf_s - default ARM_SA110 if BR2_sa110 - default ARM_SA1100 if BR2_sa1100 + default ARM_SA1100 if BR2_strongarm default ARM_XSCALE if BR2_xscale default ARM_IWMMXT if BR2_iwmmxt default ARM_CORTEXA8 if BR2_cortex_a8 diff --git a/toolchain/uClibc/uClibc-0.9.31.config b/toolchain/uClibc/uClibc-0.9.31.config index 2f363db08..e990178df 100644 --- a/toolchain/uClibc/uClibc-0.9.31.config +++ b/toolchain/uClibc/uClibc-0.9.31.config @@ -238,7 +238,7 @@ WARNINGS="-Wall" # DOMULTI is not set # UCLIBC_MJN3_ONLY is not set -# USE_BX is not set +USE_BX=y # CONFIG_GENERIC_ARM is not set # CONFIG_ARM610 is not set # CONFIG_ARM710 is not set diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index e8b2bb494..113dc79e5 100644 --- a/toolchain/uClibc/uclibc.mk +++ b/toolchain/uClibc/uclibc.mk @@ -130,6 +130,9 @@ ifeq ($(BR2_ARM_OABI),y) /bin/echo "CONFIG_ARM_OABI=y" >> $(UCLIBC_DIR)/.oldconfig /bin/echo "# CONFIG_ARM_EABI is not set" >> $(UCLIBC_DIR)/.oldconfig endif +ifeq ($(BR2_fa526)$(BR2_strongarm),y) + $(SED) 's,USE_BX=y,# USE_BX is not set,' $(UCLIBC_DIR)/.oldconfig +endif endif ifeq ($(UCLIBC_TARGET_ARCH),mips) $(SED) '/CONFIG_MIPS_[NO].._ABI/d' $(UCLIBC_DIR)/.oldconfig -- cgit v1.2.3