2017-03-12 20:41:19 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# This is a wrapper for make to build a "minimal" Zephyr port.
|
|
|
|
# It should be run just like make (i.e. extra vars can be passed on the
|
|
|
|
# command line, etc.), e.g.:
|
|
|
|
#
|
|
|
|
# ./make-minimal BOARD=qemu_cortex_m3
|
|
|
|
# ./make-minimal BOARD=qemu_cortex_m3 run
|
|
|
|
#
|
|
|
|
|
|
|
|
make \
|
|
|
|
CONF_FILE=prj_minimal.conf \
|
|
|
|
CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_minimal.h>"' \
|
2020-06-14 07:23:09 +01:00
|
|
|
MICROPY_VFS_FAT=0 \
|
|
|
|
MICROPY_VFS_LFS2=0 \
|
2017-03-12 20:41:19 +00:00
|
|
|
FROZEN_DIR= \
|
|
|
|
QEMU_NET=0 \
|
|
|
|
"$@"
|