From: =?iso-8859-1?Q?Lo=EFc?= Minier Date: Fri, 11 Nov 2011 14:41:46 +0100 Subject: [U-Boot] Improve default "make" targets (ALL-y) In-Reply-To: References: <1320932982-19967-1-git-send-email-loic.minier@linaro.org> Message-ID: <20111111134146.GD2895@bee.dooz.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 Thu, Nov 10, 2011, Tom Rini wrote: > Any omap3/omap4/omap5/am335x where you generate MLO you want > u-boot.img rather than u-boot.bin, even for panda iirc. Thanks for the hint; I'll follow that rule for OMAP3/OMAP4 boards we build in Debian ATM; Aneesh pointed at the Makefile snippet which adds u-boot.img on omap3 and omap4 platforms, sounds good to me. There are other architectures where it's less obvious: Debian architecture board target ---------------------------------------------- avr32 hammerhead u-boot.img i386 eNET u-boot.bin mipsel dbau1100 u-boot.img mips qemu_mips u-boot.img powerpc ZUMA u-boot.img sh4 r2dplus u-boot.img sh4 sh7785lcr_32bit u-boot.img sparc gr_xc3s_1500 u-boot.img I didn't check for each of the single boards above, I wonder whether I can tell from the u-boot source code (if it's correct) whether indeed u-boot.img or u-boot.bin is the correct binary to ship for that board. [ Ideally, "make" would also build the right one, or perhaps "make install" or some other special target which represents the final deliverables for that board. ] -- Lo?c Minier