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