From: Fabio Berton <fbberton@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] waf: Use Python 3 built by the build system
Date: Wed, 15 Apr 2026 09:43:44 +0100 [thread overview]
Message-ID: <20260415084344.43909-1-fbberton@gmail.com> (raw)
From: Fabio Berton <fabio.berton@ctw.bmwgroup.com>
Inherit python3native bbclass to call waf using Python 3 built by the
build system instead of the host Python 3.
Signed-off-by: Fabio Berton <fabio.berton@ctw.bmwgroup.com>
---
meta/classes-recipe/waf.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes-recipe/waf.bbclass b/meta/classes-recipe/waf.bbclass
index 01707c8e2c..5077e3aeea 100644
--- a/meta/classes-recipe/waf.bbclass
+++ b/meta/classes-recipe/waf.bbclass
@@ -4,6 +4,8 @@
# SPDX-License-Identifier: MIT
#
+inherit python3native
+
# avoids build breaks when using no-static-libs.inc
DISABLE_STATIC = ""
--
2.43.0
next reply other threads:[~2026-04-15 8:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-15 8:43 Fabio Berton [this message]
2026-04-15 9:41 ` [OE-core] [PATCH] waf: Use Python 3 built by the build system Ross Burton
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=20260415084344.43909-1-fbberton@gmail.com \
--to=fbberton@gmail.com \
--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