diff options
Diffstat (limited to 'scripts/build/tools')
-rw-r--r-- | scripts/build/tools/000-template.sh | 11 | ||||
-rw-r--r-- | scripts/build/tools/100-libelf.sh | 4 | ||||
-rw-r--r-- | scripts/build/tools/200-sstrip.sh | 11 |
3 files changed, 1 insertions, 25 deletions
diff --git a/scripts/build/tools/000-template.sh b/scripts/build/tools/000-template.sh index 4a27801..23c9575 100644 --- a/scripts/build/tools/000-template.sh +++ b/scripts/build/tools/000-template.sh @@ -1,16 +1,5 @@ # Template file for a tool utility -# Small function to print the filename -# Note that this function gets redefined over and over again for each tool. -# It's of no use when building the toolchain proper, but shows all its -# usefullness when saving the toolchain and building the tarball. -# Echo the name of the file, without the extension, below. -do_print_filename() { - # For example: - # echo "foobar-${CT_FOOBAR_VERSION}" - : -} - # Put your download code here do_tools_foobar_get() { # For example: diff --git a/scripts/build/tools/100-libelf.sh b/scripts/build/tools/100-libelf.sh index e8cd986..b82e3cf 100644 --- a/scripts/build/tools/100-libelf.sh +++ b/scripts/build/tools/100-libelf.sh @@ -1,9 +1,5 @@ # Build script for libelf -do_print_filename() { - echo "libelf-${CT_LIBELF_VERSION}" -} - do_tools_libelf_get() { # The server hosting libelf will return an "HTTP 300 : Multiple Choices" # error code if we try to download a file that does not exists there. diff --git a/scripts/build/tools/200-sstrip.sh b/scripts/build/tools/200-sstrip.sh index fd7812a..9009075 100644 --- a/scripts/build/tools/200-sstrip.sh +++ b/scripts/build/tools/200-sstrip.sh @@ -2,9 +2,6 @@ case "${CT_SSTRIP_FROM}" in ELFkickers) - do_print_filename() { - echo "ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}" - } do_tools_sstrip_get() { CT_GetFile "ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}" \ http://www.muppetlabs.com/~breadbox/pub/software @@ -29,9 +26,6 @@ case "${CT_SSTRIP_FROM}" in ;; buildroot) - do_print_filename() { - echo "sstrip.c" - } do_tools_sstrip_get() { # Note: the space between sstrip and .c is on purpose. CT_GetFile sstrip .c \ @@ -57,10 +51,7 @@ case "${CT_SSTRIP_FROM}" in } ;; - *) do_print_filename() { - : - } - do_tools_sstrip_get() { + *) do_tools_sstrip_get() { : } do_tools_sstrip_extract() { |