diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-17 02:48:09 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-17 02:48:09 -0800 |
commit | 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e (patch) | |
tree | 9eb19260dd694fa6b4852c46e3f0a93939db9a24 /scripts/build/companion_tools | |
parent | 6ac8e31a519f41af7838bb5261e0fe989fb428bd (diff) | |
download | crosstool-ng-6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.tar.gz crosstool-ng-6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.tar.bz2 crosstool-ng-6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.zip |
consistency: Use exported variables of required tools
We check for apps:
* make
* sed
* grep
* awk
* libtool/libtoolize
* install
* patch
* and more
...during configure. Our scripts should be consistent about using the
variables that define where the found tool was found.
Of course, we do hard-link these tools in buildtools, but that should be
a backup for the components we are building. Our scripts should always
use the tools we find.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/build/companion_tools')
-rw-r--r-- | scripts/build/companion_tools/050-make.sh | 6 | ||||
-rw-r--r-- | scripts/build/companion_tools/100-m4.sh | 4 | ||||
-rw-r--r-- | scripts/build/companion_tools/200-autoconf.sh | 4 | ||||
-rw-r--r-- | scripts/build/companion_tools/300-automake.sh | 4 | ||||
-rw-r--r-- | scripts/build/companion_tools/400-libtool.sh | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/scripts/build/companion_tools/050-make.sh b/scripts/build/companion_tools/050-make.sh index 42475458..3d6da7c3 100644 --- a/scripts/build/companion_tools/050-make.sh +++ b/scripts/build/companion_tools/050-make.sh @@ -20,10 +20,10 @@ do_companion_tools_make_build() { CT_DoExecLog CFG "${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" - CT_DoExecLog ALL make - CT_DoExecLog ALL make install + CT_DoExecLog ALL ${make} + CT_DoExecLog ALL ${make} install if [ "${CT_COMP_TOOLS_make_gmake}" = "y" ]; then - CT_DoExecLog ALL ln -sv make "${CT_BUILDTOOLS_PREFIX_DIR}/bin/gmake" + CT_DoExecLog ALL ln -sv ${make} "${CT_BUILDTOOLS_PREFIX_DIR}/bin/gmake" fi CT_Popd CT_EndStep diff --git a/scripts/build/companion_tools/100-m4.sh b/scripts/build/companion_tools/100-m4.sh index dd8380e1..35721d52 100644 --- a/scripts/build/companion_tools/100-m4.sh +++ b/scripts/build/companion_tools/100-m4.sh @@ -20,8 +20,8 @@ do_companion_tools_m4_build() { CT_DoExecLog CFG \ "${CT_SRC_DIR}/m4-${CT_M4_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" - CT_DoExecLog ALL make - CT_DoExecLog ALL make install + CT_DoExecLog ALL ${make} + 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 78e1b32f..def6ddc7 100644 --- a/scripts/build/companion_tools/200-autoconf.sh +++ b/scripts/build/companion_tools/200-autoconf.sh @@ -26,8 +26,8 @@ do_companion_tools_autoconf_build() { CT_DoExecLog CFG ${CONFIG_SHELL} \ "${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" - CT_DoExecLog ALL make - CT_DoExecLog ALL make install + CT_DoExecLog ALL ${make} + 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 ae0c49be..ff286dd5 100644 --- a/scripts/build/companion_tools/300-automake.sh +++ b/scripts/build/companion_tools/300-automake.sh @@ -21,8 +21,8 @@ do_companion_tools_automake_build() { CT_DoExecLog CFG \ "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" - CT_DoExecLog ALL make - CT_DoExecLog ALL make install + CT_DoExecLog ALL ${make} + 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 43d1f053..fa5dc599 100644 --- a/scripts/build/companion_tools/400-libtool.sh +++ b/scripts/build/companion_tools/400-libtool.sh @@ -21,8 +21,8 @@ do_companion_tools_libtool_build() { CT_DoExecLog CFG \ "${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \ --prefix="${CT_BUILDTOOLS_PREFIX_DIR}" - CT_DoExecLog ALL make - CT_DoExecLog ALL make install + CT_DoExecLog ALL ${make} + CT_DoExecLog ALL ${make} install CT_Popd CT_EndStep } |