mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
Fix missing config_reg.h error when non-author .git repository
This commit is contained in:
parent
5771ea48ef
commit
d34bc6f304
@ -46,6 +46,10 @@ export OBJCACHE_JOBS := -j $(shell objcache --jobs "$(OBJCACHE_HOSTS)")
|
||||
export OBJCACHE := @objcache --read --write
|
||||
endif
|
||||
|
||||
UNDER_GIT = $(wildcard ../.git)
|
||||
|
||||
#*********************************************************************
|
||||
|
||||
obj_opt:
|
||||
mkdir $@
|
||||
obj_dbg:
|
||||
@ -71,7 +75,7 @@ dbg: ../verilator_bin_dbg
|
||||
|
||||
prefiles::
|
||||
|
||||
ifeq ($(VERILATOR_AUTHOR_SITE),1) # Local... Else don't burden users
|
||||
ifneq ($(UNDER_GIT),) # If local git tree... Else don't burden users
|
||||
prefiles:: config_rev.h
|
||||
# This output goes into srcdir, as we need to distribute it as part of the kit.
|
||||
config_rev.h: config_rev.pl ../.git/index
|
||||
|
Loading…
Reference in New Issue
Block a user