Преглед на файлове

Add missing RDEPENDS to the swupdate SDK

The SDK for a custom image is not able to compile full featured swupdate,
because some static libs and headers are missing (liblua.a, ..).

corelib/lua_interface.c:20:10: fatal error: lua.h: No such file or directory
   20 | #include "lua.h"
      |          ^~~~~~~

Using TOOLCHAIN_TARGET_TASK += "lua-staticdev" in a custom image recipe
has the overhead of figuring out, what libs are relevant to build
swupdate. For easier development / meta-layer integration let's add the
missing dependencies via packagegroup-core-standalone-sdk-target.

The libs are now implicit added to TOOLCHAIN_TARGET_TASK via:
populate_sdk_base:
    TOOLCHAIN_TARGET_TASK += "packagegroup-core-standalone-sdk-target"

Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com>
Reviewed-by: Stefano Babic <stefano.babic@swupdate.org>
Michael Glembotzki преди 8 месеца
родител
ревизия
8a45e33a9b
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      recipes-core/packagegroup/packagegroup-core-standalone-sdk-target.bbappend

+ 4 - 0
recipes-core/packagegroup/packagegroup-core-standalone-sdk-target.bbappend

@@ -0,0 +1,4 @@
+RDEPENDS:${PN} += "\
+    lua-staticdev \
+    mtd-utils-staticdev \
+"