summaryrefslogtreecommitdiff
path: root/scripts/build/libc_glibc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-16 18:08:14 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-16 18:08:14 (GMT)
commit37cce18efa5466b2b7d6b7cd23e7dd782987a6a0 (patch)
tree4e648db8841c369a64a4a95e8bb974c4d161b0fc /scripts/build/libc_glibc.sh
parent0b17dd664e9dbacd04092384f79f0455e0d2741c (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_glibc.sh')
-rw-r--r--scripts/build/libc_glibc.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/libc_glibc.sh b/scripts/build/libc_glibc.sh
index d6b9049..5474cda 100644
--- a/scripts/build/libc_glibc.sh
+++ b/scripts/build/libc_glibc.sh
@@ -2,6 +2,16 @@
# Copyright 2007 Yann E. MORIN
# Licensed under the GPL v2. See COPYING in the root of this package
+do_print_filename() {
+ [ "${CT_LIBC}" = "glibc" ] || return 0
+ echo "${CT_LIBC_FILE}"
+ for addon in `do_libc_add_ons_list " "`; do
+ # NPTL addon is not to be downloaded, in any case
+ [ "${addon}" = "nptl" ] && continue || true
+ echo "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}"
+ done
+}
+
# Download glibc
do_libc_get() {
# Ah! Not all GNU folks seem stupid. All glibc releases are in the same