arch/mips: Set BR2_GCC_TARGET_ARCH for MIPS
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 28 Oct 2013 14:21:09 +0000 (14:21 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Oct 2013 17:44:12 +0000 (18:44 +0100)
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>
arch/Config.in.mips

index 6242bcc74768222e28285c0a620ef68f370206e2..86fbe6458c624b4229d70290391f8fe93bc2a8a6 100644 (file)
@@ -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