From 539d88fdee8ea3d0b0d6629440b2ca666167a986 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 3 Feb 2015 19:14:48 +0900 Subject: MAKEALL: consolidate -j${JOBS} argument This argument is common in configuration and compilation. Move it to ${MAKE}. Signed-off-by: Masahiro Yamada Signed-off-by: Sascha Hauer --- MAKEALL | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MAKEALL') diff --git a/MAKEALL b/MAKEALL index 6ce22c5f87..6999d640ff 100755 --- a/MAKEALL +++ b/MAKEALL @@ -109,8 +109,8 @@ do_build_target() { fi fi - MAKE="make CROSS_COMPILE=${cross_compile} ARCH=${arch} O=${BUILDDIR}" - ${MAKE} -j${JOBS} ${target} 2>&1 > "${log_report}" | tee "${log_err}" + MAKE="make -j${JOBS} CROSS_COMPILE=${cross_compile} ARCH=${arch} O=${BUILDDIR}" + ${MAKE} ${target} 2>&1 > "${log_report}" | tee "${log_err}" check_pipe_status result="$?" @@ -120,7 +120,7 @@ do_build_target() { if [ "$result" = "0" ]; then printf "OK \n" | tee -a "${log_report}" - ${MAKE} -j${JOBS} -s 2>&1 >> "${log_report}" | tee -a "${log_err}" + ${MAKE} -s 2>&1 >> "${log_report}" | tee -a "${log_err}" check_pipe_status result="$?" -- cgit v1.2.1