diff mbox series

libcomps: clean up DEPENDS

Message ID 20230522110931.2139503-1-ross.burton@arm.com
State New
Headers show
Series libcomps: clean up DEPENDS | expand

Commit Message

Ross Burton May 22, 2023, 11:09 a.m. UTC
From: Ross Burton <ross.burton@arm.com>

This recipe depends on zlib so add that explicitly.

Disable the tests and remove the dependency on libcheck, as we don't
install them.

Remove obsolete PYTHON_DESIRED assignment that isn't used anywhere.

Explicitly disable the documentation for now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/libcomps/libcomps_0.1.19.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb
index f8063d94007..e362e8e1081 100644
--- a/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb
+++ b/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb
@@ -15,10 +15,12 @@  S = "${WORKDIR}/git"
 
 inherit cmake setuptools3-base
 
-DEPENDS += "libxml2 expat libcheck"
+DEPENDS = "expat libxml2 zlib"
+
+EXTRA_OECMAKE = "-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
+                 -DENABLE_DOCS=OFF \
+                 -DENABLE_TESTS=OFF"
 
-EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
 OECMAKE_SOURCEPATH = "${S}/libcomps"
 
 BBCLASSEXTEND = "native nativesdk"
-