Added makefile formatting

This commit is contained in:
Adam Mooers 2023-08-23 22:09:34 -04:00
parent 2863c9a2d2
commit a9c6c1080c
1 changed files with 3 additions and 0 deletions

View File

@ -12,8 +12,10 @@ all: rtl_codegen build/digilent_arty/digilent_arty.bit arty.dtb mmio.py
rtl_codegen: rtl_codegen:
cd rtl && make cd rtl && make
csr.json build/digilent_arty/digilent_arty.bit: soc.py csr.json build/digilent_arty/digilent_arty.bit: soc.py
TFTP_SERVER_PORT=6969 python3 soc.py TFTP_SERVER_PORT=6969 python3 soc.py
clean: clean:
rm -rf build csr.json arty.dts arty.dtb mmio.py rm -rf build csr.json arty.dts arty.dtb mmio.py
cd rtl && make clean cd rtl && make clean
@ -22,6 +24,7 @@ test:
arty.dts: csr.json arty.dts: csr.json
litex_json2dts_linux csr.json > arty.dts litex_json2dts_linux csr.json > arty.dts
arty.dtb: arty.dts arty.dtb: arty.dts
dtc -O dtb -o arty.dtb arty.dts dtc -O dtb -o arty.dtb arty.dts