From 9bbbf6df7a8c31ac2cb41712c8c433a72f480a35 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sun, 26 Oct 2025 08:05:28 +0100 Subject: [PATCH] Improve workaround for lvgl_micropython manifest --- scripts/build_mpos.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/build_mpos.sh b/scripts/build_mpos.sh index dfd2e31f..26fdfb76 100755 --- a/scripts/build_mpos.sh +++ b/scripts/build_mpos.sh @@ -44,12 +44,13 @@ fi echo "Check need to add lvgl_micropython manifest to micropython-camera-API's manifest..." camani="$codebasedir"/micropython-camera-API/src/manifest.py -lvglmani="$codebasedir"/lvgl_micropython/build/manifest.py -if ! grep "lvgl_micropython/build/manifest.py" "$idfile"; then - echo "Adding include(\"$lvglmani\") to $camani" - echo "include(\"$lvglmani\") # workaround to prevent micropython-camera-API from overriding the lvgl_micropython manifest..." >> "$camani" +rellvglmani=lvgl_micropython/build/manifest.py +if ! grep "$rellvglmani" "$idfile"; then + abslvglmani="$codebasedir"/"$rellvglmani" + echo "Adding include(\"$abslvglmani\") to $camani" + echo "include(\"$abslvglmani\") # workaround to prevent micropython-camera-API from overriding the lvgl_micropython manifest..." >> "$camani" else - echo "No need to add include(\"$lvglmani\") to $camani" + echo "No need to add include(\"$abslvglmani\") to $camani" fi echo "Check need to add asyncio..."