summaryrefslogtreecommitdiffstats
path: root/MAKEALL
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-03 19:14:48 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-04 12:51:22 +0100
commit539d88fdee8ea3d0b0d6629440b2ca666167a986 (patch)
tree7758d1ab0d7061c4755446c214ec0d31bf0e228c /MAKEALL
parent1b31cad12ab559f3167ced9358abd7687cfa0ebf (diff)
downloadbarebox-539d88fdee8ea3d0b0d6629440b2ca666167a986.tar.gz
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>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-xMAKEALL6
1 files changed, 3 insertions, 3 deletions
diff --git a/MAKEALL b/MAKEALL
index 6ce22c5..6999d64 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="$?"