Re: kbuild / KERNELRELEASE not rebuild correctly anymore

From: Kyle Moffett
Date: Sun Jan 15 2006 - 18:27:46 EST


On Jan 15, 2006, at 09:26, René Rebe wrote:
Hi,

On Sunday 15 January 2006 13:31, Sam Ravnborg wrote:
I'm curious, aside rsbac, what in the .config is altering the
KERNELRELEASE?

CONFIG_LOCALVERSION
CONFIG_LOCALVERSION_AUTO

Ah, ok - I feared something less obviously more complex. Do we need this options at all? People can still just edit the EXTRAVERSION line in the Makefile - at least I always did so ...

It makes it easy for people who build a lot of different kernel versions and patchsets with similar configs. When compiling a kernel for "aphrodite", I use my "config.aphrodite4" which has CONFIG_LOCALVERSION="-aphrodite4". I may patch the kernel first with -mm or another patchset for testing which modify EXTRAVERSION, and with the localversion change I get the following kernels, depending only on patchset and my config:

/boot/vmlinuz-2.6.15-aphrodite4
/boot/vmlinuz-2.6.15-mm4-aphrodite4
[...etc...]

Cheers,
Kyle Moffett

--
Somone asked me why I work on this free (http://www.fsf.org/ philosophy/) software stuff and not get a real job. Charles Schulz had the best answer:

"Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life."
-- Charles Schulz


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