Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca66772

Browse files
committed
working on macOS build
1 parent5f2a135 commitca66772

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎builder/macOS.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
6565
unix_cmd.extend([
6666
f'LV_CFLAGS="{lv_cflags}"',
6767
f'LV_PORT=unix',
68-
f'USER_C_MODULES="{script_dir}/ext_mod"',
69-
f'"CFLAGS=-Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"'
68+
f'USER_C_MODULES="{script_dir}/ext_mod"'
7069
])
7170
unix_cmd.extend(extra_args)
7271

@@ -212,7 +211,7 @@ def compile(): # NOQA
212211
data=f.read().decode('utf-8')
213212

214213
data=data.replace('QSTR_GEN_CXXFLAGS += $(QSTR_GEN_FLAGS)','QSTR_GEN_CXXFLAGS += $(QSTR_GEN_FLAGS)\n$(info $$QSTR_GEN_CFLAGS = $(QSTR_GEN_CFLAGS))')
215-
data=data.replace('$(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py pp $(CPP) output','$(infomakeqstrdefs.py$$QSTR_GEN_CFLAGS = $(QSTR_GEN_CFLAGS))\n $(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py pp $(CPP) output')
214+
data=data.replace('$(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py pp $(CPP) output','$(info $$QSTR_GEN_CFLAGS = $(QSTR_GEN_CFLAGS))\n $(Q)$(PYTHON) $(PY_SRC)/makeqstrdefs.py pp $(CPP) output')
216215

217216
withopen(mkrules_path,'wb')asf:
218217
f.write(data.encode('utf-8'))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp