summaryrefslogtreecommitdiff
path: root/debian/patches/add-missing-headers.patch
blob: af3eebd1405d4e51642cddb3a525bc6d889f1845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Sebastian Kuzminsky <seb@highlab.com>
Subject: Include all headers needed to build the yosys plugins.
Index: yosys/Makefile
===================================================================
--- yosys.orig/Makefile
+++ yosys/Makefile
@@ -268,6 +268,7 @@ $(eval $(call add_include_file,libs/ezsa
 $(eval $(call add_include_file,libs/sha1/sha1.h))
 $(eval $(call add_include_file,passes/fsm/fsmdata.h))
 $(eval $(call add_include_file,backends/ilang/ilang_backend.h))
+$(eval $(call add_include_file,frontends/ast/ast.h))
 
 OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o kernel/yosys.o kernel/cellaigs.o
 kernel/log.o: CXXFLAGS += -DYOSYS_SRC='"$(YOSYS_SRC)"'