Re: kbuild: Support LOCALVERSION

From: Sam Ravnborg
Date: Wed Sep 01 2004 - 08:17:28 EST


> On Tue, 31 Aug 2004, Sam Ravnborg wrote:
>> This allows one to put a short string in localversion identifying this
>> particular configuration "-smpacpi", or to identify applied patches
>> to the source "-llat-np".
>>
>> More specifically:
>> $(srctree)/localversion-lowlatency contains "-llat"
>> $(srctree)/localversion-scheduler-nick constins "-np"
>>
>> $(objtree)/localversion contains "-smpacpi"
>>
>> Resulting KERNELRELEASE would be:
>> 2.6.8.rc1-smpacpi-llat-np
>
> Wouldn't it make more sense the other way around (i.e. first append
> $(srctree)/localversion-*, then append $(objtree)/localversion*)?
>
> Hmm, from a second thought the order depends on what your most interested
> in:
> building kernels with different configs, or building kernels from
> different
> sources.
>
My rationale was that the config used would vary more than the source.
I also thought about sorting the files - but if Andrew for example
start using this it would maybe come in the middle.
Therefore this more simple approach.

Sam


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