[Buildroot] [PATCH 01/14] Add x86_64 variants to BR2_GCC_TARGET_ARCH

Arnout Vandecappelle arnout at mind.be
Mon Jan 16 08:40:33 UTC 2012


On Tuesday 03 January 2012 21:22:42 Thomas Petazzoni wrote:
> With the Sourcery CodeBench IA32/AMD64 toolchain, the proper -march=
> switch must be passed. So, on x86_64, we make sure that
> BR2_GCC_TARGET_ARCH gets defined to the correct value, just as we do
> on x86.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

 This one will be useful for me even for buildroot-built toolchains...

 Regards,
 Arnout

> ---
>  target/Config.in.arch |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/target/Config.in.arch b/target/Config.in.arch
> index 5e9fad4..7faa010 100644
> --- a/target/Config.in.arch
> +++ b/target/Config.in.arch
> @@ -659,6 +659,11 @@ config BR2_GCC_TARGET_ARCH
>  	default athlon-4	if BR2_x86_athlon_4
>  	default winchip-c6	if BR2_x86_winchip_c6
>  	default winchip2	if BR2_x86_winchip2
> +	default nocona		if BR2_x86_64_nocona
> +	default core2		if BR2_x86_64_core2
> +	default k8		if BR2_x86_64_opteron
> +	default k8-sse3		if BR2_x86_64_opteron_sse3
> +	default barcelona	if BR2_x86_64_barcelona
>  	default c3		if BR2_x86_c3
>  	default c3-2		if BR2_x86_c32
>  	default geode		if BR2_x86_geode
> 

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F


More information about the buildroot mailing list