[U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_

Masahiro Yamada
2013-10-17T08:48:50Z

Hello Albert.

> What issue does this change fix?

MAKEALL supports the environment variable CROSS_COMPILE_<ARCH>.

MAKEALL --help says like follows:

CROSS_COMPILE_<ARCH> cross-compiler toolchain prefix for
architecture "ARCH". Substitute "ARCH" for any

This feature is useful when you want to build
various architectures at a time.

For example, you can use it like this:

CROSS_COMPILE_ARM=arm-linux-gnueabi- \
CROSS_COMPILE_POWERPC=powerpc-linux-gnu- \
CROSS_COMPILE_SH=sh4-linux- \
./MAKEALL -a arm -a powerpc -a sh

Commit 27af930e broke this feature,
so I want to fix this.

Best Regards
Masahiro Yamada