From 783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e Mon Sep 17 00:00:00 2001 From: Marlon James Date: Wed, 3 Mar 2021 10:33:56 -0800 Subject: VHPI: add initial minimal implementation Minimal implementation of VHPI provides library loading and error support. Calling most vhpi_* functions will raise a VHPI error condition. Incorporates VHPI thunks into libghdlvpi for linking. --- src/grt/Makefile.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/grt/Makefile.inc') diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc index ab8ca34a9..860c91344 100644 --- a/src/grt/Makefile.inc +++ b/src/grt/Makefile.inc @@ -92,7 +92,7 @@ GRT_FST_OBJS := fstapi.o lz4.o fastlz.o # Additionnal object files (C or asm files). GRT_BASE_C_OBJS:=$(GRT_TARGET_OBJS) grt-cstdio.o grt-cgnatrts.o -GRT_ADD_OBJS:=$(GRT_BASE_C_OBJS) grt-cvpi.o grt-cdynload.o $(GRT_FST_OBJS) +GRT_ADD_OBJS:=$(GRT_BASE_C_OBJS) grt-cvpi.o grt-cvhpi.o grt-cdynload.o $(GRT_FST_OBJS) # Source files create by grt. GRT_SRC_DEPS:=grt-backtraces-impl.ads @@ -195,6 +195,12 @@ grt-cvpi.o: $(GRTSRCDIR)/grt-cvpi.c pic/grt-cvpi.o: $(GRTSRCDIR)/grt-cvpi.c $(GRT_C_COMPILE_PIC) +grt-cvhpi.o: $(GRTSRCDIR)/grt-cvhpi.c + $(GRT_C_COMPILE) + +pic/grt-cvhpi.o: $(GRTSRCDIR)/grt-cvhpi.c + $(GRT_C_COMPILE_PIC) + grt-cdynload.o: $(GRTSRCDIR)/grt-cdynload.c $(GRT_C_COMPILE) -- cgit v1.2.3