summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/goarch.bbclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 0c22f80518..bfba3c9723 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -11,6 +11,16 @@ TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES')
11TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" 11TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}"
12GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}" 12GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}"
13 13
14# Go supports dynamic linking on a limited set of architectures.
15# See the supportsDynlink function in go/src/cmd/compile/internal/gc/main.go
16GO_DYNLINK = ""
17GO_DYNLINK_arm = "1"
18GO_DYNLINK_aarch64 = "1"
19GO_DYNLINK_x86 = "1"
20GO_DYNLINK_x86-64 = "1"
21GO_DYNLINK_powerpc64 = "1"
22GO_DYNLINK_class-native = ""
23
14# define here because everybody inherits this class 24# define here because everybody inherits this class
15# 25#
16COMPATIBLE_HOST_linux-gnux32 = "null" 26COMPATIBLE_HOST_linux-gnux32 = "null"