You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Add missing newline to camera manifest
This commit is contained in:
@@ -38,6 +38,8 @@ if ! grep esp32-camera "$idfile"; then
|
||||
echo "Adding esp32-camera to $idfile"
|
||||
echo " espressif/esp32-camera:
|
||||
git: https://github.com/MicroPythonOS/esp32-camera" >> "$idfile"
|
||||
echo "Resulting file:"
|
||||
cat "$idfile"
|
||||
else
|
||||
echo "No need to add esp32-camera to $idfile"
|
||||
fi
|
||||
@@ -48,7 +50,10 @@ rellvglmani=lvgl_micropython/build/manifest.py
|
||||
if ! grep "$rellvglmani" "$idfile"; then
|
||||
abslvglmani="$codebasedir"/"$rellvglmani"
|
||||
echo "Adding include(\"$abslvglmani\") to $camani"
|
||||
echo >> "$camani" # needs newline because file doesn't have newline at the end
|
||||
echo "include(\"$abslvglmani\") # workaround to prevent micropython-camera-API from overriding the lvgl_micropython manifest..." >> "$camani"
|
||||
echo "Resulting file:"
|
||||
cat "$camani"
|
||||
else
|
||||
echo "No need to add include(\"$abslvglmani\") to $camani"
|
||||
fi
|
||||
@@ -58,6 +63,8 @@ manifile="$codebasedir"/lvgl_micropython/lib/micropython/ports/unix/variants/man
|
||||
if ! grep asyncio "$manifile"; then
|
||||
echo "Adding asyncio to $manifile"
|
||||
echo 'include("$(MPY_DIR)/extmod/asyncio") # needed to have asyncio, which is used by aiohttp, which has used by websockets' >> "$manifile"
|
||||
echo "Resulting file:"
|
||||
cat "$manifile"
|
||||
else
|
||||
echo "No need to add asyncio to $manifile"
|
||||
fi
|
||||
@@ -68,7 +75,6 @@ ln -sf ../../secp256k1-embedded-ecdh "$codebasedir"/lvgl_micropython/ext_mod/sec
|
||||
echo "Symlinking c_mpos for unix and macOS builds..."
|
||||
ln -sf ../../c_mpos "$codebasedir"/lvgl_micropython/ext_mod/c_mpos
|
||||
|
||||
|
||||
if [ "$buildtype" == "prod" ]; then
|
||||
freezefs="$codebasedir"/scripts/freezefs_mount_builtin.sh
|
||||
echo "It's a $buildtype build, running $freezefs"
|
||||
|
||||
Reference in New Issue
Block a user