summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-21 22:27:12 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-11-07 00:13:08 +0100
commita5023c5204ad23323d21c1840a4ce7d99b7abf7d (patch)
tree11fd7817537c798c1eccbea916f15ea2d5b7368f
parent6bec1d5191a2f017f1e7aa46286de50ba067b7de (diff)
arch/sparc: get rid of BR2_GCC_TARGET_TUNE
On SPARC, BR2_GCC_TARGET_TUNE was only used for one specific case, the BR2_sparc_v8. There is actually no reason to not use BR2_GCC_TARGET_CPU instead for this, as all values supported for -mtune are also supported for -mcpu. Therefore, the only BR2_GCC_TARGET_TUNE case is moved as a BR2_GCC_TARGET_CPU case. [Peter: fixup merge conflict after 'sparc: Add leon3 cpu type and remove sparc{s,h}fleon{,v8}] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--arch/Config.in.sparc4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/Config.in.sparc b/arch/Config.in.sparc
index cd845b2da..4e502d528 100644
--- a/arch/Config.in.sparc
+++ b/arch/Config.in.sparc
@@ -20,8 +20,6 @@ config BR2_ENDIAN
config BR2_ARCH_HAS_ATOMICS
default y
-config BR2_GCC_TARGET_TUNE
- default "v8" if BR2_sparc_v8
-
config BR2_GCC_TARGET_CPU
default "leon3" if BR2_sparc_leon3
+ default "v8" if BR2_sparc_v8