[U-Boot] MAKEALL
Mike Frysinger
vapier at gentoo.org
Tue Oct 18 19:01:56 CEST 2011
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.
-mike
More information about the U-Boot
mailing list