From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH/RFC] Add cmd_wrap_dts rules to arch/powerpc/boot/Makefile From: Jon Loeliger To: "Mark A. Greer" In-Reply-To: <20070111004048.GA27351@mag.az.mvista.com> References: <20061019002635.GA2356@mag.az.mvista.com> <20061019195156.GB6586@mag.az.mvista.com> <20070111004048.GA27351@mag.az.mvista.com> Content-Type: text/plain Message-Id: <1168631458.19605.34.camel@cashmere.sps.mot.com> Mime-Version: 1.0 Date: Fri, 12 Jan 2007 13:50:59 -0600 Cc: Jon Loeliger , linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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