diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-08-19 13:56:51 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-21 10:29:56 +0100 |
| commit | 11817b180e68a64cf22d0417f8d647e382ca758d (patch) | |
| tree | c2b339cbf22839522f52161a616fe86dd6b88c0c /meta/classes-recipe/populate_sdk_base.bbclass | |
| parent | 5f1aeaf606e4a0103f79b7c548ce91510298457c (diff) | |
| download | poky-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.bbclass | 3 |
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 ??= "" | |||
| 62 | SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust" | 62 | SDK_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 |
| 64 | SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust" | 64 | SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust" |
| 65 | # go will not build for x86-x32 or mingw | ||
| 66 | SDK_TOOLCHAIN_LANGS:remove:linux-gnux32 = "go" | ||
| 67 | SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "go" | ||
| 65 | 68 | ||
| 66 | TOOLCHAIN_HOST_TASK ?= " \ | 69 | TOOLCHAIN_HOST_TASK ?= " \ |
| 67 | nativesdk-packagegroup-sdk-host \ | 70 | nativesdk-packagegroup-sdk-host \ |
