buildroot: fix BR2_GCC_TARGET_ABI for MIPS n64
authorKevin Cernekee <cernekee@gmail.com>
Tue, 17 May 2011 21:29:26 +0000 (14:29 -0700)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 3 May 2012 19:00:27 +0000 (21:00 +0200)
gcc 4.3/4.4/4.5 accept the following arguments for --with-abi=

"" | 32 | o64 | n32 | 64 | eabi)

So, the "n64" argument coming from buildroot should be changed to "64"
so that gcc's ./configure step does not error out.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
target/Config.in.arch

diff --git a/CHANGES b/CHANGES
index 94f584f4b96e7d6c93d3c4c273a91fe0a0ec8c4c..d7138b6801b53dbb5e7f2f928dd0cf7823a1097b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -60,6 +60,7 @@
        Issues resolved (http://bugs.uclibc.org):
 
        #2353: [lua] fix build with 2010.08-rc1
+       #3751: MIPS: fix BR2_GCC_TARGET_ABI for MIPS n64
        #4880: New package lcdproc
        #4886: New package protobuf
        #5144: Patch to fix ixon bug in uemacs
index e7a18f71eb5cc4e48ef99f8724ddd20515b5910a..941cd1bed4131862c33db9a895bf7db3bc7af14e 100644 (file)
@@ -831,7 +831,7 @@ config BR2_GCC_TARGET_ABI
        default n32             if BR2_MIPS_ABI32
        default eabi            if BR2_MIPS_EABI
        default o64             if BR2_MIPS_OABI64
-       default n64             if BR2_MIPS_ABI64
+       default 64              if BR2_MIPS_ABI64
        default mmixware        if BR2_mmix && BR2_MMIX_ABI_native
        default gnu             if BR2_mmix && !BR2_MMIX_ABI_native
        default altivec         if BR2_powerpc && BR2_PPC_ABI_altivec