Re: [PATCH] Summit support for 2.5 [0/4]

From: Greg KH (greg@kroah.com)
Date: Sun Oct 13 2002 - 22:02:47 EST


On Sun, Oct 13, 2002 at 09:49:33PM -0500, Kai Germaschewski wrote:
> On Sun, 13 Oct 2002, Greg KH wrote:
>
> > +ifeq ($(CONFIG_SUMMIT),y)
> > +MACHINE = mach-summit
> > endif
> >
> > Can make handle reassigning a variable?
>
> Sure.
>
> You could even do
>
> machine-y := mach-generic
> machine-$(CONFIG_SUMMIT) := mach-summit
> ...
> MACHINE := $(machine-y)

Oooh, nice. You might want to go fix up arch/arm/Makefile, as that's
where I took my above example from :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:48 EST