Skip to content

Commit

Permalink
Merge pull request #2520 from AlexandreSinger/feature-remove-warnings
Browse files Browse the repository at this point in the history
[Yosys][Warnings] Fixed Fatal Not Git Repo Warning
  • Loading branch information
vaughnbetz authored Mar 29, 2024
2 parents 7df2340 + 0edf6df commit 63675f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yosys/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ YOSYS_VER := 0.32
# back to calling git directly.
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
ifeq ($(TARBALL_GIT_REV),$$Format:%h$$)
GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
#GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
GIT_REV := $(shell echo UNKNOWN)
else
GIT_REV := $(TARBALL_GIT_REV)
endif
Expand Down

0 comments on commit 63675f9

Please sign in to comment.