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

Commitd39fcfa

Browse files
committed
working on macos port
1 parent69e9b13 commitd39fcfa

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎builder/macOS.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
6363
unix_cmd.extend([
6464
'LV_PORT=unix',
6565
f'USER_C_MODULES="{script_dir}/ext_mod"',
66-
'"CFLAGS_EXTRA=-Wno-unused-function -Wno-double-promotion -Wno-unused-command-line-argument"'
66+
(
67+
'"CFLAGS_EXTRA='
68+
'-Wno-unused-function '
69+
'-Wno-double-promotion '
70+
'-Wno-unused-command-line-argument"'
71+
)
6772
])
6873

6974
unix_cmd.extend(extra_args)

‎ext_mod/lcd_bus/micropython.mk‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ ifneq (,$(findstring unix, $(LV_PORT)))
2727
CFLAGS_USERMOD += -I$(BUILD)/SDL/include-config-release/SDL2
2828

2929
ifeq ($(UNAME_S),Darwin)
30-
CFLAGS_USERMOD += -L$(BUILD)/SDL
31-
CFLAGS_USERMOD += -lSDL2
30+
LDFLAGS_USERMOD +=$(BUILD)/SDL/liblSDL2.a
3231
else
3332
LDFLAGS_USERMOD += -L$(BUILD)/SDL
3433
LDFLAGS_USERMOD += -lSDL2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp