[U-Boot] MAKEALL

Tom Rini
2011-10-18T17:58:22Z

On Tue, Oct 18, 2011 at 10:01 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday 18 October 2011 02:23:10 Wolfgang Denk wrote:
>> ? ? ? Before sending the patch, you must run the MAKEALL script on
>> ? ? ? your patched source tree and make sure that no errors or
>> ? ? ? warnings are reported for any of the boards. Well, at least
>> ? ? ? not any more warnings than without your patch.
>>
>> ? ? ? It is strongly recommended to verify that out-of-tree building
>> ? ? ? (with "-O" make option resp. "BUILD_DIR" environment variable)
>> ? ? ? is still working. For example, run:
>>
>> ? ? ? $ BUILD_DIR=/tmp/u-boot-build ./MAKEALL
>>
>> Why is nobody doing this?
>
> because MAKEALL is a pita to use. ?it has no automatic CROSS_COMPILE support,
> and the current logic only allows one-CROSS_COMPILE-setting-per-run. ?so you
> have to run MAKEALL by hand once per arch.
>
> the documentation you quote only shows running MAKEALL for powerpc (since
> that's the default), so even the docs are a bit unclear.
>
> ideally, MAKEALL should be intelligent and automatically find an appropriate
> toolchain if one isn't setup in the env. ?much like the buildall script i
> posted recently.

If we're going to throw out feature requests, I'd like more than one
SoC family support.
I've got a wrapper around MAKEALL right now to build omap3 then omap4
then davinci.

--
Tom