py: Move frozen bytecode Makefile rules from ports to common mk files.

Now, to use frozen bytecode all a port needs to do is define
FROZEN_MPY_DIR to the directory containing the .py files to freeze, and
define MICROPY_MODULE_FROZEN_MPY and MICROPY_QSTR_EXTRA_POOL.
This commit is contained in:
Damien George
2016-11-08 14:28:30 +11:00
parent 5630778f0f
commit bdf33bc136
6 changed files with 25 additions and 50 deletions

View File

@@ -59,6 +59,8 @@ LD += -m32
endif
MAKE_FROZEN = ../tools/make-frozen.py
MPY_CROSS = ../mpy-cross/mpy-cross
MPY_TOOL = ../tools/mpy-tool.py
all:
.PHONY: all