diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-21 01:08:43 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-21 01:08:43 +0300 |
commit | b440307b4a15a540413a7a9f699d388c7428a63c (patch) | |
tree | cb63d67fd8b5e386d0cb74464768723b9d158e13 /esp8266 | |
parent | 3f251efb9bb22fe45ef5392b8ed9d6f9148415e7 (diff) | |
download | micropython-b440307b4a15a540413a7a9f699d388c7428a63c.tar.gz micropython-b440307b4a15a540413a7a9f699d388c7428a63c.zip |
py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined.
Now frozen modules generation handled fully by py.mk and available for reuse
by any port.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile index c57206c4dc..5f0044df05 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -7,14 +7,15 @@ MICROPY_PY_USSL = 1 MICROPY_SSL_AXTLS = 1 MICROPY_PY_BTREE = 1 +FROZEN_DIR = scripts +FROZEN_MPY_DIR = modules + # include py core make definitions include ../py/py.mk MPY_CROSS = ../mpy-cross/mpy-cross MPY_TOOL = ../tools/mpy-tool.py -FROZEN_DIR = scripts -FROZEN_MPY_DIR = modules PORT ?= /dev/ttyACM0 BAUD ?= 115200 FLASH_MODE ?= qio @@ -90,7 +91,6 @@ SRC_C = \ modmachine.c \ modonewire.c \ ets_alt_task.c \ - $(BUILD)/frozen.c \ fatfs_port.c \ axtls_helpers.c \ hspi.c \ |