diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-06-16 18:08:14 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-06-16 18:08:14 (GMT) |
commit | 37cce18efa5466b2b7d6b7cd23e7dd782987a6a0 (patch) | |
tree | 4e648db8841c369a64a4a95e8bb974c4d161b0fc /scripts/build/libc_uClibc.sh | |
parent | 0b17dd664e9dbacd04092384f79f0455e0d2741c (diff) |
Add a function to print each component's filename: this eases building the tarball of the generated toolchain.
Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
Diffstat (limited to 'scripts/build/libc_uClibc.sh')
-rw-r--r-- | scripts/build/libc_uClibc.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index 632db69..cf434b0 100644 --- a/scripts/build/libc_uClibc.sh +++ b/scripts/build/libc_uClibc.sh @@ -2,6 +2,12 @@ # Copyright 2007 Yann E. MORIN # Licensed under the GPL v2. See COPYING in the root of this package +do_print_filename() { + [ "${CT_LIBC}" = "uClibc" ] || return 0 + echo "${CT_LIBC_FILE}" + [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && echo "uClibc-locale-030818" || true +} + # Download uClibc do_libc_get() { libc_src="http://www.uclibc.org/downloads @@ -12,7 +18,7 @@ do_libc_get() { # later... CT_GetFile "${CT_LIBC_FILE}" ${libc_src} # uClibc locales - [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && CT_GetFile "uClibc-locale-030818" ${libc_src} + [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && CT_GetFile "uClibc-locale-030818" ${libc_src} || true return 0 } @@ -21,7 +27,7 @@ do_libc_get() { do_libc_extract() { CT_ExtractAndPatch "${CT_LIBC_FILE}" # uClibc locales - [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && CT_ExtractAndPatch "uClibc-locale-030818" + [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && CT_ExtractAndPatch "uClibc-locale-030818" || true return 0 } |