aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-02-21 23:13:14 +0100
committerClifford Wolf <clifford@clifford.at>2019-02-22 00:15:55 +0100
commit362ef36ccdcb3023f9db259b983c08811f794edd (patch)
tree20f0090545e30ebfb22b10e0d73353296e1cdde2 /Makefile
parent23148ffae14318bb34cb311eb13494e25ebf4593 (diff)
downloadyosys-362ef36ccdcb3023f9db259b983c08811f794edd.tar.gz
yosys-362ef36ccdcb3023f9db259b983c08811f794edd.tar.bz2
yosys-362ef36ccdcb3023f9db259b983c08811f794edd.zip
Fix Travis
It looks like that whole "Fixing Travis's git clone" code was just there to make the "git describe --tags" work. I simply removed both. Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d83a71256..8e93cd285 100644
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,7 @@ LDFLAGS += -rdynamic
LDLIBS += -lrt
endif
-YOSYS_VER := 0.8+$(shell cd $(YOSYS_SRC) && test -e .git && { git log --author=clifford@clifford.at --oneline 4d4665b.. | wc -l; })
+YOSYS_VER := 0.8+$(shell cd $(YOSYS_SRC) && test -e .git && { git log --author=clifford@clifford.at --oneline 4d4665b.. 2> /dev/null | wc -l; })
GIT_REV := $(shell cd $(YOSYS_SRC) && git rev-parse --short HEAD 2> /dev/null || echo UNKNOWN)
OBJS = kernel/version_$(GIT_REV).o