make: simplify

This commit is contained in:
occheung 2020-09-25 11:24:58 +08:00
parent 235ddaaf39
commit 26225719a1
1 changed files with 4 additions and 8 deletions

View File

@ -1,9 +1,5 @@
fpga_config: fpga_config.rs fpga_config: main.rs
openocd -f openocd/openocd.cfg -f openocd/fpga-config.cfg openocd -f openocd/openocd.cfg -f openocd/main.cfg
fpga_config.rs: top.bin
cargo build --example fpga_config
top.bin:
python3 migen/fpga_config.py
main.rs: top.bin
cargo build --release