From b92668a21123d0039f9d5df407469cb6c37fce24 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 12 Sep 2010 22:14:04 +0200 Subject: arch/mips: add option for MIPS ABIs This adds selection for one of the o32, n32 and n64 ABIs. Later, we can easily use those boolean options, rather than relying on a user-supplied string option. Signed-off-by: "Yann E. MORIN" --- scripts/build/arch/mips.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/build/arch') diff --git a/scripts/build/arch/mips.sh b/scripts/build/arch/mips.sh index c5b18e5b..3b771b23 100644 --- a/scripts/build/arch/mips.sh +++ b/scripts/build/arch/mips.sh @@ -14,4 +14,8 @@ CT_DoArchTupleValues() { y,) CT_ARCH_ENDIAN_CFLAG="-EB";; ,y) CT_ARCH_ENDIAN_CFLAG="-EL";; esac + + # Override ABI flags + CT_ARCH_ABI_CFLAG="-mabi=${CT_ARCH_mips_ABI}" + CT_ARCH_WITH_ABI="--with-abi=${CT_ARCH_mips_ABI}" } -- cgit v1.2.3