diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | flashrom.c | 2 |
2 files changed, 3 insertions, 5 deletions
@@ -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) @@ -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[]) |