[PATCH 2/5] MAKEALL: remove false positive error check

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


CROSS_COMPILE is not necessary in some cases:
 - Sandbox
 - Native build
   (e.g. when you build barebox for ARM on the ARM Linux system)
 - If CONFIG_CROSS_COMPILE is supported like Linux in the future,
   CROSS_COMPILE might be set by Kbuild.

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

 MAKEALL | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index 9a56ceb..67e6a60 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -255,13 +255,6 @@ then
 	REGEX="*"
 fi
 
-if [ ! "${CONFIG}" ] && [ ! "${CROSS_COMPILE+set}" ]
-then
-	echo "You need to specify a CONFIG or a CROSS_COMPILE"
-	usage
-	exit 1
-fi
-
 if [ ! "${ARCH}" ] || [ ! -d arch/${ARCH} ]
 then
 	do_build_all
-- 
1.9.1




More information about the barebox mailing list