arch/sparc: get rid of BR2_GCC_TARGET_TUNE
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Oct 2014 20:27:12 +0000 (22:27 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 6 Nov 2014 23:13:08 +0000 (00:13 +0100)
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>
arch/Config.in.sparc

index cd845b2da3fe790b2bad22a4645eab1cadc4a073..4e502d528843497513581538e9bad82e2bc94f0e 100644 (file)
@@ -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