From 3f8f9b65e2630246a895722719b735001ecb27b0 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 4 May 2009 12:18:10 +0000 Subject: Flashrom 0.9.0 Corresponding to flashrom svn r454. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Peter Stuge --- Makefile | 6 ++---- flashrom.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2fa673e86..8445c6051 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 2c77ff364..689a77586 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[]) -- cgit v1.2.3