45cf76465c
Based on eg 1e6fd9f2b4
, it's understood that
the intention for unix builds is that regular builds disable assert, but
the coverage build should set -O0 and enable asserts.
It looks like this didn't work (even before variants were introduced, eg at
v1.11) -- coverage always built with -Os and -DNDEBUG.
This commit makes it possible for variants to have finer-grained control
over COPT flags, and enables assert() and -O0 on coverage builds.
Other variants already match the defaults so they have been updated.
14 lines
262 B
Makefile
14 lines
262 B
Makefile
# build a minimal interpreter
|
|
PROG = micropython-minimal
|
|
|
|
FROZEN_MANIFEST =
|
|
|
|
MICROPY_ROM_TEXT_COMPRESSION = 1
|
|
MICROPY_PY_BTREE = 0
|
|
MICROPY_PY_FFI = 0
|
|
MICROPY_PY_SOCKET = 0
|
|
MICROPY_PY_THREAD = 0
|
|
MICROPY_PY_TERMIOS = 0
|
|
MICROPY_PY_USSL = 0
|
|
MICROPY_USE_READLINE = 0
|