diff options
Diffstat (limited to 'scripts/build/arch/mips.sh')
-rw-r--r-- | scripts/build/arch/mips.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/build/arch/mips.sh b/scripts/build/arch/mips.sh new file mode 100644 index 00000000..4bf0501d --- /dev/null +++ b/scripts/build/arch/mips.sh @@ -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 +} |