From: Clifford Wolf Date: Wed, 17 Sep 2014 05:19:34 +0000 (+0200) Subject: Added commit count to devel version number X-Git-Tag: yosys-0.4~119 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba61925071ec2da067226183d18964b4b215fea5;p=yosys.git Added commit count to devel version number --- diff --git a/Makefile b/Makefile index 7e8c7042b..5a75320c3 100644 --- a/Makefile +++ b/Makefile @@ -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