diff options
author | Joe Slater <jslater@windriver.com> | 2017-07-26 15:14:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-27 22:36:52 +0100 |
commit | 25717652b6d600bed1b938c4a034b0d5f7fb661c (patch) | |
tree | 0f97955e68af0e0c6c0e96a4ef30d8d337921d1e /meta/recipes-devtools/go | |
parent | 111c426a33a16148d109bfcdfbeaaeac68ae3bcf (diff) | |
download | poky-25717652b6d600bed1b938c4a034b0d5f7fb661c.tar.gz |
go: centralize definition of COMPATIBLE_HOST
Put it in goarch.bbclass which all go related recipes inherit.
(From OE-Core rev: 9e899bbc081cb932c1492f6d6802b908d70ef42f)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go')
-rw-r--r-- | meta/recipes-devtools/go/go-cross.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/go/go.inc | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc index 71e461123c..1c2d9e3a3d 100644 --- a/meta/recipes-devtools/go/go-cross.inc +++ b/meta/recipes-devtools/go/go-cross.inc | |||
@@ -13,7 +13,3 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:" | |||
13 | GOROOT_FINAL = "${libdir}/go" | 13 | GOROOT_FINAL = "${libdir}/go" |
14 | export GOROOT_FINAL | 14 | export GOROOT_FINAL |
15 | 15 | ||
16 | # x32 ABI is not supported on go compiler so far | ||
17 | COMPATIBLE_HOST_linux-gnux32 = "null" | ||
18 | # ppc32 is not supported in go compilers | ||
19 | COMPATIBLE_HOST_powerpc = "null" | ||
diff --git a/meta/recipes-devtools/go/go.inc b/meta/recipes-devtools/go/go.inc index 91d040d483..52abbebd7e 100644 --- a/meta/recipes-devtools/go/go.inc +++ b/meta/recipes-devtools/go/go.inc | |||
@@ -12,12 +12,6 @@ DEPENDS += "${@ 'libgcc' if not oe.utils.inherits(d, 'cross') else ''}" | |||
12 | INHIBIT_PACKAGE_STRIP = "1" | 12 | INHIBIT_PACKAGE_STRIP = "1" |
13 | INHIBIT_SYSROOT_STRIP = "1" | 13 | INHIBIT_SYSROOT_STRIP = "1" |
14 | 14 | ||
15 | # x32 ABI is not supported on go compiler so far | ||
16 | COMPATIBLE_HOST_linux-gnux32 = "null" | ||
17 | # ppc is not supported in go compilers | ||
18 | COMPATIBLE_HOST_powerpc = "null" | ||
19 | COMPATIBLE_HOST_powerpc64 = "null" | ||
20 | |||
21 | export GOHOSTOS = "${BUILD_GOOS}" | 15 | export GOHOSTOS = "${BUILD_GOOS}" |
22 | export GOHOSTARCH = "${BUILD_GOARCH}" | 16 | export GOHOSTARCH = "${BUILD_GOARCH}" |
23 | export GOOS = "${TARGET_GOOS}" | 17 | export GOOS = "${TARGET_GOOS}" |