From 50ea3b751de4c94606bebc56a385324f130c33a8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 3 Oct 2008 12:30:58 +0000 Subject: Second shot at moving arch/ into config/arch/ . --- config/arch/mips/functions | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config/arch/mips/functions (limited to 'config/arch/mips/functions') diff --git a/config/arch/mips/functions b/config/arch/mips/functions new file mode 100644 index 00000000..4bf0501d --- /dev/null +++ b/config/arch/mips/functions @@ -0,0 +1,12 @@ +# Compute IA-64-specific values + +CT_DoArchValues() { + # The architecture part of the tuple: + CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}" + + # Override CFLAGS for endianness: + case "${CT_ARCH_BE},${CT_ARCH_LE}" in + y,) CT_ARCH_ENDIAN_CFLAG="-EB";; + ,y) CT_ARCH_ENDIAN_CFLAG="-EL";; + esac +} -- cgit v1.2.3