Enable ENABLE_LIBYOSYS when ENABLE_PYOSYS is set
authorMiodrag Milanovic <mmicko@gmail.com>
Wed, 25 Mar 2020 09:02:56 +0000 (10:02 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Wed, 25 Mar 2020 09:02:56 +0000 (10:02 +0100)
Makefile

index 3c89fed20c38ebd67d6fa23f6325fbee2cbb665b..713b7c42389ba97d27b89d639199ad4d96db33b1 100644 (file)
--- 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