scripts/functions
changeset 850 ef8549b58b6f
parent 799 a31e625eb343
child 919 70f7ea9f910a
     1.1 --- a/scripts/functions	Sun Aug 17 14:13:00 2008 +0000
     1.2 +++ b/scripts/functions	Sun Sep 14 16:21:07 2008 +0000
     1.3 @@ -673,6 +673,7 @@
     1.4      # Set defaults for the system part of the tuple. Can be overriden
     1.5      # by architecture-specific values.
     1.6      case "${CT_LIBC}" in
     1.7 +        none)   CT_TARGET_SYS=elf;;
     1.8          *glibc) CT_TARGET_SYS=gnu;;
     1.9          uClibc) CT_TARGET_SYS=uclibc;;
    1.10      esac
    1.11 @@ -695,9 +696,10 @@
    1.12  
    1.13      # Finish the target tuple construction
    1.14      case "${CT_KERNEL}" in
    1.15 -        linux*)  CT_TARGET_KERNEL=linux;;
    1.16 +        none)   CT_TARGET_KERNEL=;;
    1.17 +        linux)  CT_TARGET_KERNEL=linux-;;
    1.18      esac
    1.19 -    CT_TARGET=$(CT_DoConfigSub "${CT_TARGET_ARCH}-${CT_TARGET_VENDOR:-unknown}-${CT_TARGET_KERNEL}-${CT_TARGET_SYS}")
    1.20 +    CT_TARGET=$(CT_DoConfigSub "${CT_TARGET_ARCH}-${CT_TARGET_VENDOR:-unknown}-${CT_TARGET_KERNEL}${CT_TARGET_SYS}")
    1.21  
    1.22      # Prepare the target CFLAGS
    1.23      CT_ARCH_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_ARCH_ENDIAN_CFLAG}"