From 111e7df742b3539bdad52a440cce5d8143146a94 Mon Sep 17 00:00:00 2001 From: Kevin Schlosser Date: Tue, 30 Apr 2024 20:48:48 -0600 Subject: [PATCH] fixes includes in macOS build --- builder/macOS.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/builder/macOS.py b/builder/macOS.py index fdd83eff..ffb683b0 100644 --- a/builder/macOS.py +++ b/builder/macOS.py @@ -54,8 +54,6 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board): unix_cmd.append(f'{script_dir}/lib/micropython/ports/unix') - f'' - if board: unix_cmd.append(f'VARIANT={board}') @@ -68,7 +66,8 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board): f'LV_CFLAGS="{lv_cflags}"', f'LV_PORT=unix', f'USER_C_MODULES="{script_dir}/ext_mod"', - f'CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"' + f'CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"', + f'LCD_BUS_CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"' ]) unix_cmd.extend(extra_args)