public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] waf: Use Python 3 built by the build system
@ 2026-04-15  8:43 Fabio Berton
  2026-04-15  9:41 ` [OE-core] " Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Berton @ 2026-04-15  8:43 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core] [PATCH] waf: Use Python 3 built by the build system
  2026-04-15  8:43 [PATCH] waf: Use Python 3 built by the build system Fabio Berton
@ 2026-04-15  9:41 ` Ross Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2026-04-15  9:41 UTC (permalink / raw)
  To: fbberton@gmail.com; +Cc: openembedded-core@lists.openembedded.org

On 15 Apr 2026, at 09:43, Fabio Berton via lists.openembedded.org <fbberton=gmail.com@lists.openembedded.org> wrote:
> 
> 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.

Why?

Ross

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-15  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15  8:43 [PATCH] waf: Use Python 3 built by the build system Fabio Berton
2026-04-15  9:41 ` [OE-core] " Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox