[coreboot] [PATCH] Add a real version number (not just revision) to flashrom output

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Apr 28 16:27:22 CEST 2009

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 <c-d.hailfinger.devel.2006 at gmx.net>

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/")"'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_version.diff
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090428/4b755e64/attachment.diff>

More information about the coreboot mailing list