[oe] [meta-oe][PATCH] libcereal: Allow empty package

Brad Bishop bradleyb at fuzziesquirrel.com
Wed Nov 28 15:32:45 UTC 2018


libcereal is header-only so create the empty base package so that
libcereal can be sanely included in an SDK via IMAGE_INSTALL, RDEPENDS,
and the like.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb b/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb
index e02b4c960..365b40b17 100644
--- a/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb
+++ b/meta-oe/recipes-support/libcereal/libcereal_1.2.2.bb
@@ -15,4 +15,6 @@ inherit cmake
 
 EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON"
 
+ALLOW_EMPTY_${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.19.1


More information about the Openembedded-devel mailing list