From: Fabio Estevam <festevam@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: khem.raj@oss.qualcomm.com, marek.vasut@mailbox.org,
Fabio Estevam <festevam@gmail.com>
Subject: [PATCH] u-boot: Fix u-boot-tools-native build after DTC update
Date: Tue, 28 Apr 2026 21:18:11 -0300 [thread overview]
Message-ID: <20260429001811.2723886-1-festevam@gmail.com> (raw)
From: Marek Vasut <marek.vasut@mailbox.org>
Set PKG_CONFIG_SYSROOT_DIR as invalid path, so the host tools
build will surely not find host /usr/include/yaml.h file and
will disable yamltree build. For details, see U-Boot commit
807bcd844afe ("scripts/dtc: Fix pkg-config behavior under sysroot").
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
meta/recipes-bsp/u-boot/u-boot-tools.inc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools.inc b/meta/recipes-bsp/u-boot/u-boot-tools.inc
index a055409c2cb0..071746b64e24 100644
--- a/meta/recipes-bsp/u-boot/u-boot-tools.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-tools.inc
@@ -1,5 +1,5 @@
SUMMARY = "U-Boot bootloader tools"
-DEPENDS += "gnutls openssl util-linux swig-native libyaml-native"
+DEPENDS += "gnutls openssl util-linux swig-native"
inherit python3native
export STAGING_INCDIR = "${STAGING_INCDIR_NATIVE}"
@@ -88,3 +88,8 @@ RDEPENDS:${PN}:class-native = ""
BBCLASSEXTEND = "native nativesdk"
+# Set PKG_CONFIG_SYSROOT_DIR as invalid path, so the host tools
+# build will surely not find host /usr/include/yaml.h file and
+# will disable yamltree build. For details, see U-Boot commit
+# 807bcd844afe ("scripts/dtc: Fix pkg-config behavior under sysroot")
+PKG_CONFIG_SYSROOT_DIR:prepend = "/invalid/"
--
2.43.0
next reply other threads:[~2026-04-29 0:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 0:18 Fabio Estevam [this message]
2026-04-29 8:03 ` [OE-core] [PATCH] u-boot: Fix u-boot-tools-native build after DTC update Richard Purdie
2026-04-29 8:36 ` Marek Vasut
2026-04-29 8:56 ` Richard Purdie
2026-04-29 9:47 ` Marek Vasut
2026-04-29 8:43 ` Joao Marcos Costa
2026-04-29 9:01 ` Quentin Schulz
2026-04-29 9:51 ` Marek Vasut
2026-04-29 9:54 ` Quentin Schulz
2026-04-29 13:55 ` Joao Marcos Costa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260429001811.2723886-1-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=khem.raj@oss.qualcomm.com \
--cc=marek.vasut@mailbox.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox