diff options
-rw-r--r-- | meta/classes/goarch.bbclass | 6 |
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)}" | |||
6 | HOST_GOARM = "${@go_map_arm(d.getVar('HOST_ARCH'), d)}" | 6 | HOST_GOARM = "${@go_map_arm(d.getVar('HOST_ARCH'), d)}" |
7 | HOST_GO386 = "${@go_map_386(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}" | 7 | HOST_GO386 = "${@go_map_386(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}" |
8 | HOST_GOMIPS = "${@go_map_mips(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}" | 8 | HOST_GOMIPS = "${@go_map_mips(d.getVar('HOST_ARCH'), d.getVar('TUNE_FEATURES'), d)}" |
9 | HOST_GOARM_class-native = "7" | ||
10 | HOST_GO386_class-native = "sse2" | ||
11 | HOST_GOMIPS_class-native = "hardfloat" | ||
9 | HOST_GOTUPLE = "${HOST_GOOS}_${HOST_GOARCH}" | 12 | HOST_GOTUPLE = "${HOST_GOOS}_${HOST_GOARCH}" |
10 | TARGET_GOOS = "${@go_map_os(d.getVar('TARGET_OS'), d)}" | 13 | TARGET_GOOS = "${@go_map_os(d.getVar('TARGET_OS'), d)}" |
11 | TARGET_GOARCH = "${@go_map_arch(d.getVar('TARGET_ARCH'), d)}" | 14 | TARGET_GOARCH = "${@go_map_arch(d.getVar('TARGET_ARCH'), d)}" |
12 | TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH'), d)}" | 15 | TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH'), d)}" |
13 | TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" | 16 | TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" |
14 | TARGET_GOMIPS = "${@go_map_mips(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" | 17 | TARGET_GOMIPS = "${@go_map_mips(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" |
18 | TARGET_GOARM_class-native = "7" | ||
19 | TARGET_GO386_class-native = "sse2" | ||
20 | TARGET_GOMIPS_class-native = "hardfloat" | ||
15 | TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" | 21 | TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" |
16 | GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}" | 22 | GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE') == d.getVar('HOST_GOTUPLE')]}" |
17 | 23 | ||