summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/populate_sdk_base.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-08-19 13:56:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-21 10:29:56 +0100
commit11817b180e68a64cf22d0417f8d647e382ca758d (patch)
treec2b339cbf22839522f52161a616fe86dd6b88c0c /meta/classes-recipe/populate_sdk_base.bbclass
parent5f1aeaf606e4a0103f79b7c548ce91510298457c (diff)
downloadpoky-11817b180e68a64cf22d0417f8d647e382ca758d.tar.gz
fragments/autobuilder: add go to SDK_TOOLCHAIN_LANGS
For reasons unknown, only rust was listed, which means nativesdk-go was not built or tested, which lead to breakage like one fixed in https://git.yoctoproject.org/poky/commit/?id=a669cd2e0c760da9d7e872daea9590fc9e86d766 Note that with this change only building and installing go into SDKsis tested, but no tests are performed with the toolchain itself in testsdk/testimage. For that, a bug has been filed: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15953 Remove go from x32 and mingw targets as it will not build for them. (next to similar removals for rust) (From OE-Core rev: 7f9e3c2c60a2d73b3728d07519471f0614c03130) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/populate_sdk_base.bbclass')
-rw-r--r--meta/classes-recipe/populate_sdk_base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass
index e6685cde97..948e6334ee 100644
--- a/meta/classes-recipe/populate_sdk_base.bbclass
+++ b/meta/classes-recipe/populate_sdk_base.bbclass
@@ -62,6 +62,9 @@ SDK_TOOLCHAIN_LANGS ??= ""
62SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust" 62SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust"
63# libstd-rs doesn't build for mips n32 with compiler constraint errors 63# libstd-rs doesn't build for mips n32 with compiler constraint errors
64SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust" 64SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust"
65# go will not build for x86-x32 or mingw
66SDK_TOOLCHAIN_LANGS:remove:linux-gnux32 = "go"
67SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "go"
65 68
66TOOLCHAIN_HOST_TASK ?= " \ 69TOOLCHAIN_HOST_TASK ?= " \
67 nativesdk-packagegroup-sdk-host \ 70 nativesdk-packagegroup-sdk-host \