diff mbox series

waf: Use Python 3 built by the build system

Message ID 20260415084344.43909-1-fbberton@gmail.com
State Changes Requested
Headers show
Series waf: Use Python 3 built by the build system | expand

Commit Message

Fabio Berton April 15, 2026, 8:43 a.m. UTC
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(+)

Comments

Ross Burton April 15, 2026, 9:41 a.m. UTC | #1
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
diff mbox series

Patch

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 = ""