blob: 93206a5d05ac299de7a95fc76b8f53439474bf0f [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001inherit cross
2
3DEPENDS += "gcc-cross-${TARGET_ARCH}"
4
5PN = "go-cross-${TARGET_ARCH}"
6
7# Ignore how TARGET_ARCH is computed.
8TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}"
9
10FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:"
11
12GOROOT_FINAL = "${libdir}/go"
13export GOROOT_FINAL
14
15# x32 ABI is not supported on go compiler so far
16COMPATIBLE_HOST_linux-gnux32 = "null"
17# ppc32 is not supported in go compilers
18COMPATIBLE_HOST_powerpc = "null"