diff options
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/companion_tools.sh | 9 | ||||
-rw-r--r-- | scripts/build/companion_tools/050-make.sh | 7 | ||||
-rw-r--r-- | scripts/build/companion_tools/100-m4.sh | 7 | ||||
-rw-r--r-- | scripts/build/companion_tools/200-autoconf.sh | 7 | ||||
-rw-r--r-- | scripts/build/companion_tools/300-automake.sh | 7 | ||||
-rw-r--r-- | scripts/build/companion_tools/400-libtool.sh | 7 |
6 files changed, 34 insertions, 10 deletions
diff --git a/scripts/build/companion_tools.sh b/scripts/build/companion_tools.sh index b703c415..923c2933 100644 --- a/scripts/build/companion_tools.sh +++ b/scripts/build/companion_tools.sh @@ -7,11 +7,11 @@ for f in "${CT_LIB_DIR}/scripts/build/companion_tools/"*.sh; do _f="${_f#???-}" __f="CT_COMP_TOOLS_${_f}" if [ "${!__f}" = "y" ]; then - CT_DoLog DEBUG "Enabling companion tools '${_f}'" + CT_DoLog DEBUG "Enabling companion tool '${_f}'" . "${f}" CT_COMP_TOOLS_FACILITY_LIST="${CT_COMP_TOOLS_FACILITY_LIST} ${_f}" else - CT_DoLog DEBUG "Disabling companion tools '${_f}'" + CT_DoLog DEBUG "Disabling companion tool '${_f}'" fi done @@ -30,9 +30,8 @@ do_companion_tools_extract() { } # Build the companion tools facilities -do_companion_tools() { +do_companion_tools_for_build() { for f in ${CT_COMP_TOOLS_FACILITY_LIST}; do - do_companion_tools_${f}_build + do_companion_tools_${f}_for_build done } - diff --git a/scripts/build/companion_tools/050-make.sh b/scripts/build/companion_tools/050-make.sh index 9458a255..65e42ef1 100644 --- a/scripts/build/companion_tools/050-make.sh +++ b/scripts/build/companion_tools/050-make.sh @@ -11,14 +11,19 @@ do_companion_tools_make_extract() { CT_Patch "make" "${CT_MAKE_VERSION}" } -do_companion_tools_make_build() { +do_companion_tools_make_for_build() { CT_DoStep EXTRA "Installing make" mkdir -p "${CT_BUILD_DIR}/build-make" CT_Pushd "${CT_BUILD_DIR}/build-make" + CT_DoLog EXTRA "Configuring make" CT_DoExecLog CFG "${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" + + CT_DoLog EXTRA "Building make" CT_DoExecLog ALL make + + CT_DoLog EXTRA "Installing make" CT_DoExecLog ALL make install if [ "${CT_MAKE_GMAKE_SYMLINK}" = "y" ]; then CT_DoExecLog ALL ln -sv make "${CT_BUILDTOOLS_PREFIX_DIR}/bin/gmake" diff --git a/scripts/build/companion_tools/100-m4.sh b/scripts/build/companion_tools/100-m4.sh index 83ab8159..6300dd17 100644 --- a/scripts/build/companion_tools/100-m4.sh +++ b/scripts/build/companion_tools/100-m4.sh @@ -10,15 +10,20 @@ do_companion_tools_m4_extract() { CT_Patch "m4" "${CT_M4_VERSION}" } -do_companion_tools_m4_build() { +do_companion_tools_m4_for_build() { CT_DoStep EXTRA "Installing m4" mkdir -p "${CT_BUILD_DIR}/build-m4" CT_Pushd "${CT_BUILD_DIR}/build-m4" + CT_DoLog EXTRA "Configuring m4" CT_DoExecLog CFG \ "${CT_SRC_DIR}/m4-${CT_M4_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" + + CT_DoLog EXTRA "Building m4" CT_DoExecLog ALL make + + CT_DoLog EXTRA "Building m4" CT_DoExecLog ALL make install CT_Popd CT_EndStep diff --git a/scripts/build/companion_tools/200-autoconf.sh b/scripts/build/companion_tools/200-autoconf.sh index e6e5764d..243e5d89 100644 --- a/scripts/build/companion_tools/200-autoconf.sh +++ b/scripts/build/companion_tools/200-autoconf.sh @@ -11,7 +11,7 @@ do_companion_tools_autoconf_extract() { CT_Patch "autoconf" "${CT_AUTOCONF_VERSION}" } -do_companion_tools_autoconf_build() { +do_companion_tools_autoconf_for_build() { CT_DoStep EXTRA "Installing autoconf" mkdir -p "${CT_BUILD_DIR}/build-autoconf" CT_Pushd "${CT_BUILD_DIR}/build-autoconf" @@ -21,10 +21,15 @@ do_companion_tools_autoconf_build() { # For reference see: # http://www.gnu.org/software/autoconf/manual/autoconf.html#CONFIG_005fSHELL + CT_DoLog EXTRA "Configuring autoconf" CT_DoExecLog CFG ${CONFIG_SHELL} \ "${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" + + CT_DoLog EXTRA "Building autoconf" CT_DoExecLog ALL make + + CT_DoLog EXTRA "Installing autoconf" CT_DoExecLog ALL make install CT_Popd CT_EndStep diff --git a/scripts/build/companion_tools/300-automake.sh b/scripts/build/companion_tools/300-automake.sh index 52f62d2f..9d1b6e8e 100644 --- a/scripts/build/companion_tools/300-automake.sh +++ b/scripts/build/companion_tools/300-automake.sh @@ -11,15 +11,20 @@ do_companion_tools_automake_extract() { CT_Patch "automake" "${CT_AUTOMAKE_VERSION}" } -do_companion_tools_automake_build() { +do_companion_tools_automake_for_build() { CT_DoStep EXTRA "Installing automake" mkdir -p "${CT_BUILD_DIR}/build-automake" CT_Pushd "${CT_BUILD_DIR}/build-automake" + CT_DoLog EXTRA "Configuring automake" CT_DoExecLog CFG \ "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" + + CT_DoLog EXTRA "Building automake" CT_DoExecLog ALL make + + CT_DoLog EXTRA "Installing automake" CT_DoExecLog ALL make install CT_Popd CT_EndStep diff --git a/scripts/build/companion_tools/400-libtool.sh b/scripts/build/companion_tools/400-libtool.sh index cfe0f634..a1393691 100644 --- a/scripts/build/companion_tools/400-libtool.sh +++ b/scripts/build/companion_tools/400-libtool.sh @@ -11,15 +11,20 @@ do_companion_tools_libtool_extract() { CT_Patch "libtool" "${CT_LIBTOOL_VERSION}" } -do_companion_tools_libtool_build() { +do_companion_tools_libtool_for_build() { CT_DoStep EXTRA "Installing libtool" mkdir -p "${CT_BUILD_DIR}/build-libtool" CT_Pushd "${CT_BUILD_DIR}/build-libtool" + CT_DoLog EXTRA "Configuring libtool" CT_DoExecLog CFG \ "${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" + + CT_DoLog EXTRA "Building libtool" CT_DoExecLog ALL make + + CT_DoLog EXTRA "Installing libtool" CT_DoExecLog ALL make install CT_Popd CT_EndStep |