[PATCH 4/5] MAKEALL: do not pass unneeded -C option to make

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Feb 3 02:14:47 PST 2015


We do not change the working directory in this script.
"-C ${here}" is not necessary.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 MAKEALL | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index dd4acb2..a4428fa 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -10,8 +10,6 @@ errors_list=""
 nb_defconfigs=0
 ret=0
 
-here=$(pwd)
-
 time_start=$(date +%s)
 
 filename=$(basename $0)
@@ -110,7 +108,7 @@ do_build_target() {
 		fi
 	fi
 
-	MAKE="make -C ${here} CROSS_COMPILE=${cross_compile} ARCH=${arch} O=${BUILDDIR}"
+	MAKE="make CROSS_COMPILE=${cross_compile} ARCH=${arch} O=${BUILDDIR}"
 	${MAKE} -j${JOBS} ${target} 2>&1 > "${log_report}" | tee "${log_err}"
 
 	check_pipe_status
-- 
1.9.1




More information about the barebox mailing list