Simplify build

This commit is contained in:
Sergio R. Caprile 2023-01-17 13:54:22 -03:00
parent 2dc66b2e3b
commit 45f7afb3e1
2 changed files with 2 additions and 5 deletions

View File

@ -1,14 +1,10 @@
SDK_VERSION ?= 1.4.0
SDK_REPO ?= https://github.com/raspberrypi/pico-sdk
FILES_TO_EMBED ?= $(wildcard web_root/*)
example:
true
all build: pico-sdk
$(CC) ../../../test/pack.c -o pack
./pack $(FILES_TO_EMBED) > packed_fs.c
test -d build || mkdir build
cd build && cmake .. && make
@ -17,4 +13,4 @@ pico-sdk:
cd $@ && git submodule update --init
clean:
rm -rf pico-sdk build pack
rm -rf pico-sdk build

View File

@ -0,0 +1 @@
../../device-dashboard/packed_fs.c