MAKEALL: consolidate -j${JOBS} argument
This argument is common in configuration and compilation. Move it to ${MAKE}. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
1b31cad12a
commit
539d88fdee
6
MAKEALL
6
MAKEALL
|
@ -109,8 +109,8 @@ do_build_target() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAKE="make CROSS_COMPILE=${cross_compile} ARCH=${arch} O=${BUILDDIR}"
|
MAKE="make -j${JOBS} CROSS_COMPILE=${cross_compile} ARCH=${arch} O=${BUILDDIR}"
|
||||||
${MAKE} -j${JOBS} ${target} 2>&1 > "${log_report}" | tee "${log_err}"
|
${MAKE} ${target} 2>&1 > "${log_report}" | tee "${log_err}"
|
||||||
|
|
||||||
check_pipe_status
|
check_pipe_status
|
||||||
result="$?"
|
result="$?"
|
||||||
|
@ -120,7 +120,7 @@ do_build_target() {
|
||||||
if [ "$result" = "0" ]; then
|
if [ "$result" = "0" ]; then
|
||||||
printf "OK \n" | tee -a "${log_report}"
|
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
|
check_pipe_status
|
||||||
result="$?"
|
result="$?"
|
||||||
|
|
Loading…
Reference in New Issue