summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/goarch.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 166dea9dc6..1147b6d233 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -6,12 +6,18 @@ HOST_GOARCH = "${@go_map_arch(d.getVar('HOST_ARCH'), d)}"
6HOST_GOARM = "${@go_map_arm(d.getVar('HOST_ARCH'), d)}" 6HOST_GOARM = "${@go_map_arm(d.getVar('HOST_ARCH'), d)}"
7HOST_GO386 = "${@go_map_386(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}" 7HOST_GO386 = "${@go_map_386(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}"
8HOST_GOMIPS = "${@go_map_mips(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}" 8HOST_GOMIPS = "${@go_map_mips(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}"
9HOST_GOARM_class-native = "7"
10HOST_GO386_class-native = "sse2"
11HOST_GOMIPS_class-native = "hardfloat"
9HOST_GOTUPLE = "${HOST_GOOS}_${HOST_GOARCH}" 12HOST_GOTUPLE = "${HOST_GOOS}_${HOST_GOARCH}"
10TARGET_GOOS = "${@go_map_os(d.getVar('TARGET_OS'), d)}" 13TARGET_GOOS = "${@go_map_os(d.getVar('TARGET_OS'), d)}"
11TARGET_GOARCH = "${@go_map_arch(d.getVar('TARGET_ARCH'), d)}" 14TARGET_GOARCH = "${@go_map_arch(d.getVar('TARGET_ARCH'), d)}"
12TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH'), d)}" 15TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH'), d)}"
13TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" 16TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}"
14TARGET_GOMIPS = "${@go_map_mips(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" 17TARGET_GOMIPS = "${@go_map_mips(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}"
18TARGET_GOARM_class-native = "7"
19TARGET_GO386_class-native = "sse2"
20TARGET_GOMIPS_class-native = "hardfloat"
15TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" 21TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}"
16GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}" 22GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}"
17 23