This patch uses the svn version as the sublevel part of the coreboot
version string.
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info@coresystems.de •
http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
Signed-off-by: Stefan Reinauer
stepan@coresystems.de
Index: Makefile
===================================================================
--- Makefile (revision 647)
+++ Makefile (working copy)
@@ -23,7 +23,9 @@
VERSION = 3
PATCHLEVEL = 0
-SUBLEVEL = 0
+# Set the sublevel version string from the highest revision number
+# of the checked out files.
+SUBLEVEL := "$(shell svnversion -cn . \ | sed -e "s/.*://" -e "s/([0-9]*).*/\1/")"'
have_dotconfig := $(wildcard .config)