![Damien George](/assets/img/avatar_default.png)
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
17 lines
409 B
Bash
Executable file
17 lines
409 B
Bash
Executable file
#!/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>"' \
|
|
FROZEN_DIR= \
|
|
QEMU_NET=0 \
|
|
"$@"
|