circuitpython/ports/unix/variants/freedos/mpconfigvariant.mk
Jim Mussared bd2fff6687 unix: Add build variants, analogous to boards on bare-metal.
Invoking "make" will still build the standard "micropython" executable, but
other variants are now build using, eg, "make VARIANT=minimal".  This
follows how bare-metal ports specify a particular board, and allows running
any make target (eg clean, test) with any variant.

Convenience targets (eg "make coverage") are provided to retain the old
behaviour, at least for now.

See issue #3043.
2020-01-12 10:34:23 +11:00

21 lines
355 B
Makefile

CC = i586-pc-msdosdjgpp-gcc
STRIP = i586-pc-msdosdjgpp-strip
SIZE = i586-pc-msdosdjgpp-size
CFLAGS_EXTRA = \
-DMICROPY_NLR_SETJMP \
-Dtgamma=gamma \
-DMICROPY_EMIT_X86=0 \
-DMICROPY_NO_ALLOCA=1 \
PROG = micropython_freedos
MICROPY_PY_SOCKET = 0
MICROPY_PY_FFI = 0
MICROPY_PY_JNI = 0
MICROPY_PY_BTREE = 0
MICROPY_PY_THREAD = 0
MICROPY_PY_USSL = 0