diff options
Diffstat (limited to 'meta/classes/goarch.bbclass')
| -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 4a5b2ec787..57537fbc09 100644 --- a/meta/classes/goarch.bbclass +++ b/meta/classes/goarch.bbclass | |||
| @@ -11,6 +11,12 @@ TARGET_GOARM = "${@go_map_arm(d.getVar('TARGET_ARCH', True), d.getVar('TUNE_FEAT | |||
| 11 | TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" | 11 | TARGET_GOTUPLE = "${TARGET_GOOS}_${TARGET_GOARCH}" |
| 12 | GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE',True) == d.getVar('HOST_GOTUPLE',True)]}" | 12 | GO_BUILD_BINDIR = "${@['bin/${HOST_GOTUPLE}','bin'][d.getVar('BUILD_GOTUPLE',True) == d.getVar('HOST_GOTUPLE',True)]}" |
| 13 | 13 | ||
| 14 | # define here because everybody inherits this class | ||
| 15 | # | ||
| 16 | COMPATIBLE_HOST_linux-gnux32 = "null" | ||
| 17 | COMPATIBLE_HOST_powerpc = "null" | ||
| 18 | COMPATIBLE_HOST_powerpc64 = "null" | ||
| 19 | |||
| 14 | def go_map_arch(a, d): | 20 | def go_map_arch(a, d): |
| 15 | import re | 21 | import re |
| 16 | if re.match('i.86', a): | 22 | if re.match('i.86', a): |
