diff options
author | Dave Hylands <dhylands@gmail.com> | 2016-09-17 12:55:11 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2016-09-17 12:55:11 -0700 |
commit | d08c9d342fe864679bab04891f4b8907a4c659d0 (patch) | |
tree | 346962956bec928db17469197f9e6d3d9e64a223 /teensy | |
parent | f28efa19713977a61395b19fec1fe501aeee4c0e (diff) | |
download | micropython-d08c9d342fe864679bab04891f4b8907a4c659d0.tar.gz micropython-d08c9d342fe864679bab04891f4b8907a4c659d0.zip |
Updated FROZEN_DIR support as per f28efa19713977a61395b19fec1fe501aeee4c0e
Diffstat (limited to 'teensy')
-rw-r--r-- | teensy/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/teensy/Makefile b/teensy/Makefile index 0ab07121ca..5eb8716611 100644 --- a/teensy/Makefile +++ b/teensy/Makefile @@ -154,24 +154,15 @@ endif # USE_MEMZIP ifeq ($(USE_FROZEN),1) -CFLAGS += -DMICROPY_MODULE_FROZEN_STR - -SRC_C += \ - lexerfrozen.c - -OBJ += $(BUILD)/frozen-files.o - -MAKE_FROZEN = ../tools/make-frozen.py ifeq ($(FROZEN_DIR),) FROZEN_DIR = memzip_files endif -$(BUILD)/frozen-files.o: $(BUILD)/frozen-files.c - $(call compile_c) +CFLAGS += -DMICROPY_MODULE_FROZEN_STR -$(BUILD)/frozen-files.c: $(shell find ${FROZEN_DIR} -type f) - @$(ECHO) "Creating $@" - $(Q)$(PYTHON) $(MAKE_FROZEN) $(FROZEN_DIR) > $@ +SRC_C += \ + lexerfrozen.c \ + $(BUILD)/frozen.c endif # USE_FROZEN |