aboutsummaryrefslogtreecommitdiff
path: root/ports/zephyr/make-minimal
blob: d7dddc33427df5c5202e467911f490f7ffb4106f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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>"' \
    MICROPY_VFS_FAT=0 \
    MICROPY_VFS_LFS2=0 \
    FROZEN_DIR= \
    QEMU_NET=0 \
    "$@"