summaryrefslogtreecommitdiff
path: root/scripts/build/debug
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/debug
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/debug')
-rw-r--r--scripts/build/debug/dmalloc.sh5
-rw-r--r--scripts/build/debug/gdb.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/debug/dmalloc.sh b/scripts/build/debug/dmalloc.sh
index 075035c..039f1ea 100644
--- a/scripts/build/debug/dmalloc.sh
+++ b/scripts/build/debug/dmalloc.sh
@@ -2,6 +2,11 @@
is_enabled="${CT_DMALLOC}"
+do_print_filename() {
+ [ "${CT_DMALLOC}" = "y" ] || return 0
+ echo "dmalloc-${CT_DMALLOC_VERSION}"
+}
+
do_debug_dmalloc_get() {
CT_GetFile "dmalloc-${CT_DMALLOC_VERSION}" http://dmalloc.com/releases/
}
diff --git a/scripts/build/debug/gdb.sh b/scripts/build/debug/gdb.sh
index e1f6de5..55c7c54 100644
--- a/scripts/build/debug/gdb.sh
+++ b/scripts/build/debug/gdb.sh
@@ -2,6 +2,11 @@
is_enabled="${CT_GDB}"
+do_print_filename() {
+ [ "${CT_GDB}" = "y" ] || return 0
+ echo "gdb`do_debug_gdb_suffix`"
+}
+
do_debug_gdb_suffix() {
case "${CT_GDB_VERSION}" in
snapshot) ;;