From bca96e33845f39fe78f3ae7fbe25b0a09c62c993 Mon Sep 17 00:00:00 2001 From: Adam Miartus Date: Fri, 26 Feb 2021 20:11:40 +0100 Subject: [PATCH] libcereal: add dev package that can be included into toolchain sdk Signed-off-by: Adam Miartus Signed-off-by: Khem Raj --- meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb b/meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb index 2f8978c9d0..55fb3ebcfc 100644 --- a/meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb +++ b/meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb @@ -17,10 +17,19 @@ SRC_URI = "git://github.com/USCiLab/cereal.git" S = "${WORKDIR}/git" -inherit cmake +inherit cmake pkgconfig EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON" ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN}-dev = "" + +PROVIDES += "${PN}-dev" + +FILES_${PN}-dev = " \ + ${includedir} \ + ${libdir} \ +" + BBCLASSEXTEND = "native nativesdk"