From patchwork Fri May 19 14:38:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 24209 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34F9BC77B7F for ; Fri, 19 May 2023 14:38:59 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.28075.1684507129878230456 for ; Fri, 19 May 2023 07:38:49 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5156215BF; Fri, 19 May 2023 07:39:34 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F113C3F793; Fri, 19 May 2023 07:38:48 -0700 (PDT) From: ross.burton@arm.com To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 3/3] libcomps: clean up DEPENDS Date: Fri, 19 May 2023 15:38:46 +0100 Message-Id: <20230519143846.378675-3-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230519143846.378675-1-ross.burton@arm.com> References: <20230519143846.378675-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 May 2023 14:38:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181555 From: Ross Burton 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 --- meta/recipes-devtools/libcomps/libcomps_0.1.19.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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" -