From 26225719a11c42308283e7b9997bdd4b31b508a0 Mon Sep 17 00:00:00 2001 From: occheung Date: Fri, 25 Sep 2020 11:24:58 +0800 Subject: [PATCH] make: simplify --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 8a738cb..3548180 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,5 @@ -fpga_config: fpga_config.rs - openocd -f openocd/openocd.cfg -f openocd/fpga-config.cfg - -fpga_config.rs: top.bin - cargo build --example fpga_config - -top.bin: - python3 migen/fpga_config.py +fpga_config: main.rs + openocd -f openocd/openocd.cfg -f openocd/main.cfg +main.rs: top.bin + cargo build --release