From: Mike Frysinger Date: Mon, 17 Oct 2011 18:38:39 -0400 Subject: [U-Boot] [PATCH v6 08/20] sandbox: Add board info for architecture In-Reply-To: References: <1318270953-32482-1-git-send-email-sjg@chromium.org> <20111017215740.E81051408742@gemini.denx.de> Message-ID: <201110171838.40626.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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