aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-21 22:27:12 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-11-07 00:13:08 +0100
commita5023c5204ad23323d21c1840a4ce7d99b7abf7d (patch)
tree11fd7817537c798c1eccbea916f15ea2d5b7368f /arch
parent6bec1d5191a2f017f1e7aa46286de50ba067b7de (diff)
downloadbuildroot-a5023c5204ad23323d21c1840a4ce7d99b7abf7d.tar.gz
buildroot-a5023c5204ad23323d21c1840a4ce7d99b7abf7d.tar.bz2
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>
Diffstat (limited to 'arch')
-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 cd845b2da3..4e502d5288 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