Fix missing config_reg.h error when non-author .git repository

This commit is contained in:
Wilson Snyder 2008-07-14 10:48:57 -04:00
parent 5771ea48ef
commit d34bc6f304

View File

@ -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