blob: fd31dbbf912d74fd568667e1850048884ced71c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Sat, 14 May 2016 15:44:12 +0200
Subject: Compilation from the upstream code depends on being in the git
repository to get the correct git-revision to be shown when running the
program. This patch puts in the git revision from the correct upstream. It
must be updated every time upstream changes!
Forwarded: doesn't make sense upstream
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 8586e97..ea66859 100644
--- a/Makefile
+++ b/Makefile
@@ -101,8 +101,8 @@ LDFLAGS += -rdynamic
LDLIBS += -lrt
endif
-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)
+YOSYS_VER := 0.8+20190328git32bd0f2
+GIT_REV := 32bd0f2
OBJS = kernel/version_$(GIT_REV).o
# set 'ABCREV = default' to use abc/ as it is
|