summaryrefslogtreecommitdiffstatshomepage
path: root/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unix/Makefile')
-rw-r--r--unix/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 159b07c82b..b149234342 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -126,6 +126,8 @@ ifeq ($(PROG),micropython)
SRC_C += $(BUILD)/_frozen_upip.c
else ifeq ($(PROG),micropython_coverage)
SRC_C += $(BUILD)/_frozen_upip.c
+else ifeq ($(PROG), micropython_nanbox)
+SRC_C += $(BUILD)/_frozen_upip.c
else ifeq ($(PROG), micropython_freedos)
SRC_C += $(BUILD)/_frozen_upip.c
endif
@@ -171,6 +173,15 @@ fast:
minimal:
$(MAKE) COPT="-Os -DNDEBUG" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_minimal.h>"' BUILD=build-minimal PROG=micropython_minimal MICROPY_PY_TIME=0 MICROPY_PY_TERMIOS=0 MICROPY_PY_SOCKET=0 MICROPY_PY_FFI=0 MICROPY_USE_READLINE=0
+# build interpreter with nan-boxing as object model
+nanbox:
+ $(MAKE) \
+ CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_nanbox.h>"' \
+ BUILD=build-nanbox \
+ PROG=micropython_nanbox \
+ MICROPY_FORCE_32BIT=1 \
+ MICROPY_PY_FFI=0
+
freedos:
$(MAKE) \
CC=i586-pc-msdosdjgpp-gcc \