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

Eric W. Biederman (ebiederm@xmission.com)
13 Oct 2002 23:46:24 -0600


Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> writes:

> 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)

Cool. With a setup that clean I think I can break the multiple firmware
code out easily as well.

firmware-y := firmware-pcbios
firmware-$(CONFIG_LINUXBIOS) := firmware-linuxbios
...
FIRMWARE := $(firmware-y)

I had it broken out cleanly earlier, but everyone was concentrating
on other things and I just haven't been able to get back to that
stuff until this week. It will be a little tight coming in under
the wire with working code but we will see.

Unless someone has some objections...

Eric
-
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/