[Buildroot] [PATCH] Disable o32 ABI for MIPS64 architectures

Vicente Olivert Riera Vincent.Riera at imgtec.com
Wed Mar 5 17:06:27 UTC 2014


Building o32 ELF files for MIPS64 is an exotic configuration that nobody
should be using. If o32 is required, then is better if it's built for
MIPS 32-bit cores so only 32-bit instructions will be used leading to a
more efficient o32 usage.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
 arch/Config.in.mips |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index d9c0c02..e2b1e60 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -47,6 +47,7 @@ choice
 
 config BR2_MIPS_OABI32
 	bool "o32"
+	depends on !BR2_ARCH_IS_64
 config BR2_MIPS_NABI32
 	bool "n32"
 	depends on BR2_ARCH_IS_64
-- 
1.7.1



More information about the buildroot mailing list