aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2020-03-25 10:02:56 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2020-03-25 10:02:56 +0100
commitaad92abce9738e5e7d0fb934ea16749c1b1e2cfe (patch)
treee51ff5c981c73c6f59ebdbee040e43097964d8df /Makefile
parentc9555c9adeba886a308c60615ac794ec20d9276e (diff)
downloadyosys-aad92abce9738e5e7d0fb934ea16749c1b1e2cfe.tar.gz
yosys-aad92abce9738e5e7d0fb934ea16749c1b1e2cfe.tar.bz2
yosys-aad92abce9738e5e7d0fb934ea16749c1b1e2cfe.zip
Enable ENABLE_LIBYOSYS when ENABLE_PYOSYS is set
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3c89fed20..713b7c423 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,10 @@ ifneq ($(wildcard Makefile.conf),)
include Makefile.conf
endif
+ifeq ($(ENABLE_PYOSYS),1)
+ENABLE_LIBYOSYS := 1
+endif
+
BINDIR := $(PREFIX)/bin
LIBDIR := $(PREFIX)/lib
DATDIR := $(PREFIX)/share/yosys