Skip to content

Commit d46ad2b

Browse files
committed
changes some things in windows build
1 parent 83c3e9c commit d46ad2b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

builder/windows.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
7575
os.environ['VCTargetsPath'] = VCTargetsPath
7676

7777
mpy_cross_cmd.extend([
78-
'msbuild',
78+
env.visual_c.msbuild_path,
7979
'lib/micropython/mpy-cross/mpy-cross.vcxproj'
8080
])
8181
compile_cmd.extend([
82-
'msbuild',
82+
env.visual_c.msbuild_path,
8383
'lib/micropython/ports/windows/micropython.vcxproj',
8484
])
8585

@@ -103,12 +103,12 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
103103
f'LV_PORT=windows',
104104
])
105105

106-
if lv_cflags:
107-
clean_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
108-
compile_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
106+
# if lv_cflags:
107+
# clean_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
108+
# compile_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
109109

110-
clean_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
111-
compile_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
110+
# clean_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
111+
# compile_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
112112

113113
clean_cmd.extend(extra_args)
114114
compile_cmd.extend(extra_args)

0 commit comments

Comments
 (0)