Skip to content

Commit a8914d7

Browse files
committed
Makefile: Add install.vpi.local and mention it.
1 parent 53829ef commit a8914d7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Makefile.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,11 @@ install.vpi: all.vpi install.dirs
405405
$(INSTALL_DATA) -p libghdlvpi$(SOEXT) $(DESTDIR)$(libdir)/
406406
$(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h $(DESTDIR)$(incdir)/
407407

408+
install.vpi.local: all.vpi
409+
$(MKDIR) -p include lib
410+
$(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h include/
411+
$(INSTALL_DATA) -p libghdlvpi$(SOEXT) lib/
412+
408413
################ Libraries ###############################################
409414

410415
LIBSRC_DIR:=$(srcdir)/libraries

doc/building/gcc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GCC Backend
2323
$ make ghdl_gcc # Build the driver
2424
$ make libs.vhdl.local_gcc # Compile the vhdl libraries
2525
$ make grt-all # Build the GHDL runtime
26-
$ make grt.links # Locally install the GHDL runtime
26+
$ make install.vpi.local # Locally install vpi files
2727

2828
In ``src/ortho/gcc``, create a ``Makefile.conf`` file that sets the following
2929
variables:

0 commit comments

Comments
 (0)