[U-Boot] [PATCH v6 08/20] sandbox: Add board info for architecture

Simon Glass sjg at chromium.org
Tue Oct 18 00:47:10 CEST 2011


-everyone else

Hi Mike,

On Mon, Oct 17, 2011 at 3:38 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Monday 17 October 2011 18:12:13 Simon Glass wrote:
>> Yes, but only with ARM or SANDBOX, sorry. I am set up for PPC now
>> although I do get errors with MAKEALL:
>
> MAKEALL is a pita for testing all arches.  i wrote a local script to make
> build testing a lot simpler.  see attached.
>
> it takes care of figuring out the right CROSS_COMPILE for the requested target,
> setting up ccache, and enabling private libgcc when possible.  the next thing
> i plan on adding is automatic archiving of compiled objects in a per-board dir
> so that i can easily compare the compiled differences between patches.
>
> so now i just run:
>        ../buildall
> (this will build *all* arches)
>
> or for a quick cross-arch smoke test:
>        ../buildall smoke
>
> or it takes any target that MAKEALL does:
>        ../buildall board board arch board arch etc...
>
> caveat: it assumes a tree layout like so:
> /usr/local/src/u-boot/
>  |- toolchains/         toolchains from http://kernel.org/
>  |  |- arm-linux/
>  |  |- avr32-linux/
>  |  |- ........
>  |  `- mips-linux/
>  `- tmpu/                       tree like git://git.denx.de/u-boot.git
> -mike
>

This looks great. Do you have a full link to one of the toolchains on
kernel.org please? - everything seems to have changed there.

Regards,
Simon


More information about the U-Boot mailing list