summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-cross.inc
blob: 1c2d9e3a3d00d463416272e20a12384dd77a1840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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