File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ DRIVERS_SRC_C = $(addprefix drivers/,\
139139SRC_S = \
140140 gchelper.s \
141141
142- FROZEN_MPY_PY_FILES := $(shell find $(FROZEN_MPY_DIR ) -type f -name '* .py')
142+ FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR ) -type f -name '* .py')
143143FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD ) /,$(FROZEN_MPY_PY_FILES:.py=.mpy ) )
144144
145145OBJ =
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ endif
284284ifneq ($(FROZEN_MPY_DIR ) ,)
285285# To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and
286286# then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch).
287- FROZEN_MPY_PY_FILES := $(shell find $(FROZEN_MPY_DIR ) -type f -name '* .py')
287+ FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR ) -type f -name '* .py')
288288FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD ) /,$(FROZEN_MPY_PY_FILES:.py=.mpy ) )
289289CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
290290CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ ifneq ($(FROZEN_MPY_DIR),)
182182# then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch).
183183MPY_CROSS = ../mpy-cross/mpy-cross
184184MPY_TOOL = ../tools/mpy-tool.py
185- FROZEN_MPY_PY_FILES := $(shell find $(FROZEN_MPY_DIR ) -type f -name '* .py')
185+ FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR ) -type f -name '* .py')
186186FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD ) /,$(FROZEN_MPY_PY_FILES:.py=.mpy ) )
187187CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
188188CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
You can’t perform that action at this time.
0 commit comments