aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Maehne <Torsten.Maehne@gmx.de>2019-05-01 15:49:58 +0200
committertgingold <tgingold@users.noreply.github.com>2019-05-01 17:29:59 +0200
commite016397ff27e9fe5ee04693c903fcad9144a110e (patch)
treec46c3c8639bec763d2041d80e710095dff12eed8
parent0a0fc18db7e506586e1b64fbeb9bff294425f219 (diff)
downloadghdl-e016397ff27e9fe5ee04693c903fcad9144a110e.tar.gz
ghdl-e016397ff27e9fe5ee04693c903fcad9144a110e.tar.bz2
ghdl-e016397ff27e9fe5ee04693c903fcad9144a110e.zip
Install `std.standard` package VHDL source
The `std.standard` package VHDL source is generated with `ghdl --disp-standard --std=<87|93|08>` and redirected to `$PREFIX/lib/ghdl/src/std/standard.v<87|93|08>`. This fixes issue #802.
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index cb4d69a24..dd7c6b822 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -125,6 +125,10 @@ LIBVHDL_FLAGS_TO_PASS=\
all: Makefile all.$(backend) all.libghdl.$(enable_python)
install: install.$(backend)
+# Generate std.standard package VHDL source
+ $(DESTDIR)$(bindir)/ghdl$(EXEEXT) --disp-standard --std=87 > $(DESTDIR)$(VHDL_LIB_DIR)/src/std/standard.v87
+ $(DESTDIR)$(bindir)/ghdl$(EXEEXT) --disp-standard --std=93 > $(DESTDIR)$(VHDL_LIB_DIR)/src/std/standard.v93
+ $(DESTDIR)$(bindir)/ghdl$(EXEEXT) --disp-standard --std=08 > $(DESTDIR)$(VHDL_LIB_DIR)/src/std/standard.v08
check: check.$(backend)