1.1 --- a/scripts/build/libc_uClibc.sh Sat Feb 24 11:00:05 2007 +0000
1.2 +++ b/scripts/build/libc_uClibc.sh Mon May 07 09:04:02 2007 +0000
1.3 @@ -2,6 +2,25 @@
1.4 # Copyright 2007 Yann E. MORIN
1.5 # Licensed under the GPL v2. See COPYING in the root of this package
1.6
1.7 +# Download uClibc
1.8 +do_libc_get() {
1.9 + libc_src="http://www.uclibc.org/downloads
1.10 + http://www.uclibc.org/downloads/snapshots
1.11 + http://www.uclibc.org/downloads/old-releases"
1.12 + # For uClibc, we have almost every thing: releases, and snapshots
1.13 + # for the last month or so. We'll have to deal with svn revisions
1.14 + # later...
1.15 + CT_GetFile "${CT_LIBC_FILE}" ${libc_src}
1.16 + # uClibc locales
1.17 + [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && CT_GetFile "uClibc-locale-030818" ${libc_src}
1.18 +}
1.19 +
1.20 +# Extract uClibc
1.21 +do_libc_extract() {
1.22 + CT_ExtractAndPatch "${CT_LIBC_FILE}"
1.23 + # uClibc locales
1.24 + [ "${CT_LIBC_UCLIBC_LOCALES}" = "y" ] && CT_ExtractAndPatch "uClibc-locale-030818"
1.25 +}
1.26
1.27 # Check that uClibc has been previously configured
1.28 do_libc_check_config() {