scripts/functions
changeset 787 0725d7f8ab22
parent 786 a3619ef5ed98
child 788 cc9721772cc6
     1.1 --- a/scripts/functions	Mon Aug 11 09:42:13 2008 +0000
     1.2 +++ b/scripts/functions	Mon Aug 11 12:22:47 2008 +0000
     1.3 @@ -253,6 +253,8 @@
     1.4      # Some mktemp do not allow more than 6 Xs
     1.5      eval "$1"=$(mktemp -q -d "${CT_BUILD_DIR}/.XXXXXX")
     1.6      CT_TestOrAbort "Could not make temporary directory" -n "${!1}" -a -d "${!1}"
     1.7 +    CT_DoLog DEBUG "Made temporary directory '${!1}'"
     1.8 +    return 0
     1.9  }
    1.10  
    1.11  # Echoes the specified string on stdout until the pipe breaks.
    1.12 @@ -546,7 +548,7 @@
    1.13  
    1.14      # Add-ons need a little love, really.
    1.15      case "${file}" in
    1.16 -        glibc-[a-z]*-*)
    1.17 +        glibc-[a-z]*-*|eglibc-[a-z]*-*)
    1.18              CT_TestAndAbort "Trying to extract the C-library addon/locales '${file}' when C-library not yet extracted" ! -d "${CT_LIBC_FILE}"
    1.19              cd "${CT_LIBC_FILE}"
    1.20              libc_addon=y
    1.21 @@ -674,7 +676,7 @@
    1.22      # Set defaults for the system part of the tuple. Can be overriden
    1.23      # by architecture-specific values.
    1.24      case "${CT_LIBC}" in
    1.25 -        glibc)  CT_TARGET_SYS=gnu;;
    1.26 +        *glibc) CT_TARGET_SYS=gnu;;
    1.27          uClibc) CT_TARGET_SYS=uclibc;;
    1.28      esac
    1.29