Re: Versioning of tree

David Vrabel
2004-10-26T11:49:07Z

Ryan Anderson wrote:
>
> Well, here's a patch that adds -BKxxxxxxxx to LOCALVERSION when a
> top-level BitKeeper tree is detected.
> [...]
> LOCALVERSION = $(subst $(space),, \
> $(shell cat /dev/null $(localversion-files)) \
> + $(subst ",,$(localversion-bk)) \

Surely there's no need for this? Can't the script spit out an
appropriate localversion* file instead?

Tools like Debian's make-kpkg have to work out the kernel version (for
use in the package name etc.) and it would be preferable if the method
for generating the version didn't change too often.

David Vrabel
--
David Vrabel, Design Engineer

Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/