aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-03-11 01:08:36 -0700
committerClifford Wolf <clifford@clifford.at>2019-03-11 01:08:36 -0700
commitd9bb5f3637634ea214194b612aee4bb0c62d7a5c (patch)
treea31456d8153c13f3de1fa9da55c86b25da8be563 /Makefile
parentff4c2a14ae34eeb899c3cf0ca1109f0106b41679 (diff)
downloadyosys-d9bb5f3637634ea214194b612aee4bb0c62d7a5c.tar.gz
yosys-d9bb5f3637634ea214194b612aee4bb0c62d7a5c.tar.bz2
yosys-d9bb5f3637634ea214194b612aee4bb0c62d7a5c.zip
Add ENABLE_GLOB Makefile switch
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8e93cd285..b8fbcc040 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ CONFIG := clang
# features (the more the better)
ENABLE_TCL := 1
ENABLE_ABC := 1
+ENABLE_GLOB := 1
ENABLE_PLUGINS := 1
ENABLE_READLINE := 1
ENABLE_EDITLINE := 0
@@ -298,6 +299,10 @@ LDLIBS += -ldl
endif
endif
+ifeq ($(ENABLE_GLOB),1)
+CXXFLAGS += -DYOSYS_ENABLE_GLOB
+endif
+
ifeq ($(ENABLE_TCL),1)
TCL_VERSION ?= tcl$(shell bash -c "tclsh <(echo 'puts [info tclversion]')")
ifeq ($(OS), FreeBSD)