From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 18 Oct 2011 13:01:56 -0400 Subject: [U-Boot] MAKEALL In-Reply-To: <20111018062310.61320140797D@gemini.denx.de> References: <20111018062310.61320140797D@gemini.denx.de> Message-ID: <201110181301.57390.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 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. -mike