Commit 9e67585c authored by Carl-Daniel Hailfinger's avatar Carl-Daniel Hailfinger
Browse files

Onwards with development


Re-add the svn revision to the version string.

Corresponding to flashrom svn r457.
Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent 3f8f9b65
......@@ -38,8 +38,10 @@ OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.o \
all: pciutils dep $(PROGRAM)
# Set the flashrom version string
SVNDEF := -D'FLASHROM_VERSION="0.9.0"'
# Set the flashrom version string from the highest revision number
# of the checked out flashrom files.
SVNDEF := -D'FLASHROM_VERSION="0.9.0-r$(shell svnversion -cn . \
| sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
$(PROGRAM): $(OBJS)
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment