summaryrefslogtreecommitdiff
path: root/debian/patches/01_gitrevision.patch
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-09-23 07:22:17 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2016-09-23 07:22:17 +0200
commit2fba240fc8ec65b60c6cba2ffa022ca532a6817e (patch)
tree1313936a710208f6202de27e35a0cb826d48f056 /debian/patches/01_gitrevision.patch
parente8ba8a500ab8474e1d59a1a4fc20db8f0c38b4f0 (diff)
Refreshed patches
Diffstat (limited to 'debian/patches/01_gitrevision.patch')
-rw-r--r--debian/patches/01_gitrevision.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/debian/patches/01_gitrevision.patch b/debian/patches/01_gitrevision.patch
index 13c4b254..e9bf8645 100644
--- a/debian/patches/01_gitrevision.patch
+++ b/debian/patches/01_gitrevision.patch
@@ -7,19 +7,21 @@ Subject: Compilation from the upstream code depends on being in the git
Forwarded: doesn't make sense upstream
---
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
-index ce0c737..b8f4ffd 100644
+index fd31776..da69b01 100644
--- a/Makefile
+++ b/Makefile
-@@ -69,7 +69,7 @@ else
+@@ -72,8 +72,8 @@ else
+ LDLIBS += -lrt
endif
- YOSYS_VER := 0.6
+-YOSYS_VER := 0.6+$(shell 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)
-+GIT_REV := 5869d26
++YOSYS_VER := 0.6+20160920git0c697b9
++GIT_REV := 0c697b9
OBJS = kernel/version_$(GIT_REV).o
# set 'ABCREV = default' to use abc/ as it is