Added commit count to devel version number

This commit is contained in:
Clifford Wolf 2014-09-17 07:19:34 +02:00
parent 9ae559b990
commit ba61925071
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ else
LDLIBS += -lrt
endif
YOSYS_VER := 0.3.0+
YOSYS_VER := 0.3.0+$(shell test -d .git && { git log --author=clifford@clifford.at --oneline ca125bf41.. | wc -l; })
GIT_REV := $(shell git rev-parse --short HEAD 2> /dev/null || echo UNKNOWN)
OBJS = kernel/version_$(GIT_REV).o