Files
poky/meta/recipes-devtools/go/go-cross.inc
Joe Slater 25717652b6 go: centralize definition of COMPATIBLE_HOST
Put it in goarch.bbclass which all go related recipes inherit.

(From OE-Core rev: 9e899bbc081cb932c1492f6d6802b908d70ef42f)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-27 22:36:52 +01:00

16 lines
354 B
PHP

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