From f3a01cb0870b14776eda509bf3d592f9a8d349a7 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 31 Dec 2011 11:42:49 +0100 Subject: Add x86_64 variants to BR2_GCC_TARGET_ARCH 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 --- target/Config.in.arch | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target') diff --git a/target/Config.in.arch b/target/Config.in.arch index 417441d21..73cecaf49 100644 --- a/target/Config.in.arch +++ b/target/Config.in.arch @@ -678,6 +678,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 -- cgit v1.2.3 From b5bebeaebd873af7ca6899ab2b9088d33a429b19 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 31 Dec 2011 11:43:53 +0100 Subject: Add the Atom processor in the list of supported x86/x86_64 processors This allows to easily select the corresponding Atom multilib variant in the Sourcery CodeBench toolchain. Signed-off-by: Thomas Petazzoni --- target/Config.in.arch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target') diff --git a/target/Config.in.arch b/target/Config.in.arch index 73cecaf49..25c6e5008 100644 --- a/target/Config.in.arch +++ b/target/Config.in.arch @@ -266,6 +266,9 @@ config BR2_x86_nocona bool "nocona" config BR2_x86_core2 bool "core2" +config BR2_x86_atom + bool "atom" +comment "atom needs gcc >= 4.5.x" config BR2_x86_k6 bool "k6" config BR2_x86_k6_2 @@ -311,6 +314,9 @@ config BR2_x86_64_nocona bool "nocona" config BR2_x86_64_core2 bool "core2" +config BR2_x86_64_atom + bool "atom" +comment "atom needs gcc >= 4.5.x" endchoice choice @@ -500,6 +506,7 @@ config BR2_ARCH default "i686" if BR2_x86_pentiumpro default "i686" if BR2_x86_nocona default "i686" if BR2_x86_core2 + default "i686" if BR2_x86_atom default "i686" if BR2_x86_opteron default "i686" if BR2_x86_opteron_sse3 default "i686" if BR2_x86_barcelona @@ -525,6 +532,7 @@ config BR2_ARCH default "x86_64" if BR2_x86_64_generic default "x86_64" if BR2_x86_64_nocona default "x86_64" if BR2_x86_64_core2 + default "x86_64" if BR2_x86_64_atom default "x86_64" if BR2_x86_64_opteron default "x86_64" if BR2_x86_64_opteron_sse3 default "x86_64" if BR2_x86_64_barcelona @@ -554,6 +562,7 @@ config BR2_GCC_TARGET_TUNE default prescott if BR2_x86_prescott default nocona if BR2_x86_nocona default core2 if BR2_x86_core2 + default atom if BR2_x86_atom default k8 if BR2_x86_opteron default k8-sse3 if BR2_x86_opteron_sse3 default barcelona if BR2_x86_barcelona @@ -569,6 +578,7 @@ config BR2_GCC_TARGET_TUNE default generic if BR2_x86_64_generic default nocona if BR2_x86_64_nocona default core2 if BR2_x86_64_core2 + default atom if BR2_x86_64_atom default k8 if BR2_x86_64_opteron default k8-sse3 if BR2_x86_64_opteron_sse3 default barcelona if BR2_x86_64_barcelona @@ -669,6 +679,7 @@ config BR2_GCC_TARGET_ARCH default prescott if BR2_x86_prescott default nocona if BR2_x86_nocona default core2 if BR2_x86_core2 + default atom if BR2_x86_atom default k8 if BR2_x86_opteron default k8-sse3 if BR2_x86_opteron_sse3 default barcelona if BR2_x86_barcelona @@ -680,6 +691,7 @@ config BR2_GCC_TARGET_ARCH default winchip2 if BR2_x86_winchip2 default nocona if BR2_x86_64_nocona default core2 if BR2_x86_64_core2 + default atom if BR2_x86_64_atom default k8 if BR2_x86_64_opteron default k8-sse3 if BR2_x86_64_opteron_sse3 default barcelona if BR2_x86_64_barcelona -- cgit v1.2.3