Add build files

This commit is contained in:
Michal Moskal
2017-07-25 12:15:59 +01:00
parent 763a5c7436
commit 11bcf77402
7 changed files with 85 additions and 0 deletions

12
brick/Makefile Normal file
View File

@ -0,0 +1,12 @@
all: mod uf2
mod:
$(MAKE) -C .. MOD=d_usbdev M=`pwd`/kernel ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
@mkdir -p bin
cp kernel/*.ko bin/
uf2:
$(MAKE) -C uf2daemon
@mkdir -p bin
cp uf2daemon/server bin/uf2daemon