[PATCH 1/7] boot: use a common zImage rule

Milton Miller miltonm at bga.com
Wed Mar 21 00:47:20 EST 2007


On Mar 19, 2007, at 10:30 PM, David Gibson wrote:

> On Mon, Mar 19, 2007 at 02:58:07PM -0600, Milton Miller wrote:
>> Before the plethora of platforms gets any worse, establish a common
>> rule to invoke the wrapper for any platform.  Add arguments to
>> the rule for initrd, dts, dtb, etc.   Show example usage with initrd.
>
> The problem with this patch is that while the wrap command can take a
> dts or dtb, there's no way to specify which should be used with each
> target.

I thought a bit about that before I posted, but didn't write anything.
We could add standard varable names dts-$(platform) dtb-$(platform),
since make would default such names as unset.

But this does raise the point, instead of listing the image names, 
should
we be seelcting the platforms and generating the image names with the
expansion.   That would save us stripping of zImage to get the platform
name in the rule.

I'll try to test this later.

Should I respin patch 3, add FORCE, without this so we can merge that
first?   I put this one first so there would be less adding rules that
would be removed later, but the other is really a bugfix and this is
a cleanup.

milton




More information about the Linuxppc-dev mailing list