diff -r a3619ef5ed98 -r 0725d7f8ab22 scripts/functions --- a/scripts/functions Mon Aug 11 09:42:13 2008 +0000 +++ b/scripts/functions Mon Aug 11 12:22:47 2008 +0000 @@ -253,6 +253,8 @@ # Some mktemp do not allow more than 6 Xs eval "$1"=$(mktemp -q -d "${CT_BUILD_DIR}/.XXXXXX") CT_TestOrAbort "Could not make temporary directory" -n "${!1}" -a -d "${!1}" + CT_DoLog DEBUG "Made temporary directory '${!1}'" + return 0 } # Echoes the specified string on stdout until the pipe breaks. @@ -546,7 +548,7 @@ # Add-ons need a little love, really. case "${file}" in - glibc-[a-z]*-*) + glibc-[a-z]*-*|eglibc-[a-z]*-*) CT_TestAndAbort "Trying to extract the C-library addon/locales '${file}' when C-library not yet extracted" ! -d "${CT_LIBC_FILE}" cd "${CT_LIBC_FILE}" libc_addon=y @@ -674,7 +676,7 @@ # Set defaults for the system part of the tuple. Can be overriden # by architecture-specific values. case "${CT_LIBC}" in - glibc) CT_TARGET_SYS=gnu;; + *glibc) CT_TARGET_SYS=gnu;; uClibc) CT_TARGET_SYS=uclibc;; esac