aboutsummaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-08-19 05:05:05 +0200
committerTristan Gingold <tgingold@free.fr>2017-08-19 05:05:05 +0200
commite879d9691ac85c5334b2bf27e5fb35c755e2b879 (patch)
treed31910968c49caab906168fca7bfac9dcfdce9a4 /libraries
parenta1126998bf603d410f440a068eeaa3047b7c31a3 (diff)
downloadghdl-e879d9691ac85c5334b2bf27e5fb35c755e2b879.tar.gz
ghdl-e879d9691ac85c5334b2bf27e5fb35c755e2b879.tar.bz2
ghdl-e879d9691ac85c5334b2bf27e5fb35c755e2b879.zip
Add --enable-openieee to configure
Diffstat (limited to 'libraries')
-rw-r--r--libraries/Makefile.inc10
1 files changed, 3 insertions, 7 deletions
diff --git a/libraries/Makefile.inc b/libraries/Makefile.inc
index 05c632559..16783684e 100644
--- a/libraries/Makefile.inc
+++ b/libraries/Makefile.inc
@@ -28,13 +28,9 @@
vhdl.libs.all: vhdl.libs.v87 vhdl.libs.v93 vhdl.libs.v08
-ifeq ($(wildcard ieee), ieee)
-full_library=y
-else
-full_library=n
-endif
+enable_openieee=false
-ifeq ($(full_library),y)
+ifeq ($(enable_openieee),false)
# Full libraries
vhdl.libs.v87: std.v87 ieee.v87 synopsys.v87
vhdl.libs.v93: std.v93 ieee.v93 synopsys.v93 mentor.v93
@@ -55,7 +51,7 @@ SYNOPSYS_V_BSRCS := synopsys/std_logic_misc.vhdl \
SYNOPSYS8793_BSRCS := synopsys/std_logic_textio.vhdl
MENTOR_BSRCS := mentor/std_logic_arith.vhdl mentor/std_logic_arith_body.vhdl
-ifeq ($(full_library),y)
+ifeq ($(enable_openieee),false)
IEEE_SRCS := ieee/std_logic_1164.vhdl ieee/std_logic_1164_body.vhdl \
ieee/numeric_bit.vhdl ieee/numeric_bit-body.vhdl \
ieee/numeric_std.vhdl ieee/numeric_std-body.vhdl