arch/arm/functions
changeset 385 151d753de99f
parent 383 f00eb97ff649
child 387 2fa4b675a9a3
     1.1 --- a/arch/arm/functions	Fri Sep 14 21:17:59 2007 +0000
     1.2 +++ b/arch/arm/functions	Fri Sep 14 21:31:00 2007 +0000
     1.3 @@ -4,7 +4,13 @@
     1.4      # The architecture part of the tuple:
     1.5      CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
     1.6  
     1.7 -    # The system part of the tuple default values is OK.
     1.8 +    # The system part of the tuple:
     1.9 +    case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
    1.10 +        glibc,)     CT_TARGET_SYS=gnu;;
    1.11 +        glibc,y)    CT_TARGET_SYS=gnueabi;;
    1.12 +        uClibc,)    CT_TARGET_SYS=uclibc;;
    1.13 +        uClibc,y)   CT_TARGET_SYS=uclibcgnueabi;;
    1.14 +    esac
    1.15  
    1.16 -    # The endianness option default value is OK.
    1.17 +    # The endianness option default value is OK
    1.18  }