File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -212,14 +212,18 @@ def compile(): # NOQA
212
212
with open (mpconfigvariant_common_path , 'w' ) as f :
213
213
f .write (mpconfigvariant_common )
214
214
215
- makefile_path = 'lib/micropython/ports/unix/Makefile'
216
- with open (makefile_path , 'rb' ) as f :
217
- data = f .read ().decode ('utf-8' )
215
+ for makefile_path in (
216
+ 'lib/micropython/ports/unix/Makefile' ,
217
+ 'lib/micropython/py/dynruntime.mk'
218
+ ):
219
+
220
+ with open (makefile_path , 'rb' ) as f :
221
+ data = f .read ().decode ('utf-8' )
218
222
219
- data = data .replace ('-Werror' , '' )
223
+ data = data .replace ('-Werror' , '' )
220
224
221
- with open (makefile_path , 'wb' ) as f :
222
- f .write (data .encode ('utf-8' ))
225
+ with open (makefile_path , 'wb' ) as f :
226
+ f .write (data .encode ('utf-8' ))
223
227
224
228
build_sdl ()
225
229
You can’t perform that action at this time.
0 commit comments