[oe] [meta-networking][PATCH] libowfat: fix sdk installation

André Draszik git at andred.net
Fri Feb 28 09:34:37 UTC 2020


From: André Draszik <andre.draszik at jci.com>

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.

Signed-off-by: André Draszik <andre.draszik at jci.com>
---
 meta-networking/recipes-support/ncp/libowfat_0.32.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/ncp/libowfat_0.32.bb b/meta-networking/recipes-support/ncp/libowfat_0.32.bb
index 24f413555..d2f4df78e 100644
--- a/meta-networking/recipes-support/ncp/libowfat_0.32.bb
+++ b/meta-networking/recipes-support/ncp/libowfat_0.32.bb
@@ -26,4 +26,6 @@ do_install() {
         MAN3DIR=${mandir}/man3
 }
 
+ALLOW_EMPTY_${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.23.0.rc1



More information about the Openembedded-devel mailing list