summaryrefslogtreecommitdiff
path: root/scripts/build/tools
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/tools')
-rw-r--r--scripts/build/tools/000-template.sh7
-rw-r--r--scripts/build/tools/100-libelf.sh3
-rw-r--r--scripts/build/tools/200-sstrip.sh2
3 files changed, 0 insertions, 12 deletions
diff --git a/scripts/build/tools/000-template.sh b/scripts/build/tools/000-template.sh
index 7edc807..4a27801 100644
--- a/scripts/build/tools/000-template.sh
+++ b/scripts/build/tools/000-template.sh
@@ -1,19 +1,12 @@
# Template file for a tool utility
-# Check here wether your tool is enabled or not.
-# This will get redefined over and over again for each tool, so don't
-# count on it in the functions below.
-is_enabled="${CT_FOOBAR}"
-
# 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.
-# You shall not echo anything if you're not enabled!
# Echo the name of the file, without the extension, below.
do_print_filename() {
# For example:
- # [ "{CT_FOOBAR}" = "y" ] || return 0
# echo "foobar-${CT_FOOBAR_VERSION}"
:
}
diff --git a/scripts/build/tools/100-libelf.sh b/scripts/build/tools/100-libelf.sh
index eeb4b3c..e8cd986 100644
--- a/scripts/build/tools/100-libelf.sh
+++ b/scripts/build/tools/100-libelf.sh
@@ -1,9 +1,6 @@
# Build script for libelf
-is_enabled="${CT_LIBELF}"
-
do_print_filename() {
- [ "{CT_LIBELF}" = "y" ] || return 0
echo "libelf-${CT_LIBELF_VERSION}"
}
diff --git a/scripts/build/tools/200-sstrip.sh b/scripts/build/tools/200-sstrip.sh
index b8a9d4b..461dfcf 100644
--- a/scripts/build/tools/200-sstrip.sh
+++ b/scripts/build/tools/200-sstrip.sh
@@ -1,7 +1,5 @@
# This will build and install sstrip to run on host and sstrip target files
-is_enabled="${CT_SSTRIP}"
-
case "${CT_SSTRIP_FROM}" in
ELFkickers)
do_print_filename() {