Skip to content

Commit f1e7696

Browse files
committed
Fixes build script
1 parent 2f7a671 commit f1e7696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

make.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def create_lvgl_header():
189189
import builder as mod
190190

191191
get_submodules()
192-
mod.submodules()
193192

194193
extra_args, lv_cflags, board = mod.parse_args(extra_args, lv_cflags, board)
195194
extra_args = mod.build_commands(
@@ -201,19 +200,20 @@ def create_lvgl_header():
201200
else:
202201
mod.clean()
203202

204-
205-
206203
if not os.path.exists('lib/micropython/mpy_cross/build/mpy-cross'):
207204
print('Compiling mpy-cross....')
208205
mod.mpy_cross()
209206

207+
mod.submodules()
208+
210209
print('Generating build files....')
211210
set_mp_version(target.lower())
212211

213212
mod.build_manifest(
214213
target, SCRIPT_DIR, False, displays,
215214
indevs, expanders, frozen_manifest
216215
)
216+
217217
create_lvgl_header()
218218

219219
print('Compiling....')

0 commit comments

Comments
 (0)