diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-05 12:35:05 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-05 12:35:05 +1000 |
commit | 9526e24234bba06fcbf42c590743087bc8527319 (patch) | |
tree | 5f26764d21a4524b178ae644fc6f59092e8bcb37 /unix | |
parent | e2ac8bb3f14b076a29244022865e3b47c6c0800a (diff) |
unix,stmhal,esp8266: When find'ing frozen files follow symbolic links.
It's useful to be able to use symbolic links to add files and directories
to the set of scripts to be frozen.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile index 49b605f12..956b1daef 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -182,7 +182,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 -L $(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 |