File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ endif
108108
109109ifneq ($(FROZEN_MPY_DIR ) ,)
110110# make a list of all the .py files that need compiling and freezing
111- FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR ) -type f -name '* .py' | sed -e 's=^$(FROZEN_MPY_DIR ) /==')
111+ FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR ) -type f -name '* .py' | $( SED ) -e 's=^$(FROZEN_MPY_DIR ) /==')
112112FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD ) /frozen_mpy/,$(FROZEN_MPY_PY_FILES:.py=.mpy ) )
113113
114114# to build .mpy files from .py files
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ MPCONFIGPORT_MK = $(wildcard mpconfigport.mk)
269269# the lines in "" and then unwrap after the preprocessor is finished.
270270$(HEADER_BUILD ) /qstrdefs.generated.h : $(PY_QSTR_DEFS ) $(QSTR_DEFS ) $(QSTR_DEFS_COLLECTED ) $(PY_SRC ) /makeqstrdata.py mpconfigport.h $(MPCONFIGPORT_MK ) $(PY_SRC ) /mpconfig.h | $(HEADER_BUILD )
271271 $(ECHO ) " GEN $@ "
272- $(Q ) cat $(PY_QSTR_DEFS ) $(QSTR_DEFS ) $(QSTR_DEFS_COLLECTED ) | $(SED ) ' s/^Q(.*)/"&"/' | $(CPP ) $(CFLAGS ) - | sed ' s/^"\(Q(.*)\)"/\1/' > $(HEADER_BUILD ) /qstrdefs.preprocessed.h
272+ $(Q ) cat $(PY_QSTR_DEFS ) $(QSTR_DEFS ) $(QSTR_DEFS_COLLECTED ) | $(SED ) ' s/^Q(.*)/"&"/' | $(CPP ) $(CFLAGS ) - | $( SED ) ' s/^"\(Q(.*)\)"/\1/' > $(HEADER_BUILD ) /qstrdefs.preprocessed.h
273273 $(Q )$(PYTHON ) $(PY_SRC ) /makeqstrdata.py $(HEADER_BUILD ) /qstrdefs.preprocessed.h > $@
274274
275275# emitters
You can’t perform that action at this time.
0 commit comments