[U-Boot] MAKEALL

Mike Frysinger
2011-10-18T18:11:02Z

On Tuesday 18 October 2011 13:58:22 Tom Rini wrote:
> On Tue, Oct 18, 2011 at 10:01 AM, Mike Frysinger 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.

well, i think yours has a much easier chance of being implemented. and should
be trivial to do with boards_by_soc. although i think i have a better idea.
i'll post a patch.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111018/b2b0af6a/attachment.pgp