aboutsummaryrefslogtreecommitdiff
path: root/py/mkenv.mk
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2018-06-14 15:57:29 +0200
committerDamien George <damien.p.george@gmail.com>2019-03-08 22:49:00 +1100
commit2e516074daee76fb3e0710a893a0f40532bb3252 (patch)
treed871d641c10aff22e3d80ad4711310c4b7be4b31 /py/mkenv.mk
parentcf22f4793cb04e8e63a0d11f479a69c9be6c93ba (diff)
py: Implement a module system for external, user C modules.
This system makes it a lot easier to include external libraries as static, native modules in MicroPython. Simply pass USER_C_MODULES (like FROZEN_MPY_DIR) as a make parameter.
Diffstat (limited to 'py/mkenv.mk')
-rw-r--r--py/mkenv.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mkenv.mk b/py/mkenv.mk
index 87e92ec6f..5f4b11b6b 100644
--- a/py/mkenv.mk
+++ b/py/mkenv.mk
@@ -61,6 +61,7 @@ endif
MAKE_FROZEN = $(PYTHON) $(TOP)/tools/make-frozen.py
MPY_CROSS = $(TOP)/mpy-cross/mpy-cross
MPY_TOOL = $(PYTHON) $(TOP)/tools/mpy-tool.py
+GEN_CMODULES = $(PYTHON) $(TOP)/tools/gen-cmodules.py
all:
.PHONY: all