From patchwork Thu Oct 2 00:08:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 71487 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 17E14CCD182 for ; Thu, 2 Oct 2025 00:08:19 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.953.1759363697277299696 for ; Wed, 01 Oct 2025 17:08:18 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 3E89C40CC4; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RruW7Q6o1onk; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1AC6F40A20; Thu, 2 Oct 2025 00:08:15 +0000 (UTC) Received: from thorin.han-sole.ts.net (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 2B6AA163E3C; Wed, 1 Oct 2025 20:08:13 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko Subject: [RFC PATCH 1/5] baremetal, linux-dummy: bypass kernel dependencies for baremetal Date: Wed, 1 Oct 2025 20:08:06 -0400 Message-Id: <20251002000810.226673-1-denis@denix.org> X-Mailer: git-send-email 2.25.1 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 ; Thu, 02 Oct 2025 00:08:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224337 From: Denys Dmytriyenko When building something for baremetal configs (such as firmware images for heterogeneous cores), you don't normally include Linux kernel. But yocto-check-layer (and possibly other tools) tend to dump "world" signatures and trip over a large number of Linux kernel depdencies from other recipes and packagegroups. Those aren't limited to directly depending on virtual/kernel, but also everything else kernel-related, such as tools, device trees and especially a large number of specific kernel module RRECOMMENDS. As linux-dummy was originally created to specifically cut down all such kernel dependencies when it's not built or packaged normally, we can re-use it for baremetal configs as well. Since linux-dummy can now be used outside of Linux host, update COMPATIBLE_HOST accordingly. Also, cut out kernel-devsrc (kernel sources) from the world build completely - it is quite weird and very custom on its own. [YOCTO #15982] Signed-off-by: Denys Dmytriyenko --- meta/conf/distro/include/tclibc-baremetal.inc | 1 + meta/recipes-kernel/linux/kernel-devsrc.bb | 2 ++ meta/recipes-kernel/linux/linux-dummy.bb | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc index abea5a7162..adac212dc0 100644 --- a/meta/conf/distro/include/tclibc-baremetal.inc +++ b/meta/conf/distro/include/tclibc-baremetal.inc @@ -8,6 +8,7 @@ LIBCOVERRIDE = ":libc-baremetal" ASSUME_PROVIDED += "virtual/libc virtual/libiconv virtual/crypt" +PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy" PREFERRED_PROVIDER_virtual/libc ?= "musl" PREFERRED_PROVIDER_virtual/libiconv ?= "musl" PREFERRED_PROVIDER_virtual/libintl ?= "gettext" diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 04dd683dde..dbad6f113a 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb @@ -423,3 +423,5 @@ RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'powerpc', 'elfutils-dev', '', d RDEPENDS:${PN} += "gcc-plugins libmpc-dev" # 5.13+ needs grep for powerpc RDEPENDS:${PN}:append:powerpc = " grep" + +EXCLUDE_FROM_WORLD = "1" diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb index d7f39a452d..6199787a71 100644 --- a/meta/recipes-kernel/linux/linux-dummy.bb +++ b/meta/recipes-kernel/linux/linux-dummy.bb @@ -25,8 +25,6 @@ DESCRIPTION:kernel-vmlinux = "Kernel vmlinux meta package" INHIBIT_DEFAULT_DEPS = "1" -COMPATIBLE_HOST = ".*-linux" - SRC_URI = "file://COPYING.GPL" S = "${UNPACKDIR}" From patchwork Thu Oct 2 00:08:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 71488 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 24608CCD183 for ; Thu, 2 Oct 2025 00:08:19 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.891.1759363697319127570 for ; Wed, 01 Oct 2025 17:08:18 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 40F9240CC8; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R2Jv1NjDY3aK; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1E64540CC1; Thu, 2 Oct 2025 00:08:15 +0000 (UTC) Received: from thorin.han-sole.ts.net (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 39077163F7B; Wed, 1 Oct 2025 20:08:13 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko Subject: [RFC PATCH 2/5] glibc: skip also on baremetal Date: Wed, 1 Oct 2025 20:08:07 -0400 Message-Id: <20251002000810.226673-2-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20251002000810.226673-1-denis@denix.org> References: <20251002000810.226673-1-denis@denix.org> 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 ; Thu, 02 Oct 2025 00:08:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224335 From: Denys Dmytriyenko Similar to how glibc gets skipped when building musl config, also skip it when building baremetal config. [YOCTO #15982] Signed-off-by: Denys Dmytriyenko --- meta/recipes-core/glibc/glibc-common.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index 7422ede04d..30179870a9 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc @@ -21,6 +21,7 @@ ARM_INSTRUCTION_SET:armv6 = "arm" # this helps in easing out parsing for non-glibc system libraries # COMPATIBLE_HOST:libc-musl:class-target = "null" +COMPATIBLE_HOST:libc-baremetal:class-target = "null" PV = "2.42+git" From patchwork Thu Oct 2 00:08:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 71490 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 189F4CAC5BB for ; Thu, 2 Oct 2025 00:08:19 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.889.1759363697264243076 for ; Wed, 01 Oct 2025 17:08:18 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 5354A40CC1; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eX6TsM0jGSLn; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1CDA840C8C; Thu, 2 Oct 2025 00:08:15 +0000 (UTC) Received: from thorin.han-sole.ts.net (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 43DCB16401A; Wed, 1 Oct 2025 20:08:13 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko Subject: [RFC PATCH 3/5] musl: set compatibility a bit more flexible Date: Wed, 1 Oct 2025 20:08:08 -0400 Message-Id: <20251002000810.226673-3-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20251002000810.226673-1-denis@denix.org> References: <20251002000810.226673-1-denis@denix.org> 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 ; Thu, 02 Oct 2025 00:08:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224333 From: Denys Dmytriyenko Like musl Linux config, baremetal also uses musl as a libc, but it has a different host triplet set. Hence adjust COMPATIBLE_HOST to accomodate this use case by checking that musl is a preferred provider of libc. [YOCTO #15982] Signed-off-by: Denys Dmytriyenko --- meta/recipes-core/musl/bsd-headers.bb | 2 +- meta/recipes-core/musl/libssp-nonshared.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/musl/bsd-headers.bb b/meta/recipes-core/musl/bsd-headers.bb index ad9ba81e4f..c6a3814a49 100644 --- a/meta/recipes-core/musl/bsd-headers.bb +++ b/meta/recipes-core/musl/bsd-headers.bb @@ -25,7 +25,7 @@ do_install() { # # We will skip parsing for non-musl systems # +COMPATIBLE_HOST = "${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/libc', 'musl', '.*', 'null', d)}" -COMPATIBLE_HOST = ".*-musl.*" DEV_PKG_DEPENDENCY = "" RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" diff --git a/meta/recipes-core/musl/libssp-nonshared.bb b/meta/recipes-core/musl/libssp-nonshared.bb index 4bcbaef7ea..6f12ff0c9b 100644 --- a/meta/recipes-core/musl/libssp-nonshared.bb +++ b/meta/recipes-core/musl/libssp-nonshared.bb @@ -29,7 +29,8 @@ do_install() { # # We will skip parsing for non-musl systems # -COMPATIBLE_HOST = ".*-musl.*" +COMPATIBLE_HOST = "${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/libc', 'musl', '.*', 'null', d)}" + RDEPENDS:${PN}-staticdev = "" DEV_PKG_DEPENDENCY = "" RRECOMMENDS:${PN}-dbg = "${PN}-staticdev (= ${EXTENDPKGV})" From patchwork Thu Oct 2 00:08:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 71486 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 16F70CCA470 for ; Thu, 2 Oct 2025 00:08:19 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.952.1759363697263936632 for ; Wed, 01 Oct 2025 17:08:18 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 48FE640A20; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gHmPKAUbueSO; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 1FB9140CC2; Thu, 2 Oct 2025 00:08:15 +0000 (UTC) Received: from thorin.han-sole.ts.net (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 50EA6164022; Wed, 1 Oct 2025 20:08:13 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko Subject: [RFC PATCH 4/5] newlib: mark as incompatible with baremetal, which uses musl Date: Wed, 1 Oct 2025 20:08:09 -0400 Message-Id: <20251002000810.226673-4-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20251002000810.226673-1-denis@denix.org> References: <20251002000810.226673-1-denis@denix.org> 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 ; Thu, 02 Oct 2025 00:08:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224336 From: Denys Dmytriyenko Like newlib is already marked as incompatible with glibc and musl, mark it as incompatible with baremetal, which uses musl. [YOCTO #15982] Signed-off-by: Denys Dmytriyenko --- meta/recipes-core/newlib/newlib.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc index a8794dd1d9..a8d138739c 100644 --- a/meta/recipes-core/newlib/newlib.inc +++ b/meta/recipes-core/newlib/newlib.inc @@ -65,3 +65,4 @@ do_install() { COMPATIBLE_HOST:libc-musl:class-target = "null" COMPATIBLE_HOST:libc-glibc:class-target = "null" +COMPATIBLE_HOST:libc-baremetal:class-target = "null" From patchwork Thu Oct 2 00:08:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 71489 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 2B667CCD185 for ; Thu, 2 Oct 2025 00:08:19 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web11.890.1759363697315395689 for ; Wed, 01 Oct 2025 17:08:18 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 4B4AD40CC7; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S8ClvmChjlyo; Thu, 2 Oct 2025 00:08:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-87-159.washdc.fios.verizon.net [100.15.87.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 21B9340CC3; Thu, 2 Oct 2025 00:08:15 +0000 (UTC) Received: from thorin.han-sole.ts.net (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 5C93C16405C; Wed, 1 Oct 2025 20:08:13 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko Subject: [RFC PATCH 5/5] packagegroups, dpkg: extend musl conditionals to baremetal Date: Wed, 1 Oct 2025 20:08:10 -0400 Message-Id: <20251002000810.226673-5-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20251002000810.226673-1-denis@denix.org> References: <20251002000810.226673-1-denis@denix.org> 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 ; Thu, 02 Oct 2025 00:08:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224334 From: Denys Dmytriyenko Some packagegroups have conditional inclusion of packages based on their compatibility with specific libc providers. Add baremetal config, which is mostly similar to musl, that baremetal uses as libc. [YOCTO #15982] Signed-off-by: Denys Dmytriyenko --- meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 + .../packagegroups/packagegroup-core-tools-profile.bb | 2 ++ .../packagegroups/packagegroup-core-tools-testapps.bb | 1 + meta/recipes-devtools/dpkg/dpkg.inc | 1 + 4 files changed, 5 insertions(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb index e6d704b5ba..2fd815508f 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb @@ -42,6 +42,7 @@ SANITIZERS:nios2 = "" SANITIZERS:riscv64 = "" SANITIZERS:riscv32 = "" SANITIZERS:libc-musl = "" +SANITIZERS:libc-baremetal = "" RRECOMMENDS:packagegroup-core-sdk = "\ libgomp \ diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index 9c09f5ab44..501559771e 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb @@ -28,6 +28,7 @@ PERF:riscv32 = "" # systemtap needs elfutils which is not fully buildable on some arches/libcs SYSTEMTAP = "systemtap" SYSTEMTAP:libc-musl = "" +SYSTEMTAP:libc-baremetal = "" SYSTEMTAP:nios2 = "" SYSTEMTAP:riscv32 = "" @@ -41,6 +42,7 @@ BABELTRACE2 = "babeltrace2" VALGRIND = "valgrind" VALGRIND:libc-musl = "" +VALGRIND:libc-baremetal = "" VALGRIND:mipsarch = "" VALGRIND:nios2 = "" VALGRIND:arc = "" diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb index 25561f6878..b77739871e 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb @@ -17,6 +17,7 @@ KEXECTOOLS:nios2 ?= "" KEXECTOOLS:riscv64 ?= "" KEXECTOOLS:riscv32 ?= "" KEXECTOOLS:loongarch64 ?= "" +KEXECTOOLS:libc-baremetal ?= "" # go does not support ppc32, only ppc64 # https://github.com/golang/go/issues/22885 diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index b4e9667107..e091fdb5cd 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc @@ -116,6 +116,7 @@ ALTERNATIVE_PRIORITY = "100" EXTRA_RDPENDS = "ldconfig" EXTRA_RDPENDS:libc-musl = "" +EXTRA_RDPENDS:libc-baremetal = "" RDEPENDS:${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}" BBCLASSEXTEND = "native nativesdk"