Minimal config can be now build with: ./make-minimal BOARD=... This is required because of Makefile.exports magic, which in its turn depends on PROJ_CONF to be set correctly at the beginning of Makefile parsing at all times. Instead of adding more and more workarounds for that, it's better to just move minimal support to a separate wrapper. Also, remove Zephyr 1.5 era cruft from Makefile, and add support for Zephyr's "run" target which supercedes older "qemu" target in upstream.crypto-aes
parent
736a8a8ac7
commit
40e541063f
@ -0,0 +1,16 @@
|
||||
#!/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 \
|
||||
"$@"
|
Loading…
Reference in new issue