diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-11 12:22:47 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-11 12:22:47 (GMT) |
commit | 59ef10f5d6419ff759ed58cf1f352205784e6eab (patch) | |
tree | f64f9a149e7726ac935c58acfb31d37dd33aab54 /scripts/functions | |
parent | 57755ca74b11a2f23cd6c2fd8eef74a07b650a01 (diff) |
Merge the branches/eglibc stuff:
- Add support for eglibc
/trunk/scripts/functions | 6 4 2 0 ++++--
/trunk/docs/CREDITS | 1 1 0 0 +
/trunk/config/libc.in | 12 12 0 0 ++++++++++++
/trunk/arch/arm/functions | 4 2 2 0 ++--
4 files changed, 19 insertions(+), 4 deletions(-)
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 47f4202..e6920c1 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 |