* [PATCH] ARM: OMAP: armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works
@ 2008-06-13 14:45 Koen Kooi
2008-06-16 13:25 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2008-06-13 14:45 UTC (permalink / raw)
To: linux-omap; +Cc: Koen Kooi
armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works, "armv7a" is a CSL-ism. CSL compilers accept both variants.
Tested with: gcc 4.2.4, 4.3.0, 4.3.1 and csl 2007q3, 2008q1
Signed-off-by: Koen Kooi <koen@openembedded.org>
---
arch/arm/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 40a0b44..a3befbd 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -47,7 +47,7 @@ comma = ,
# Note that GCC does not numerically define an architecture version
# macro, but instead defines a whole series of macros which makes
# testing for a specific architecture or later rather impossible.
-arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7a,-march=armv5t -Wa$(comma)-march=armv7a)
+arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a)
arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6)
# Only override the compiler option if ARMv6. The ARMv6K extensions are
# always available in ARMv7
--
1.5.4.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: OMAP: armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works
2008-06-13 14:45 [PATCH] ARM: OMAP: armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works Koen Kooi
@ 2008-06-16 13:25 ` Tony Lindgren
2008-06-16 13:50 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2008-06-16 13:25 UTC (permalink / raw)
To: Koen Kooi; +Cc: linux-omap
* Koen Kooi <koen@openembedded.org> [080613 17:48]:
> armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works, "armv7a" is a CSL-ism. CSL compilers accept both variants.
>
> Tested with: gcc 4.2.4, 4.3.0, 4.3.1 and csl 2007q3, 2008q1
Can you please post this to linux-arm-kernel@lists.arm.linux.org.uk
mailing list?
Thanks,
Tony
>
> Signed-off-by: Koen Kooi <koen@openembedded.org>
> ---
> arch/arm/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 40a0b44..a3befbd 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -47,7 +47,7 @@ comma = ,
> # Note that GCC does not numerically define an architecture version
> # macro, but instead defines a whole series of macros which makes
> # testing for a specific architecture or later rather impossible.
> -arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7a,-march=armv5t -Wa$(comma)-march=armv7a)
> +arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a)
> arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6)
> # Only override the compiler option if ARMv6. The ARMv6K extensions are
> # always available in ARMv7
> --
> 1.5.4.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: OMAP: armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works
2008-06-16 13:25 ` Tony Lindgren
@ 2008-06-16 13:50 ` Koen Kooi
0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2008-06-16 13:50 UTC (permalink / raw)
To: linux-omap
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 16 jun 2008, om 15:25 heeft Tony Lindgren het volgende geschreven:
> * Koen Kooi <koen@openembedded.org> [080613 17:48]:
>> armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x
>> works, "armv7a" is a CSL-ism. CSL compilers accept both variants.
>>
>> Tested with: gcc 4.2.4, 4.3.0, 4.3.1 and csl 2007q3, 2008q1
>
> Can you please post this to linux-arm-kernel@lists.arm.linux.org.uk
> mailing list?
Done
>
>
> Thanks,
>
> Tony
>
>>
>> Signed-off-by: Koen Kooi <koen@openembedded.org>
>> ---
>> arch/arm/Makefile | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
>> index 40a0b44..a3befbd 100644
>> --- a/arch/arm/Makefile
>> +++ b/arch/arm/Makefile
>> @@ -47,7 +47,7 @@ comma = ,
>> # Note that GCC does not numerically define an architecture version
>> # macro, but instead defines a whole series of macros which makes
>> # testing for a specific architecture or later rather impossible.
>> -arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-
>> option,-march=armv7a,-march=armv5t -Wa$(comma)-march=armv7a)
>> +arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-
>> option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a)
>> arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-
>> march=armv6,-march=armv5t -Wa$(comma)-march=armv6)
>> # Only override the compiler option if ARMv6. The ARMv6K extensions
>> are
>> # always available in ARMv7
>> --
>> 1.5.4.3
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-
>> omap" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFIVm+vMkyGM64RGpERAt1mAJ400FDTLIzjWaWiZv2dWT168gdL9QCdGoBB
u8JiNBxzKHzeOZ6NgkKFRMw=
=iy5d
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-16 15:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 14:45 [PATCH] ARM: OMAP: armv7a Makefile: change -march flag to "armv7-a" so gcc 4.3.x works Koen Kooi
2008-06-16 13:25 ` Tony Lindgren
2008-06-16 13:50 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox