[Buildroot] [PATCH] arch/mips: Set BR2_GCC_TARGET_ARCH for MIPS
Markos Chandras
markos.chandras at imgtec.com
Mon Oct 28 14:21:09 UTC 2013
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 at imgtec.com>
---
arch/Config.in.mips | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
1.8.4
More information about the buildroot
mailing list