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

Masahiro Yamada
2013-10-17T10:09:00Z

Hello Albert

> > Commit 27af930e broke this feature,
> > so I want to fix this.
>
> Sorry, I have been unclear. How exactly does the commit break this
> feature? What worked before it which does not work after?

A quite simple test.

$ git checkout 27af930e^
$ CROSS_COMPILE_ARM=arm-linux-gnueabi- ./MAKEALL -a arm
Configuring for integratorcp_cm1136 - Board: integratorcp, Options: CM1136
text data bss dec hex filename
160402 6164 16156 182722 2c9c2 ./u-boot
Configuring for imx31_phycore board...
text data bss dec hex filename
144449 5162 21016 170627 29a83 ./u-boot

...

$ git checkout 27af930e
$ CROSS_COMPILE_ARM=arm-linux-gnueabi- ./MAKEALL -a arm
Configuring for integratorcp_cm1136 - Board: integratorcp, Options: CM1136
make: *** [lib/asm-offsets.s] Error 127
size: './u-boot': No such file
/bin/bash: arm-linux-gcc: command not found
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: line 3: arm-linux-gcc: command not found
/bin/bash: line 3: arm-linux-gcc: command not found
/bin/bash: arm-linux-gcc: command not found
/bin/bash: arm-linux-gcc: command not found

...

Note:
I am using arm-linux-gnueabi-gcc, not arm-linux-gcc

Best Regards
Masahiro Yamada