Skip to content
Snippets Groups Projects
Commit d08c9d34 authored by Dave Hylands's avatar Dave Hylands
Browse files

Updated FROZEN_DIR support as per f28efa19

parent f28efa19
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment