summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-10-28 14:21:09 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-10-30 17:44:12 (GMT)
commitf60dafe06833a17540608d1c8172d6535c513f1e (patch)
treeb9808d9f7eb881bb67ee05993fba554786c866f6
parentca5639f8d00aae6427054dee1f0433583ad3041d (diff)
downloadbuildroot-f60dafe06833a17540608d1c8172.tar.gz
buildroot-f60dafe06833a17540608d1c8172.tar.bz2
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>
-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 6242bcc..86fbe64 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