From f28efa19713977a61395b19fec1fe501aeee4c0e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 17 Sep 2016 20:57:43 +0300 Subject: py: Move frozen modules rules from esp8266 port for reuse across ports. A port now just needs to define FROZEN_DIR var and add $(BUILD)/frozen.c to SRC_C to support frozen modules. --- esp8266/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'esp8266/Makefile') diff --git a/esp8266/Makefile b/esp8266/Makefile index e13082e18..26b5e8626 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -171,9 +171,7 @@ endif $(BUILD)/uart.o: $(CONFVARS_FILE) -$(BUILD)/frozen.c: $(wildcard $(FROZEN_DIR)/*) $(CONFVARS_FILE) - $(ECHO) "Generating $@" - $(Q)$(MAKE_FROZEN) $(FROZEN_DIR) > $@ +FROZEN_EXTRA_DEPS = $(CONFVARS_FILE) # to build .mpy files from .py files $(BUILD)/$(FROZEN_MPY_DIR)/%.mpy: $(FROZEN_MPY_DIR)/%.py -- cgit v1.2.3