add Makefile to software
This commit is contained in:
parent
50a3989e98
commit
7fa5431ea4
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue