diff --git a/software/Makefile b/software/Makefile new file mode 100644 index 0000000..ca3658a --- /dev/null +++ b/software/Makefile @@ -0,0 +1,5 @@ +kernel: src/*.c ../firmware/overlay.dts ../firmware/io_pins.h + mkdir -p build + cd build && cmake $$(cat ../../firmware/overlay.config) -DDTC_OVERLAY_FILE=../firmware/overlay.dts -DBOARD=litex_vexriscv .. && make -j7 +clean: + rm -rf build diff --git a/software/mk.sh b/software/mk.sh deleted file mode 100755 index efa3a0d..0000000 --- a/software/mk.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -set -x - -mkdir -p build -cd build -cmake $(cat ../../firmware/overlay.config) -DDTC_OVERLAY_FILE=../firmware/overlay.dts -DBOARD=litex_vexriscv .. && make -j7