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-07-27 20:57:41 +0200
commit625d1bd9e9dc2928e048a550e974e245341acb26 (patch)
tree5f20f0c4f6b062666356aa4d396be805575bd8d3
parenta27f9b3f689ceda70c33016dd58573a56c75941b (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