Flashrom 0.9.0
Corresponding to flashrom svn r454.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
diff --git a/Makefile b/Makefile
index 2fa673e..8445c60 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,8 @@
all: pciutils dep $(PROGRAM)
-# Set the flashrom version string from the highest revision number
-# of the checked out flashrom files.
-SVNDEF := -D'FLASHROM_VERSION="$(shell svnversion -cn . \
- | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
+# Set the flashrom version string
+SVNDEF := -D'FLASHROM_VERSION="0.9.0"'
$(PROGRAM): $(OBJS)
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
diff --git a/flashrom.c b/flashrom.c
index 2c77ff3..689a775 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -326,7 +326,7 @@
void print_version(void)
{
- printf("flashrom r%s\n", FLASHROM_VERSION);
+ printf("flashrom v%s\n", FLASHROM_VERSION);
}
int main(int argc, char *argv[])