Commit a5023c52 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 6bec1d51
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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