From 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 17 Nov 2015 02:48:09 -0800 Subject: 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 --- scripts/build/kernel/linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/kernel/linux.sh') diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index 923b12b7..49fe6139 100644 --- a/scripts/build/kernel/linux.sh +++ b/scripts/build/kernel/linux.sh @@ -117,7 +117,7 @@ do_kernel_install() { CT_DoLog EXTRA "Installing kernel headers" CT_DoExecLog ALL \ - make -C "${kernel_path}" \ + ${make} -C "${kernel_path}" \ CROSS_COMPILE="${CT_TARGET}-" \ O="${CT_BUILD_DIR}/build-kernel-headers" \ ARCH=${kernel_arch} \ @@ -128,7 +128,7 @@ do_kernel_install() { if [ "${CT_KERNEL_LINUX_INSTALL_CHECK}" = "y" ]; then CT_DoLog EXTRA "Checking installed headers" CT_DoExecLog ALL \ - make -C "${kernel_path}" \ + ${make} -C "${kernel_path}" \ CROSS_COMPILE="${CT_TARGET}-" \ O="${CT_BUILD_DIR}/build-kernel-headers" \ ARCH=${kernel_arch} \ -- cgit v1.2.3