"Carmelo AMOROSO" <[email protected]> wrote: >On 2/2/2011 2:49 AM, Nitin Garg wrote: >> Here is a patch to add Cortex-A9 to the list of supported processors >> by uClibc. Pls add it to the repository (signed-off patch is >> attached). >> >> Regards, >> Nitin Garg >> >> uClibc/Rules.mak | 1 + >> uClibc/extra/Configs/Config.arm | 4 ++++ >> 2 files changed, 5 insertions(+), 0 deletions(-) >> >> diff --git a/uClibc/Rules.mak b/uClibc/Rules.mak >> index 8165cca..8bec730 100644 >> --- a/uClibc/Rules.mak >> +++ b/uClibc/Rules.mak >> @@ -351,6 +351,7 @@ ifeq ($(TARGET_ARCH),arm) >> CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt >> -Wa,-mcpu=iwmmxt -mabi=iwmmxt >> CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3 -mthumb >> CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1 -mthumb >> + CPU_CFLAGS-$(CONFIG_ARM_CORTEX_A9)+=-mtune=cortex-a9 -march=armv7-a >> endif >> >> ifeq ($(TARGET_ARCH),mips) >> diff --git a/uClibc/extra/Configs/Config.arm >b/uClibc/extra/Configs/Config.arm >> index b060ace..c0b79c1 100644 >> --- a/uClibc/extra/Configs/Config.arm >> +++ b/uClibc/extra/Configs/Config.arm >> @@ -114,6 +114,10 @@ config CONFIG_ARM_CORTEX_M1 >> select ARCH_HAS_NO_MMU >> select USE_BX >> >> +config CONFIG_ARM_CORTEX_A9 >> + bool "Arm Cortex-A9" >> + select ARCH_HAS_MMU >> + >> config CONFIG_ARM_SA110 >> bool "Intel StrongArm SA-110" >> select ARCH_HAS_MMU >> > >Nitin, >we agreed to remove all the tuning option from uClibc buildsys relying >upon a properly configured toolchain. There is a patchset from Yann >already reviewed and approved (to be included after .32 release). >Please check the list for details. > >Cheers, >Carmelo >_______________________________________________ >uClibc mailing list >[email protected] >http://lists.busybox.net/mailman/listinfo/uclibc
Hi, Configure your toolchain --with-tune or use UCLIBC_EXTRA_CFLAGS if your toolchain was built for a different default tune (or just edit the spec to tune for your cpu per default). HTH, _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
