Update Makefile

- Added back the elfdpi.h creation as it is required by build-dpi target
This commit is contained in:
Rahul Behl 2018-03-04 19:35:53 +05:30 committed by GitHub
parent 11afcad9c2
commit 381b90476f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,9 +93,9 @@ $(library)/.build-srcs: $(util) $(src)
touch $(library)/.build-srcs
# build TBs
$(library)/.build-tb: $(tbs)
$(library)/.build-tb: $(dpi) $(tbs)
# Compile top level
vlog$(questa_version) -sv $(tbs) -work $(library)
vlog$(questa_version) -sv $(tbs) -work $(library) $(filter %.c %.cc, $(dpi)) -ccflags "-g -std=c++11 " -dpiheader tb/dpi/elfdpi.h
touch $(library)/.build-tb
# compile DPIs