diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-10-14 17:18:18 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-10-14 17:18:18 +0200 |
commit | 7fc69b309599e91ed7e772722546b2e03e9fc4db (patch) | |
tree | ddacc49544b16b527344800d60cc74c04ecc01db | |
parent | 512f93f8663dc438c2afa35872fa3b39b87e5323 (diff) | |
download | yosys-7fc69b309599e91ed7e772722546b2e03e9fc4db.tar.gz yosys-7fc69b309599e91ed7e772722546b2e03e9fc4db.tar.bz2 yosys-7fc69b309599e91ed7e772722546b2e03e9fc4db.zip |
Fixed version string for out-of-tree builds
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ else LDLIBS += -lrt endif -YOSYS_VER := 0.6+$(shell test -e .git && { git log --author=clifford@clifford.at --oneline 5869d26da021.. | wc -l; }) +YOSYS_VER := 0.6+$(shell cd $(YOSYS_SRC) && test -e .git && { git log --author=clifford@clifford.at --oneline 5869d26da021.. | wc -l; }) GIT_REV := $(shell cd $(YOSYS_SRC) && git rev-parse --short HEAD 2> /dev/null || echo UNKNOWN) OBJS = kernel/version_$(GIT_REV).o |