From patchwork Mon Feb 16 13:48:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81162 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 CF39EE63F3F for ; Mon, 16 Feb 2026 13:48:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.19796.1771249723414619722 for ; Mon, 16 Feb 2026 05:48:43 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 3896C150C for ; Mon, 16 Feb 2026 05:48:36 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 2F5E23F632 for ; Mon, 16 Feb 2026 05:48:42 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 1/7] libuv: enable nativesdk builds Date: Mon, 16 Feb 2026 13:48:29 +0000 Message-ID: <20260216134835.717366-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231203 Signed-off-by: Ross Burton --- meta/recipes-connectivity/libuv/libuv_1.51.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/libuv/libuv_1.51.0.bb b/meta/recipes-connectivity/libuv/libuv_1.51.0.bb index 9ff9cf35e2e..afc1bf87b5e 100644 --- a/meta/recipes-connectivity/libuv/libuv_1.51.0.bb +++ b/meta/recipes-connectivity/libuv/libuv_1.51.0.bb @@ -17,4 +17,4 @@ do_configure() { oe_runconf } -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Feb 16 13:48:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81165 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 16215EF99FF for ; Mon, 16 Feb 2026 13:48:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.19625.1771249723864733114 for ; Mon, 16 Feb 2026 05:48:43 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 DD68F1570 for ; Mon, 16 Feb 2026 05:48:36 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 D504E3F632 for ; Mon, 16 Feb 2026 05:48:42 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 2/7] cmake: remove obsolete variable assignments Date: Mon, 16 Feb 2026 13:48:30 +0000 Message-ID: <20260216134835.717366-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216134835.717366-1-ross.burton@arm.com> References: <20260216134835.717366-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231204 Remove obsolete assignments: - KWSYS_CHAR_IS_SIGNED was removed in 3.5.0[1] - KWSYS_LFS_WORKS was removed in 3.15.0[2] [1] cmake ec1398d7ae ("KWSys 2015-12-14 (c1149ef6)") [2] cmake 11fe7c9063 ("KWSys 2019-02-25 (833b2470)") Signed-off-by: Ross Burton --- meta/recipes-devtools/cmake/cmake_4.2.3.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-devtools/cmake/cmake_4.2.3.bb b/meta/recipes-devtools/cmake/cmake_4.2.3.bb index cfc5cb1b938..7c3dda2b157 100644 --- a/meta/recipes-devtools/cmake/cmake_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake_4.2.3.bb @@ -40,9 +40,7 @@ EXTRA_OECMAKE = " \ -DCMAKE_USE_SYSTEM_LIBRARY_CPPDAP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \ - -DKWSYS_CHAR_IS_SIGNED=1 \ -DBUILD_CursesDialog=0 \ - -DKWSYS_LFS_WORKS=1 \ " PACKAGECONFIG ??= "" From patchwork Mon Feb 16 13:48:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81161 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 CBCF4E63F3D for ; Mon, 16 Feb 2026 13:48:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.19626.1771249724762120276 for ; Mon, 16 Feb 2026 05:48:44 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 830EF150C for ; Mon, 16 Feb 2026 05:48:37 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 8697A3F632 for ; Mon, 16 Feb 2026 05:48:43 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 3/7] cmake: clean up variables shared between .bb and .inc Date: Mon, 16 Feb 2026 13:48:31 +0000 Message-ID: <20260216134835.717366-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216134835.717366-1-ross.burton@arm.com> References: <20260216134835.717366-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231205 Use EXTRA_OECMAKE in the non-cmake-inheriting cmake-native recipe, so that the cmake.inc can assign once. Signed-off-by: Ross Burton --- meta/recipes-devtools/cmake/cmake-native_4.2.3.bb | 4 ++-- meta/recipes-devtools/cmake/cmake_4.2.3.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb index 128fef8a6e7..299cb4d1ea6 100644 --- a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb @@ -22,7 +22,7 @@ LIC_FILES_CHKSUM:append = " \ B = "${WORKDIR}/build" do_configure[cleandirs] = "${B}" -CMAKE_EXTRACONF = "\ +EXTRA_OECMAKE += "\ -DCMAKE_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \ -DBUILD_CursesDialog=1 \ -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ @@ -41,7 +41,7 @@ do_configure () { ${S}/bootstrap --verbose --prefix=${prefix} \ ${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \ ${@bb.utils.contains('CCACHE', 'ccache ', '--enable-ccache', '', d)} \ - -- ${CMAKE_EXTRACONF} + -- ${EXTRA_OECMAKE} } do_compile() { diff --git a/meta/recipes-devtools/cmake/cmake_4.2.3.bb b/meta/recipes-devtools/cmake/cmake_4.2.3.bb index 7c3dda2b157..233ceeae153 100644 --- a/meta/recipes-devtools/cmake/cmake_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake_4.2.3.bb @@ -33,7 +33,7 @@ python () { d.setVar("docdir_stripped", docdir_stripped) } -EXTRA_OECMAKE = " \ +EXTRA_OECMAKE += " \ -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \ -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ From patchwork Mon Feb 16 13:48:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81167 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 F03E0EF5872 for ; Mon, 16 Feb 2026 13:48:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.19627.1771249724851468041 for ; Mon, 16 Feb 2026 05:48:44 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 2E1A11570 for ; Mon, 16 Feb 2026 05:48:38 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 2EE4A3F632 for ; Mon, 16 Feb 2026 05:48:44 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 4/7] cmake: consolidate CMAKE_USE_SYSTEM_LIBRARIES Date: Mon, 16 Feb 2026 13:48:32 +0000 Message-ID: <20260216134835.717366-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216134835.717366-1-ross.burton@arm.com> References: <20260216134835.717366-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231206 Move CMAKE_USE_SYSTEM_LIBRARIES=1 to cmake.inc so that all builds use system libraries unless told otherwise. Signed-off-by: Ross Burton --- meta/recipes-devtools/cmake/cmake-native_4.2.3.bb | 1 - meta/recipes-devtools/cmake/cmake.inc | 2 ++ meta/recipes-devtools/cmake/cmake_4.2.3.bb | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb index 299cb4d1ea6..0845be49e57 100644 --- a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb @@ -25,7 +25,6 @@ do_configure[cleandirs] = "${B}" EXTRA_OECMAKE += "\ -DCMAKE_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \ -DBUILD_CursesDialog=1 \ - -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_CPPDAP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=0 \ diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc index 5b8c1922b18..1b84c785d03 100644 --- a/meta/recipes-devtools/cmake/cmake.inc +++ b/meta/recipes-devtools/cmake/cmake.inc @@ -24,3 +24,5 @@ SRC_URI[sha256sum] = "7efaccde8c5a6b2968bad6ce0fe60e19b6e10701a12fce948c2bf79bac UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar" CVE_STATUS[CVE-2016-10642] = "cpe-incorrect: This is specific to the npm package that installs cmake, so isn't relevant to OpenEmbedded" + +EXTRA_OECMAKE += "-DCMAKE_USE_SYSTEM_LIBRARIES=1" \ No newline at end of file diff --git a/meta/recipes-devtools/cmake/cmake_4.2.3.bb b/meta/recipes-devtools/cmake/cmake_4.2.3.bb index 233ceeae153..cf559d764a0 100644 --- a/meta/recipes-devtools/cmake/cmake_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake_4.2.3.bb @@ -35,7 +35,6 @@ python () { EXTRA_OECMAKE += " \ -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \ - -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_CPPDAP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ From patchwork Mon Feb 16 13:48:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81163 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 E3AEFEF5877 for ; Mon, 16 Feb 2026 13:48:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.19628.1771249725434065815 for ; Mon, 16 Feb 2026 05:48:45 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 C7AE3150C for ; Mon, 16 Feb 2026 05:48:38 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 CB6673F632 for ; Mon, 16 Feb 2026 05:48:44 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 5/7] cmake: use system libuv Date: Mon, 16 Feb 2026 13:48:33 +0000 Message-ID: <20260216134835.717366-5-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216134835.717366-1-ross.burton@arm.com> References: <20260216134835.717366-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231207 We have a recipe for libuv in oe-core, so use it in the target recipe to avoid vendoring in more code. Signed-off-by: Ross Burton --- meta/recipes-devtools/cmake/cmake_4.2.3.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-devtools/cmake/cmake_4.2.3.bb b/meta/recipes-devtools/cmake/cmake_4.2.3.bb index cf559d764a0..e6abc06c85c 100644 --- a/meta/recipes-devtools/cmake/cmake_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake_4.2.3.bb @@ -2,7 +2,7 @@ require cmake.inc inherit cmake bash-completion -DEPENDS += "curl expat zlib libarchive xz ncurses bzip2" +DEPENDS += "curl expat zlib libarchive xz ncurses bzip2 libuv" SRC_URI:append:class-nativesdk = " \ file://OEToolchainConfig.cmake \ @@ -15,7 +15,6 @@ LICENSE:append = " & BSD-1-Clause & MIT" LIC_FILES_CHKSUM:append = " \ file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \ file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \ - file://Utilities/cmlibuv/LICENSE;md5=ad93ca1fffe931537fcf64f6fcce084d \ " # Strip ${prefix} from ${docdir}, set result into docdir_stripped @@ -37,7 +36,6 @@ EXTRA_OECMAKE += " \ -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_CPPDAP=0 \ - -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \ -DBUILD_CursesDialog=0 \ " From patchwork Mon Feb 16 13:48:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81164 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 E351DEF5867 for ; Mon, 16 Feb 2026 13:48:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.19629.1771249726063456008 for ; Mon, 16 Feb 2026 05:48:46 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 72E70150C for ; Mon, 16 Feb 2026 05:48:39 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 73AAE3F632 for ; Mon, 16 Feb 2026 05:48:45 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 6/7] cmake: add license information for vendored cppdap library Date: Mon, 16 Feb 2026 13:48:34 +0000 Message-ID: <20260216134835.717366-6-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216134835.717366-1-ross.burton@arm.com> References: <20260216134835.717366-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231208 Add missing license information for the vendored cppdap library that we don't yet have a recipe for. Signed-off-by: Ross Burton --- meta/recipes-devtools/cmake/cmake-native_4.2.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb index 0845be49e57..a4d53274381 100644 --- a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb @@ -9,7 +9,7 @@ SRC_URI += "file://OEToolchainConfig.cmake \ file://0002-CMakeLists.txt-disable-USE_NGHTTP2.patch \ " -LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl" +LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl & Apache-2.0" LIC_FILES_CHKSUM:append = " \ file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \ file://Utilities/cmlibarchive/COPYING;md5=7ce08437ff7f5e24d72e666313ae4084 \ @@ -17,6 +17,7 @@ LIC_FILES_CHKSUM:append = " \ file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \ file://Utilities/cmlibuv/LICENSE;md5=ad93ca1fffe931537fcf64f6fcce084d \ file://Utilities/cmcurl/COPYING;md5=72f4e9890e99e68d77b7e40703d789b8 \ + file://Utilities/cmcppdap/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ " B = "${WORKDIR}/build" From patchwork Mon Feb 16 13:48:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 81166 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 F07F8EF99F9 for ; Mon, 16 Feb 2026 13:48:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.19798.1771249726861842195 for ; Mon, 16 Feb 2026 05:48:46 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 1AD4D150C for ; Mon, 16 Feb 2026 05:48:40 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.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 1BF4D3F632 for ; Mon, 16 Feb 2026 05:48:45 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 7/7] cmake: remove obsolete patches Date: Mon, 16 Feb 2026 13:48:35 +0000 Message-ID: <20260216134835.717366-7-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216134835.717366-1-ross.burton@arm.com> References: <20260216134835.717366-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 16 Feb 2026 13:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231209 0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch can be replaced with two variable assignments to seed the results we want. 0002-CMakeLists.txt-disable-USE_NGHTTP2.patch is not needed anymore as the vendored curl will disable the use of nghttp2 automatically if it isn't found. Signed-off-by: Ross Burton --- .../cmake/cmake-native_4.2.3.bb | 5 ++- ...ext2fs-ext2_fs.h-by-cmake-s-internal.patch | 38 ------------------- ...2-CMakeLists.txt-disable-USE_NGHTTP2.patch | 36 ------------------ 3 files changed, 3 insertions(+), 76 deletions(-) delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch delete mode 100644 meta/recipes-devtools/cmake/cmake/0002-CMakeLists.txt-disable-USE_NGHTTP2.patch diff --git a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb index a4d53274381..cf800d48543 100644 --- a/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb +++ b/meta/recipes-devtools/cmake/cmake-native_4.2.3.bb @@ -5,8 +5,6 @@ DEPENDS += "bzip2-replacement-native xz-native zlib-native ncurses-native zstd-n SRC_URI += "file://OEToolchainConfig.cmake \ file://environment.d-cmake.sh \ - file://0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch \ - file://0002-CMakeLists.txt-disable-USE_NGHTTP2.patch \ " LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl & Apache-2.0" @@ -37,6 +35,9 @@ EXTRA_OECMAKE += "\ -DHAVE_SYS_ACL_H=0 \ " +# Ensure e2fsprogs isn't found on the host to remove a build dependency and reproducible builds. +EXTRA_OECMAKE += "-DHAVE_EXT2FS_EXT2_FS_H=0 -DHAVE_WORKING_EXT2_IOC_GETFLAGS=0" + do_configure () { ${S}/bootstrap --verbose --prefix=${prefix} \ ${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \ diff --git a/meta/recipes-devtools/cmake/cmake/0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch b/meta/recipes-devtools/cmake/cmake/0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch deleted file mode 100644 index 7a717f72d80..00000000000 --- a/meta/recipes-devtools/cmake/cmake/0001-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal.patch +++ /dev/null @@ -1,38 +0,0 @@ -From d3859840c134012b18e3bca7e4bab60c9bc8efd5 Mon Sep 17 00:00:00 2001 -From: Otavio Salvador -Date: Thu, 5 Jul 2018 10:28:04 -0300 -Subject: [PATCH] Disable use of ext2fs/ext2_fs.h by cmake's internal - - libarchive copy -Organization: O.S. Systems Software LTDA. - -We don't want to add a dependency on e2fsprogs-native for cmake-native, -and we don't use CPack so just disable this functionality. - -Upstream-Status: Inappropriate [config] - -Signed-off-by: Paul Eggleton -Signed-off-by: Otavio Salvador ---- - Utilities/cmlibarchive/CMakeLists.txt | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt -index 9957052d..71a7aeb5 100644 ---- a/Utilities/cmlibarchive/CMakeLists.txt -+++ b/Utilities/cmlibarchive/CMakeLists.txt -@@ -734,12 +734,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H) - LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H) - LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H) - LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H) --LA_CHECK_INCLUDE_FILE("ext2fs/ext2_fs.h" HAVE_EXT2FS_EXT2_FS_H) -- --CHECK_C_SOURCE_COMPILES("#include --#include --int main(void) { return EXT2_IOC_GETFLAGS; }" HAVE_WORKING_EXT2_IOC_GETFLAGS) -- -+SET(HAVE_EXT2FS_EXT2_FS_H 0) -+SET(HAVE_WORKING_EXT2_IOC_GETFLAGS 0) - LA_CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H) - LA_CHECK_INCLUDE_FILE("fnmatch.h" HAVE_FNMATCH_H) - LA_CHECK_INCLUDE_FILE("grp.h" HAVE_GRP_H) diff --git a/meta/recipes-devtools/cmake/cmake/0002-CMakeLists.txt-disable-USE_NGHTTP2.patch b/meta/recipes-devtools/cmake/cmake/0002-CMakeLists.txt-disable-USE_NGHTTP2.patch deleted file mode 100644 index c03e5e2364a..00000000000 --- a/meta/recipes-devtools/cmake/cmake/0002-CMakeLists.txt-disable-USE_NGHTTP2.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 811ad63aeff08fb6308203989f6cc664d00a2fa9 Mon Sep 17 00:00:00 2001 -From: Changqing Li -Date: Wed, 28 Dec 2022 17:51:27 +0800 -Subject: [PATCH] CMakeLists.txt: disable USE_NGHTTP2 - -nghttp2 depends on cmake-native to build, to break circular -dependency, disable nghttp2. - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Changqing Li - -Adjust the patch to apply on top of v3.28.3. - -Signed-off-by: Trevor Gamblin - -Adjust the patch to apply on top of v3.30.1. - -Signed-off-by: Trevor Gamblin ---- - Utilities/cmcurl/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt -index 63d3a4f5..ab5f1c50 100644 ---- a/Utilities/cmcurl/CMakeLists.txt -+++ b/Utilities/cmcurl/CMakeLists.txt -@@ -109,7 +109,7 @@ set(USE_ECH OFF) - set(USE_HTTPSRR OFF) - set(USE_LIBIDN2 ON) - set(USE_LIBRTMP OFF) --set(USE_NGHTTP2 ON) -+set(USE_NGHTTP2 OFF) - set(USE_NGTCP2 OFF) - set(USE_OPENSSL_QUIC OFF) - set(USE_QUICHE OFF)