]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3targetconfig: pull in nativesdk python when building nativesdk recipes
authorAlexander Kanavin <alex@linutronix.de>
Mon, 18 May 2026 11:16:59 +0000 (13:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 May 2026 10:18:21 +0000 (11:18 +0100)
For the class to work, target python needs to be present in the target
sysroot. This was done only for :target builds but not for :nativesdk
ones, and this patch addresses that.

The issue was reported in
https://lists.openembedded.org/g/openembedded-core/message/237188
(but the proposed fix there isn't right).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/python3targetconfig.bbclass

index 2877665737a9be9929386a509c4e1e064abdc02c..3b9333a4be2a6918a485427ad7d184d7ff9fc69a 100644 (file)
@@ -8,6 +8,7 @@ inherit python3native
 
 EXTRA_PYTHON_DEPENDS ?= ""
 EXTRA_PYTHON_DEPENDS:class-target = "python3"
+EXTRA_PYTHON_DEPENDS:class-nativesdk = "nativesdk-python3"
 DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}"
 
 setup_target_config() {