summaryrefslogtreecommitdiffstats
path: root/meta/classes/go.bbclass
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-07-26 15:14:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-27 22:36:52 +0100
commit25717652b6d600bed1b938c4a034b0d5f7fb661c (patch)
tree0f97955e68af0e0c6c0e96a4ef30d8d337921d1e /meta/classes/go.bbclass
parent111c426a33a16148d109bfcdfbeaaeac68ae3bcf (diff)
downloadpoky-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/classes/go.bbclass')
-rw-r--r--meta/classes/go.bbclass5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index 85f71a2e9a..cedda68c55 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -1,10 +1,5 @@
1inherit goarch 1inherit goarch
2 2
3# x32 ABI is not supported on go compiler so far
4COMPATIBLE_HOST_linux-gnux32 = "null"
5# ppc32 is not supported in go compilers
6COMPATIBLE_HOST_powerpc = "null"
7
8GOROOT_class-native = "${STAGING_LIBDIR_NATIVE}/go" 3GOROOT_class-native = "${STAGING_LIBDIR_NATIVE}/go"
9GOROOT = "${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" 4GOROOT = "${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
10GOBIN_FINAL_class-native = "${GOROOT_FINAL}/bin" 5GOBIN_FINAL_class-native = "${GOROOT_FINAL}/bin"