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

Attachment: buildall
Description: application/shellscript

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to