diff options
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index 47f4202d..e6920c12 100644 --- a/scripts/functions +++ b/scripts/functions @@ -253,6 +253,8 @@ CT_MktempDir() { # 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 @@ CT_ExtractAndPatch() { # 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 @@ CT_DoBuildTargetTuple() { # 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 |