9
0
Fork 0

MAKEALL: remove false positive error check

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@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Masahiro Yamada 2015-02-03 19:14:45 +09:00 committed by Sascha Hauer
parent 5e1f14d960
commit 7aa78c3709
1 changed files with 0 additions and 7 deletions

View File

@ -256,13 +256,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