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

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

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

# Ignore how TARGET_ARCH is computed.
TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}"
# Ignore target os libc for cross compiler
#TARGET_OS[vardepexclude] = "LIBCEXTENSION"
FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:"

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

# 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"