Skip to content

Commit d08c9d3

Browse files
committed
Updated FROZEN_DIR support as per f28efa1
1 parent f28efa1 commit d08c9d3

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

teensy/Makefile

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -154,24 +154,15 @@ endif # USE_MEMZIP
154154

155155
ifeq ($(USE_FROZEN),1)
156156

157-
CFLAGS += -DMICROPY_MODULE_FROZEN_STR
158-
159-
SRC_C += \
160-
lexerfrozen.c
161-
162-
OBJ += $(BUILD)/frozen-files.o
163-
164-
MAKE_FROZEN = ../tools/make-frozen.py
165157
ifeq ($(FROZEN_DIR),)
166158
FROZEN_DIR = memzip_files
167159
endif
168160

169-
$(BUILD)/frozen-files.o: $(BUILD)/frozen-files.c
170-
$(call compile_c)
161+
CFLAGS += -DMICROPY_MODULE_FROZEN_STR
171162

172-
$(BUILD)/frozen-files.c: $(shell find ${FROZEN_DIR} -type f)
173-
@$(ECHO) "Creating $@"
174-
$(Q)$(PYTHON) $(MAKE_FROZEN) $(FROZEN_DIR) > $@
163+
SRC_C += \
164+
lexerfrozen.c \
165+
$(BUILD)/frozen.c
175166

176167
endif # USE_FROZEN
177168

0 commit comments

Comments
 (0)