crosstool-ng/scripts/build/arch/moxie.sh
Alexey Neyman e85ec884ad Use -mel/-meb for moxie
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-07 14:49:03 -08:00

17 lines
313 B
Bash

# Moxie-specific arch callbacks
# No arch-specific overrides yet
CT_DoArchTupleValues()
{
case "${CT_ARCH_ENDIAN}" in
big) CT_ARCH_ENDIAN_CFLAG=-meb;;
little) CT_ARCH_ENDIAN_CFLAG=-mel;;
esac
case "${CT_LIBC}" in
moxiebox)
CT_TARGET_SYS=moxiebox
;;
esac
}