Skip to contentSkip to conversation

libowfat: fix sdk installation

PATCH New André Draszik 1 participant 1 message Feb 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libowfat: fix sdk installation

From: André Draszik <[email protected]>

Building an SDK with this included fails:
* calculate_dependencies_for: Cannot satisfy the following dependencies for ncp-dev:
* libowfat (= 0.32-r0) *
* opkg_solver_install: Cannot install package ncp-dev.

libowfat only provides a static library, so there no ${PN} package is created by default.

Add ALLOW_EMPTY_${PN} = "1" to allow creation of an empty ${PN} package.

---
 meta-networking/recipes-support/ncp/libowfat_0.32.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ncp/libowfat_0.32.bb +2 -0
index 24f413555..d2f4df78e 100644
@@ -26,4 +26,6 @@ do_install() {
         MAN3DIR=${mandir}/man3
 }
 
+ALLOW_EMPTY_${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.23.0.rc1