summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-05-14 15:44:12 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-09-04 20:00:14 +0200
commit6cc31e6f1dd606e15336e0c160d0b3f10bd4fbab (patch)
tree23422dc1be57954b0cda491d990616f42ad15c79
parent42942203476b47ac8ec62671e4c133b7c7fceab3 (diff)
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 Gbp-Pq: Name 01_gitrevision.patch
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a61fe65..27eb998f 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ else
endif
YOSYS_VER := 0.7
-GIT_REV := $(shell cd $(YOSYS_SRC) && git rev-parse --short HEAD 2> /dev/null || echo UNKNOWN)
+GIT_REV := 61f6811
OBJS = kernel/version_$(GIT_REV).o
# set 'ABCREV = default' to use abc/ as it is