[U-Boot] MAKEALL
Simon Glass
sjg at chromium.org
Tue Oct 18 19:39:45 CEST 2011
Hi,
On Tue, Oct 18, 2011 at 10:01 AM, Mike Frysinger <vapier at 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.
Yes I think this is along the right track. I tried MAKEALL a long time
ago and it didn't work (just got an error about incorrect
architecture) so I assumed it was broken. Apart from full docs, it
would be good to have a place to download all the toolchains needed
for MAKEALL.
Regards,
Simon
> -mike
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list