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