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/libfloat.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/libfloat.sh')
-rw-r--r-- | scripts/build/libfloat.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build/libfloat.sh b/scripts/build/libfloat.sh index ee3c119..20613ef 100644 --- a/scripts/build/libfloat.sh +++ b/scripts/build/libfloat.sh @@ -5,6 +5,10 @@ # Define libfloat functions depending on wether it is selected or not if [ "${CT_ARCH_FLOAT_SW_LIBFLOAT}" = "y" ]; then +do_print_filename() { + echo "${CT_LIBFLOAT_FILE}" +} + # Download libfloat do_libfloat_get() { # Ah! libfloat separates the version string from the base name with @@ -14,7 +18,7 @@ do_libfloat_get() { ftp://ftp.de.debian.org/debian/pool/main/libf/libfloat CT_Pushd "${CT_TARBALLS_DIR}" ext=`CT_GetFileExtension "${libfloat_file}"` - ln -svf "${libfloat_file}${ext}" "${CT_LIBFLOAT_FILE}${ext}" |CT_DoLog DEBUG + ln -vf "${libfloat_file}${ext}" "${CT_LIBFLOAT_FILE}${ext}" |CT_DoLog DEBUG CT_Popd } @@ -52,6 +56,9 @@ do_libfloat() { else # "${CT_ARCH_FLOAT_SW_LIBFLOAT}" != "y" +do_print_filename() { + true +} do_libfloat_get() { true } |