[PATCH] arm: add buildsys support for arm926ej-s
Carmelo AMOROSO
carmelo.amoroso at st.com
Tue Jan 4 11:22:41 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/4/2011 12:12 PM, Abdoulaye Walsimou GAYE wrote:
> 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,
>
Hi,
> 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.
this is true, but in case you don't have a properly/optimal configured
gcc, why not taking advantages of this settings (if correct) ?
Anyway I'm open to reconsider this approach.
> So I think the right patch is to remove all these compiler switches in
> uClibc build system.
>
Khem, what about ?
> Best regards,
> AWG
>
Thanks,
Carmelo
___
____________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0jAwEACgkQoRq/3BrK1s8NgwCgpMhW96kbZ2/EgxHVbN3vzPig
54gAn2iW+4sQK3Yt165V8Img9xvMYLPh
=2zFv
-----END PGP SIGNATURE-----
More information about the uClibc
mailing list