summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-08-31 15:12:57 +1000
committerDamien George <damien.p.george@gmail.com>2016-08-31 15:12:57 +1000
commit9c04ef2a6772cabbd92abe6c826b56cc04a1a7b8 (patch)
treecabc79704528f94c0feea1b14bae4a13781f9f75 /unix
parent1f61fe07a2bca5374fdb402a41785a81b193f5ed (diff)
downloadmicropython-9c04ef2a6772cabbd92abe6c826b56cc04a1a7b8.tar.gz
micropython-9c04ef2a6772cabbd92abe6c826b56cc04a1a7b8.zip
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.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index cb9a999f08..3afa80dfa8 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -183,7 +183,7 @@ ifneq ($(FROZEN_MPY_DIR),)
# then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch).
MPY_CROSS = ../mpy-cross/mpy-cross
MPY_TOOL = ../tools/mpy-tool.py
-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