From 3dd64034d24b93a65d98ba322516d34e9e827f90 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Mon, 26 Feb 2024 04:11:09 +0000 Subject: [PATCH] fix compile by adding SPI makefile --- gateware/rtl/Makefile | 7 +++---- gateware/rtl/spi/Makefile | 7 +++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 gateware/rtl/spi/Makefile diff --git a/gateware/rtl/Makefile b/gateware/rtl/Makefile index e0e97ea..702d664 100644 --- a/gateware/rtl/Makefile +++ b/gateware/rtl/Makefile @@ -3,11 +3,10 @@ # For license terms, refer to the files in `doc/copying` in the Upsilon # source distribution. -all: - echo "dummy" +all: make_spi -#make_spi: -# cd spi && make codegen +make_spi: + cd spi && make codegen #make_bram: diff --git a/gateware/rtl/spi/Makefile b/gateware/rtl/spi/Makefile new file mode 100644 index 0000000..38fee98 --- /dev/null +++ b/gateware/rtl/spi/Makefile @@ -0,0 +1,7 @@ +include ../common.makefile +.PHONY: codegen + +codegen: spi_master_preprocessed.v + +clean: + rm spi_master_preprocessed.v