[U-Boot] [PATCH v6 08/20] sandbox: Add board info for architecture
Mike Frysinger
vapier at gentoo.org
Tue Oct 18 00:38:39 CEST 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildall
Type: application/x-shellscript
Size: 2285 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111017/7652fb49/attachment.bin
More information about the U-Boot
mailing list