summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-10-28 14:21:09 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-10-30 18:44:12 +0100
commitf60dafe06833a17540608d1c8172d6535c513f1e (patch)
treeb9808d9f7eb881bb67ee05993fba554786c866f6 /arch
parentca5639f8d00aae6427054dee1f0433583ad3041d (diff)
downloadbuildroot-f60dafe06833a17540608d1c8172d6535c513f1e.tar.gz
buildroot-f60dafe06833a17540608d1c8172d6535c513f1e.zip
arch/mips: Set BR2_GCC_TARGET_ARCH for MIPS
Set --with-arch instead of --with-tune for MIPS so that the generated code will be optimal for the given MIPS ISA. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.mips2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index 6242bcc747..86fbe6458c 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -72,7 +72,7 @@ config BR2_ENDIAN
default "LITTLE" if BR2_mipsel || BR2_mips64el
default "BIG" if BR2_mips || BR2_mips64
-config BR2_GCC_TARGET_TUNE
+config BR2_GCC_TARGET_ARCH
default "mips1" if BR2_mips_1
default "mips2" if BR2_mips_2
default "mips3" if BR2_mips_3
OpenPOWER on IntegriCloud