Commit 799ccdc7 authored by Paul Sokolovsky's avatar Paul Sokolovsky

esp8266, stmhal, unix: MAKE_FROZEN is consistently defined in mkenv.mk.

parent 06234a61
...@@ -12,7 +12,6 @@ include ../py/py.mk ...@@ -12,7 +12,6 @@ include ../py/py.mk
MPY_CROSS = ../mpy-cross/mpy-cross MPY_CROSS = ../mpy-cross/mpy-cross
MPY_TOOL = ../tools/mpy-tool.py MPY_TOOL = ../tools/mpy-tool.py
MAKE_FROZEN = ../tools/make-frozen.py
FROZEN_DIR = scripts FROZEN_DIR = scripts
FROZEN_MPY_DIR = modules FROZEN_MPY_DIR = modules
......
...@@ -276,7 +276,6 @@ all: $(BUILD)/firmware.dfu $(BUILD)/firmware.hex ...@@ -276,7 +276,6 @@ all: $(BUILD)/firmware.dfu $(BUILD)/firmware.hex
ifneq ($(FROZEN_DIR),) ifneq ($(FROZEN_DIR),)
CFLAGS += -DMICROPY_MODULE_FROZEN_STR CFLAGS += -DMICROPY_MODULE_FROZEN_STR
OBJ += $(BUILD)/frozen-files.o OBJ += $(BUILD)/frozen-files.o
MAKE_FROZEN = ../tools/make-frozen.py
$(BUILD)/frozen-files.o: $(BUILD)/frozen-files.c $(BUILD)/frozen-files.o: $(BUILD)/frozen-files.c
$(call compile_c) $(call compile_c)
......
...@@ -273,7 +273,7 @@ coverage_test: coverage ...@@ -273,7 +273,7 @@ coverage_test: coverage
gcov -o build-coverage/extmod ../extmod/*.c gcov -o build-coverage/extmod ../extmod/*.c
$(BUILD)/_frozen_upip.c: $(BUILD)/frozen_upip/upip.py $(BUILD)/_frozen_upip.c: $(BUILD)/frozen_upip/upip.py
../tools/make-frozen.py $(dir $^) > $@ $(MAKE_FROZEN) $(dir $^) > $@
# Select latest upip version available # Select latest upip version available
UPIP_TARBALL := $(shell ls -1 -v ../tools/micropython-upip-*.tar.gz | tail -n1) UPIP_TARBALL := $(shell ls -1 -v ../tools/micropython-upip-*.tar.gz | tail -n1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment