projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512f93f
)
Fixed version string for out-of-tree builds
author
Clifford Wolf
<clifford@clifford.at>
Fri, 14 Oct 2016 15:18:18 +0000
(17:18 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 14 Oct 2016 15:18:18 +0000
(17:18 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 01dbc5e12f93510d553929b5b5e530b4238417dd..9bde9b0b84b9a5eeb5b203f0e2057804aa0da138 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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