summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-17 07:19:34 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-17 07:19:34 +0200
commitba61925071ec2da067226183d18964b4b215fea5 (patch)
tree47618cb7495b3e76b7b36435038de6e4986c71ab
parent9ae559b9909a5042cb60b44b020d87b3d5b60b8b (diff)
Added commit count to devel version number
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7e8c7042..5a75320c 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