summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-11-13 13:28:01 +0100
committerSteve Sakoman <steve@sakoman.com>2025-11-26 07:50:35 -0800
commit7b9540b6b565eb7276bd92e5a6390c4a00ac801a (patch)
treea9d1f639f9d10c8c3c4f7810312af79f2ae8761a /meta
parent6707dcecb23666e96d9ab1dc568f58bf2cd35aad (diff)
downloadpoky-7b9540b6b565eb7276bd92e5a6390c4a00ac801a.tar.gz
goarch.bbclass: do not leak TUNE_FEATURES into crosssdk task signatures
The default assignments look like this: TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" TUNE_FEATURES is a target-specific variable, and so should be used only for target builds. The change is similar to what is already done for native packages. (From OE-Core rev: cfff8e968257c44880caa3605e158764ed5c6a2a) (From OE-Core rev: e8d475b9b6d7b1ac3b0cfe367faabc07deb663b0) 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> Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/goarch.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/goarch.bbclass b/meta/classes-recipe/goarch.bbclass
index 1ebe03864f..0e9ef3a6ec 100644
--- a/meta/classes-recipe/goarch.bbclass
+++ b/meta/classes-recipe/goarch.bbclass
@@ -24,6 +24,9 @@ TARGET_GOMIPS = "${@go_map_mips(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES
24TARGET_GOARM:class-native = "7" 24TARGET_GOARM:class-native = "7"
25TARGET_GO386:class-native = "sse2" 25TARGET_GO386:class-native = "sse2"
26TARGET_GOMIPS:class-native = "hardfloat" 26TARGET_GOMIPS:class-native = "hardfloat"
27TARGET_GOARM:class-crosssdk = "7"
28TARGET_GO386:class-crosssdk = "sse2"
29TARGET_GOMIPS:class-crosssdk = "hardfloat"
27TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" 30TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}"
28GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}" 31GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}"
29 32