1.1 --- a/scripts/build/tools.sh Mon Mar 15 22:02:02 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,38 +0,0 @@
1.4 -# Wrapper to build the tools facilities
1.5 -
1.6 -# List all tools facilities, and parse their scripts
1.7 -CT_TOOLS_FACILITY_LIST=
1.8 -for f in "${CT_LIB_DIR}/scripts/build/tools/"*.sh; do
1.9 - _f="$(basename "${f}" .sh)"
1.10 - _f="${_f#???-}"
1.11 - __f="CT_TOOL_${_f}"
1.12 - if [ "${!__f}" = "y" ]; then
1.13 - CT_DoLog DEBUG "Enabling tool '${_f}'"
1.14 - . "${f}"
1.15 - CT_TOOLS_FACILITY_LIST="${CT_TOOLS_FACILITY_LIST} ${_f}"
1.16 - else
1.17 - CT_DoLog DEBUG "Disabling tool '${_f}'"
1.18 - fi
1.19 -done
1.20 -
1.21 -# Download the tools facilities
1.22 -do_tools_get() {
1.23 - for f in ${CT_TOOLS_FACILITY_LIST}; do
1.24 - do_tools_${f}_get
1.25 - done
1.26 -}
1.27 -
1.28 -# Extract and patch the tools facilities
1.29 -do_tools_extract() {
1.30 - for f in ${CT_TOOLS_FACILITY_LIST}; do
1.31 - do_tools_${f}_extract
1.32 - done
1.33 -}
1.34 -
1.35 -# Build the tools facilities
1.36 -do_tools() {
1.37 - for f in ${CT_TOOLS_FACILITY_LIST}; do
1.38 - do_tools_${f}_build
1.39 - done
1.40 -}
1.41 -