[PATCH/RFC] Add cmd_wrap_dts rules to arch/powerpc/boot/Makefile

Jon Loeliger jdl at freescale.com
Sat Jan 13 06:50:59 EST 2007


On Wed, 2007-01-10 at 18:40, Mark A. Greer wrote:
> On Thu, Oct 19, 2006 at 12:51:56PM -0700, Mark A. Greer wrote:
> > On Thu, Oct 19, 2006 at 09:03:18AM -0500, Jon Loeliger wrote:
> > > So, like, the other day "Mark A. Greer" mumbled:
> > > > 
> > > > This would be used by the sandpoint, say, by adding the following rules
> > > > to the Makefile in the appropriate places:
> > > > 
> > > > 	$(obj)/zImage.sandpoint: vmlinux $(wrapperbits)
> > > > 		$(call cmd,wrap_dts,sandpoint)
> > > > 
> > > > 	$(obj)/zImage.initrd.sandpoint: vmlinux $(wrapperbits)
> > > > 		$(call cmd,wrap_dts_initrd,sandpoint)
> > > > 
> > > > and:
> > > > 
> > > > 	image-$(CONFIG_SANDPOINT)               += zImage.sandpoint
> > > > 
> > > > Comments?
> > > 
> > > Isn't there a way to do this without hardcoding the
> > > platform name in the makefiles directly?  I fear for
> > > the one-per-platform effect that is yet to come with
> > > the conversion of many of the legacy boards.
> 
> Okay, its been a while so let's see if anyone remembers and/or cares
> anymore.  :)

We care.  We care deeply.  We've just all been on vacation. :-)

Scott Wood (here) has recently pushed around a patch
internally that is very similar and much more comprehensive,
though I confess I've not really studied it.  He mumbled
something about prepping it to send out when he gets back.
And I think that will be Monday.

jdl





More information about the Linuxppc-dev mailing list