Add a real version number (not just revision) to flashrom output.

Once this patch is committed, I'll make the release announcement.
However, I'll hold off committing this until the pending documentation
(and Solaris build) patches are in. Feel free to ack now and tell me
which patches you want in 0.9.0 before I commit.

Signed-off-by: Carl-Daniel Hailfinger <[email protected]>

Index: flashrom-version/Makefile
===================================================================
--- flashrom-version/Makefile   (revision 445)
+++ flashrom-version/Makefile   (working copy)
@@ -40,7 +40,7 @@
 
 # Set the flashrom version string from the highest revision number
 # of the checked out flashrom files.
-SVNDEF := -D'FLASHROM_VERSION="$(shell svnversion -cn . \
+SVNDEF := -D'FLASHROM_VERSION="0.9.0-$(shell svnversion -n . \
           | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
 
 $(PROGRAM): $(OBJS)


-- 
http://www.hailfinger.org/

Index: flashrom-version/Makefile
===================================================================
--- flashrom-version/Makefile	(revision 445)
+++ flashrom-version/Makefile	(working copy)
@@ -40,7 +40,7 @@
 
 # Set the flashrom version string from the highest revision number
 # of the checked out flashrom files.
-SVNDEF := -D'FLASHROM_VERSION="$(shell svnversion -cn . \
+SVNDEF := -D'FLASHROM_VERSION="0.9.0-$(shell svnversion -n . \
           | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
 
 $(PROGRAM): $(OBJS)
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to