Skip to content

Commit ad4c23f

Browse files
Fix build
1 parent 9abc8a2 commit ad4c23f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_mpos.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ else
4343
fi
4444

4545
echo "Check need to add esp_rlottie"
46-
if ! grep esp32-camera "$idfile"; then
46+
if ! grep rlottie "$idfile"; then
4747
echo "Adding esp_rlottie to $idfile"
4848
echo " esp_rlottie:
4949
git: https://github.com/MicroPythonOS/esp_rlottie" >> "$idfile"
@@ -122,11 +122,11 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
122122
stream_wav_file="$codebasedir"/internal_filesystem/lib/mpos/audio/stream_wav.py
123123
sed -i.backup 's/^@micropython\.viper$/#@micropython.viper/' "$stream_wav_file"
124124

125-
# LV_CFLAGS are passed to USER_C_MODULES
125+
# LV_CFLAGS are passed to USER_C_MODULES (compiler flags only, no linker flags)
126126
# STRIP= makes it so that debug symbols are kept
127127
pushd "$codebasedir"/lvgl_micropython/
128128
# USER_C_MODULE doesn't seem to work properly so there are symlinks in lvgl_micropython/extmod/
129-
python3 make.py "$target" LV_CFLAGS="-g -O0 -ggdb -ljpeg" STRIP= DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard "$frozenmanifest"
129+
python3 make.py "$target" LV_CFLAGS="-g -O0 -ggdb" STRIP= DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard "$frozenmanifest"
130130
popd
131131

132132
# Restore @micropython.viper decorator after build

0 commit comments

Comments
 (0)