summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--flashrom.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2fa673e..8445c60 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,8 @@ OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.o \
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 usage(const char *name)
void print_version(void)
{
- printf("flashrom r%s\n", FLASHROM_VERSION);
+ printf("flashrom v%s\n", FLASHROM_VERSION);
}
int main(int argc, char *argv[])
OpenPOWER on IntegriCloud