[PATCH] arm: add buildsys support for arm926ej-s
Abdoulaye Walsimou GAYE
awg at embtoolkit.org
Tue Jan 4 11:12:53 UTC 2011
On 01/04/2011 12:03 PM, Carmelo AMOROSO wrote:
> ARM926EJ-S belongs to the ARM9 processor family.
> It implements the ARMv5TEJ instruction set
> (v5TE architecture with Jazelle technology)
>
> Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
> ---
> Rules.mak | 1 +
> extra/Configs/Config.arm | 4 ++++
> 2 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/Rules.mak b/Rules.mak
> index eecdc64..e99ad26 100644
> --- a/Rules.mak
> +++ b/Rules.mak
> @@ -341,6 +341,7 @@ ifeq ($(TARGET_ARCH),arm)
> CPU_CFLAGS-$(CONFIG_ARM922T)+=-mtune=arm9tdmi -march=armv4t
> CPU_CFLAGS-$(CONFIG_ARM926T)+=-mtune=arm9e -march=armv5te
> CPU_CFLAGS-$(CONFIG_ARM10T)+=-mtune=arm10tdmi -march=armv5t
> + CPU_CFLAGS-$(CONFIG_ARM926EJ_S) += -mtune=arm926ej-s -march=armv5te
> CPU_CFLAGS-$(CONFIG_ARM1136JF_S)+=-mtune=arm1136jf-s -march=armv6
> CPU_CFLAGS-$(CONFIG_ARM1176JZ_S)+=-mtune=arm1176jz-s -march=armv6
> CPU_CFLAGS-$(CONFIG_ARM1176JZF_S)+=-mtune=arm1176jzf-s -march=armv6
>
Hello Carmelo AMOROSO,
I don't think it is the responsibility of C library to set such compiler
switches at all.
If the gcc is configured correctly, it will set all these switches
correctly as well.
So I think the right patch is to remove all these compiler switches in
uClibc build system.
Best regards,
AWG
More information about the uClibc
mailing list