Skip to contentSkip to conversation

save kernel version in .config file

PATCH The Viking 1 participant 1 message Jun 27, 2004

lore
Share & tools
lore

The Viking

author
#0 lore raw

-------- Original Message --------
References: <[email protected]> <[email protected]>

On Fri, 18 Jun 2004 08:38:58 +0200 Paul Rolland wrote:

| Hello,
|
| >
| > Is this interesting to anyone besides me?
| >
| Is it also possible to have this version being displayed during
| a make config/make menuconfig/... so that we know we are reading a
| config file that may have been generated for another kernel version,
| and not yet saved ?
|
| You would have, for make menuconfig :
|
|  Linux Kernel v2.2.13 Configuration, Configuration file version 2.4.20
Quoted 4 lines

Sure, it's possible. I just don't want to add the kitchen sink.

IOW, I'm not convinced that it's useful most of the time... only a little bit of the time.

My two cents worth:
I'd show it if it differed in kernel version, otherwise not. If this code is all relatively self contained, such as all being within the menuconfig/xconfig code, then it won't affect the running of the kernel. And yes, it would mean a little more code in place, but we're waiting for keyboard strokes in this code, or viewing its output. It's not timing-critical.

Sorry I took so long to get to this, but I've only caught up to this point.

Signature · 3 lines
2,313 messages to read, 2,313 messages to read - damn, Thunderbird just refreshed, 2,847 messages to read, ... (ad nauseum vibrum kernel)

The Viking of the Flying Brick System