libcomps: clean up DEPENDS

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.

(From OE-Core rev: 035996470bebf909146681bbaf276831bb7be17d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2023-05-19 15:38:46 +01:00
committed by Richard Purdie
parent 7ba5011adf
commit 973c37ce44

View File

@@ -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"