From 3f7fbd7beda5d840cd9a15189a94aaad4a802d37 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 22 Nov 2016 18:10:23 -0800 Subject: Move companion tool build into a separate step. Also, rename "build" -> "for_build", since we're going to have a "for_host" as well. Signed-off-by: Alexey Neyman --- scripts/build/companion_tools/050-make.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/build/companion_tools/050-make.sh') 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" -- cgit v1.2.3