Re: [PATCH] Update fs Makefiles

Brian Gerst (bgerst@didntduck.org)
Tue, 20 May 2003 18:54:28 -0400


Kai Germaschewski wrote:
> On Tue, 20 May 2003 mikpe@csd.uu.se wrote:
>
>
>>Kai Germaschewski writes:
>> > o Possibly add "-y" support to 2.4 (it's a pretty trivial change)
>>
>>That's the worst thing you could do for those of us maintaining
>>2.4/2.5 compatibility in drivers etc.
>>Having to check "oh I'm in 2.4, let's see if I'm in 2.4.23 or
>>$VENDOR 2.4.blah because then these random 2.5-like changes occurred"
>>sucks like h*ll.
>
>
> It'd be an additional feature, i.e. if it causes trouble for the code you
> maintain, don't use it.
>
> People who want a Makefile which works in all 2.4 + vendor then would
> choose to stay with -objs, whereas people who prefer do have 2.4.latest
> and 2.5 in sync could use -y, like, I'd guess, USB.
>
> --Kai

Easiest way to maintain 2.4 compatability is to add:

foo-objs := $(foo-y)

--
				Brian Gerst

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