summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/go/go-cross.inc
blob: 054ce501bd7630dad2c8622416c89080bcc76272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
inherit cross

DEPENDS += "gcc-cross-${TARGET_ARCH}"

PN = "go-cross-${TARGET_ARCH}"

FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:"

GOROOT_FINAL = "${libdir}/go"
export GOROOT_FINAL

# Incompatible with musl, at least for now
COMPATIBLE_HOST_libc-musl_class-target = "null"
# x32 ABI is not supported on go compiler so far
COMPATIBLE_HOST_linux-gnux32 = "null"
# ppc32 is not supported in go compilers
COMPATIBLE_HOST_powerpc = "null"