From 9c04ef2a6772cabbd92abe6c826b56cc04a1a7b8 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 31 Aug 2016 15:12:57 +1000 Subject: unix,stmhal,esp8266: When find'ing frozen files don't use extra slash. This extra forward slash for the starting-point directory is unnecessary and leads to additional slashes on Max OS X which mean that the frozen files cannot be imported. Fixes #2374. --- stmhal/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal') diff --git a/stmhal/Makefile b/stmhal/Makefile index 1ad2783fc..2c6ea806e 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -284,7 +284,7 @@ endif ifneq ($(FROZEN_MPY_DIR),) # To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and # then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch). -FROZEN_MPY_PY_FILES := $(shell find $(FROZEN_MPY_DIR)/ -type f -name '*.py') +FROZEN_MPY_PY_FILES := $(shell find $(FROZEN_MPY_DIR) -type f -name '*.py') FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD)/,$(FROZEN_MPY_PY_FILES:.py=.mpy)) CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool CFLAGS += -DMICROPY_MODULE_FROZEN_MPY -- cgit v1.2.3