1.1 --- a/scripts/build/tools/000-template.sh Mon Jul 14 16:04:41 2008 +0000
1.2 +++ b/scripts/build/tools/000-template.sh Thu Nov 20 17:48:10 2008 +0000
1.3 @@ -1,19 +1,12 @@
1.4 # Template file for a tool utility
1.5
1.6 -# Check here wether your tool is enabled or not.
1.7 -# This will get redefined over and over again for each tool, so don't
1.8 -# count on it in the functions below.
1.9 -is_enabled="${CT_FOOBAR}"
1.10 -
1.11 # Small function to print the filename
1.12 # Note that this function gets redefined over and over again for each tool.
1.13 # It's of no use when building the toolchain proper, but shows all its
1.14 # usefullness when saving the toolchain and building the tarball.
1.15 -# You shall not echo anything if you're not enabled!
1.16 # Echo the name of the file, without the extension, below.
1.17 do_print_filename() {
1.18 # For example:
1.19 - # [ "{CT_FOOBAR}" = "y" ] || return 0
1.20 # echo "foobar-${CT_FOOBAR_VERSION}"
1.21 :
1.22 }