diff -r f00eb97ff649 -r 151d753de99f arch/arm/functions --- a/arch/arm/functions Fri Sep 14 21:17:59 2007 +0000 +++ b/arch/arm/functions Fri Sep 14 21:31:00 2007 +0000 @@ -4,7 +4,13 @@ # The architecture part of the tuple: CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}" - # The system part of the tuple default values is OK. + # The system part of the tuple: + case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in + glibc,) CT_TARGET_SYS=gnu;; + glibc,y) CT_TARGET_SYS=gnueabi;; + uClibc,) CT_TARGET_SYS=uclibc;; + uClibc,y) CT_TARGET_SYS=uclibcgnueabi;; + esac - # The endianness option default value is OK. + # The endianness option default value is OK }