py: Change frozen build to not use -printf which isn't available on Mac OSX.

This commit is contained in:
Scott Shawcroft 2016-11-14 13:15:45 -08:00 committed by Scott Shawcroft
parent 6e30b8ea92
commit 3cfa5b993d
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ endif
ifneq ($(FROZEN_MPY_DIR),)
# make a list of all the .py files that need compiling and freezing
FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR) -type f -name '*.py' -printf '%P\n')
FROZEN_MPY_PY_FILES := $(notdir $(shell find -L $(FROZEN_MPY_DIR) -type f -name '*.py'))
FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD)/frozen_mpy/,$(FROZEN_MPY_PY_FILES:.py=.mpy))
# to build .mpy files from .py files