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