From 37cce18efa5466b2b7d6b7cd23e7dd782987a6a0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 16 Jun 2007 18:08:14 +0000 Subject: 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. --- scripts/build/libc_uClibc.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts/build/libc_uClibc.sh') diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index 632db69b..cf434b09 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 } -- cgit v1.2.3