Re: xfs: Makefile-linux-2.6 => Makefile?

From: Eric Sandeen
Date: Mon Jan 09 2006 - 16:22:27 EST


Sam Ravnborg wrote:
On Mon, Jan 09, 2006 at 03:03:57PM -0600, Eric Sandeen wrote:


Out of curiosity, what's the reason to drop VERSION & PATCHLEVEL... seems handy if you have a common body of code that needs to build for various kernels, with various Makefiles to suit. As above. :)

The kernel is supposed to hold the code for the kernel - not a lot of
backward compatibiliy cruft.

Understood, and it makes sense to yank that compat cruft from kernel.org codebases.

But it seems useful for projects outside the kernel which would like to know which kernel they are building against, as far as the build system goes. I've seen a few drivers out there that try to keep building for both 2.4 & 2.6.

I guess for 2.4 & 2.6, the same can be accomplished by using Makefile and Kbuild for 2.4 and 2.6....

Maybe you can export it only if KBUILD_EXTMOD is set :)

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