Skip to content

Commit 7d3235a

Browse files
Install customized fonts to lvgl_micropython/lib/lvgl/
1 parent 62be719 commit 7d3235a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/build_mpos.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ else
8484
echo "No need to add asyncio to $manifile"
8585
fi
8686

87+
echo "Installing customized font sources to lvgl_micropython/lib/lvgl"
88+
if ! cp "$codebasedir"/lvgl_micropython/lib_lvgl_src_font/* "$codebasedir"/lvgl_micropython/lib/lvgl/src/font/ ; then
89+
echo "Could not install $codebasedir/lvgl_micropython/lib_lvgl_src_fonts/ so you probably need to update or re-clone the lvgl_micropython folder. See https://docs.micropythonos.com/os-development/"
90+
exit 1
91+
fi
92+
8793
# unix and macOS builds need these symlinks because make.py doesn't handle USER_C_MODULE arguments for them:
8894
echo "Symlinking secp256k1-embedded-ecdh for unix and macOS builds..."
8995
ln -sf ../../secp256k1-embedded-ecdh "$codebasedir"/lvgl_micropython/ext_mod/secp256k1-embedded-ecdh

0 commit comments

Comments
 (0)