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

Commit95ef355

Browse files
committed
working on macOS build
1 parentf06b2b7 commit95ef355

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
@@ -66,7 +66,7 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
6666
f'LV_CFLAGS="{lv_cflags}"',
6767
f'LV_PORT=unix',
6868
f'USER_C_MODULES="{script_dir}/ext_mod"',
69-
'CFLAGS=-Wno-unused-function'
69+
f'"CFLAGS=-Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"'
7070
])
7171
unix_cmd.extend(extra_args)
7272

@@ -208,8 +208,7 @@ def compile(): # NOQA
208208
f.write(mpconfigvariant_common)
209209

210210
formakefile_pathin (
211-
'lib/micropython/ports/unix/Makefile',
212-
'lib/micropython/py/mkrules.mk'
211+
'lib/micropython/py/mkrules.mk',
213212
):
214213
withopen(makefile_path,'rb')asf:
215214
data=f.read().decode('utf-8')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp