mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 00:32:12 +02:00
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>
16 lines
354 B
PHP
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
|
|
|