]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sdk: Remove go from SDK_TOOLCHAIN_LANGS for rv32
authorKhem Raj <raj.khem@gmail.com>
Tue, 26 Aug 2025 20:55:22 +0000 (13:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Aug 2025 09:47:02 +0000 (10:47 +0100)
RISCV32 port of go compiler does not yet exist remove it from list
Fixes SDK builds for qemuriscv32 and other rv32 machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/populate_sdk_base.bbclass
meta/recipes-core/packagegroups/packagegroup-core-sdk.bb

index 948e6334ee05747fcea659379b855bb189b4fe8c..12137cea394fc6ba4810b3cbe8ed510435fd3635 100644 (file)
@@ -64,6 +64,7 @@ SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust"
 SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust"
 # go will not build for x86-x32 or mingw
 SDK_TOOLCHAIN_LANGS:remove:linux-gnux32 = "go"
+SDK_TOOLCHAIN_LANGS:remove:riscv32 = "go"
 SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "go"
 
 TOOLCHAIN_HOST_TASK ?= " \
index 84e1a41d9a0018ff94769dd42a24e5a88b5cab66..3a4125976978941ade858eb3919b203672d0d76d 100644 (file)
@@ -14,6 +14,7 @@ TARGET_TOOLCHAIN_LANGS ??= "${SDK_TOOLCHAIN_LANGS}"
 TARGET_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust"
 # libstd-rs doesn't build for mips n32 with compiler constraint errors
 TARGET_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust"
+TARGET_TOOLCHAIN_LANGS:remove:riscv32 = "go"
 
 RDEPENDS:packagegroup-core-sdk = "\
     packagegroup-core-buildessential \