From: Mike Frysinger Date: Fri, 11 Nov 2011 11:43:48 -0500 Subject: [U-Boot] [PATCH 1/2] Build u-boot.imx by default when board uses it In-Reply-To: <20111111133514.GC2895@bee.dooz.org> References: <1320932982-19967-1-git-send-email-loic.minier@linaro.org> <201111102051.46801.vapier@gentoo.org> <20111111133514.GC2895@bee.dooz.org> Message-ID: <201111111143.49086.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 Friday 11 November 2011 08:35:14 Lo?c Minier wrote: > On Thu, Nov 10, 2011, Mike Frysinger wrote: > > > CONFIG_IMX_CONFIG is set in boards.cfg. > > > > ugly undocumented CONFIG's are awesome > > > > this really should be in a subdir rather than the top level. we want > > to keep arch/soc-specific cruft out of the top level Makefile if > > possible. isn't there a sub-config.mk somewhere you could add the > > line unconditionally ? > > Can't see one, but Aneesh proposes the OMAP approach of > arch/arm/cpu/**/config.mk files. > > The CONFIG_IMX_CONFIG actually changes per-board, so the boards.cfg > approach to set it seems ok; however we could try defining the > u-boot.imx rule in a common i.MX makefile snippet somewhere. > > Perhaps arch/arm/cpu/armv7/config.mk or > arch/arm/cpu/armv7/mx5/Makefile, or a new file; I don't have a strong > opinion. if there's a config option to key off of, and it affects multiple arm arches/socs, then arch/arm/config.mk would probably be the best place to add the lines. maybe Albert has an opinion on the arch/arm/ layout. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111111/f78fdf28/attachment.pgp