Re: Versioning of tree

From: David Vrabel
Date: Tue Oct 26 2004 - 06:50:26 EST


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