diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-cross.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-cross.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc new file mode 100644 index 0000000000..054ce501bd --- /dev/null +++ b/meta/recipes-devtools/go/go-cross.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | inherit cross | ||
2 | |||
3 | DEPENDS += "gcc-cross-${TARGET_ARCH}" | ||
4 | |||
5 | PN = "go-cross-${TARGET_ARCH}" | ||
6 | |||
7 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:" | ||
8 | |||
9 | GOROOT_FINAL = "${libdir}/go" | ||
10 | export GOROOT_FINAL | ||
11 | |||
12 | # Incompatible with musl, at least for now | ||
13 | COMPATIBLE_HOST_libc-musl_class-target = "null" | ||
14 | # x32 ABI is not supported on go compiler so far | ||
15 | COMPATIBLE_HOST_linux-gnux32 = "null" | ||
16 | # ppc32 is not supported in go compilers | ||
17 | COMPATIBLE_HOST_powerpc = "null" | ||