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@xxxxxxxxxxxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox