File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -206,15 +206,14 @@ def compile(): # NOQA
206
206
with open (mpconfigvariant_common_path , 'w' ) as f :
207
207
f .write (mpconfigvariant_common )
208
208
209
- mkrules_path = 'lib/micropython/py/mkrules.mk'
210
- with open (mkrules_path , 'rb' ) as f :
211
- data = f .read ().decode ('utf-8' )
212
-
213
- data = data .replace ('QSTR_GEN_CXXFLAGS += $(QSTR_GEN_FLAGS)' , 'QSTR_GEN_CXXFLAGS += $(QSTR_GEN_FLAGS)\n $(info $$QSTR_GEN_CFLAGS = $(QSTR_GEN_CFLAGS))' )
214
- data = data .replace ('$(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py pp $(CPP) output' , '$(ECHO) "GEN $@ $$QSTR_GEN_CFLAGS = $(QSTR_GEN_CFLAGS)"\n $(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py pp $(CPP) output' )
215
-
216
- with open (mkrules_path , 'wb' ) as f :
217
- f .write (data .encode ('utf-8' ))
209
+ # mkrules_path = 'lib/micropython/py/mkrules.mk'
210
+ # with open(mkrules_path, 'rb') as f:
211
+ # data = f.read().decode('utf-8')
212
+ #
213
+ # data = data.replace('QSTR_GEN_CXXFLAGS += $(QSTR_GEN_FLAGS)', 'QSTR_GEN_CXXFLAGS += $(QSTR_GEN_FLAGS)\n$(info $$QSTR_GEN_CFLAGS = $(QSTR_GEN_CFLAGS))')
214
+ #
215
+ # with open(mkrules_path, 'wb') as f:
216
+ # f.write(data.encode('utf-8'))
218
217
219
218
build_sdl ()
220
219
You can’t perform that action at this time.
0 commit comments