Skip to content

Commit 63675f9

Browse files
authored
Merge pull request #2520 from AlexandreSinger/feature-remove-warnings
[Yosys][Warnings] Fixed Fatal Not Git Repo Warning
2 parents 7df2340 + 0edf6df commit 63675f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

yosys/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ YOSYS_VER := 0.32
149149
# back to calling git directly.
150150
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
151151
ifeq ($(TARBALL_GIT_REV),$$Format:%h$$)
152-
GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
152+
#GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
153+
GIT_REV := $(shell echo UNKNOWN)
153154
else
154155
GIT_REV := $(TARBALL_GIT_REV)
155156
endif

0 commit comments

Comments
 (0)