mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
111c426a33
commit
25717652b6
@@ -13,7 +13,3 @@ 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"
|
||||
|
||||
@@ -12,12 +12,6 @@ DEPENDS += "${@ 'libgcc' if not oe.utils.inherits(d, 'cross') else ''}"
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
# x32 ABI is not supported on go compiler so far
|
||||
COMPATIBLE_HOST_linux-gnux32 = "null"
|
||||
# ppc is not supported in go compilers
|
||||
COMPATIBLE_HOST_powerpc = "null"
|
||||
COMPATIBLE_HOST_powerpc64 = "null"
|
||||
|
||||
export GOHOSTOS = "${BUILD_GOOS}"
|
||||
export GOHOSTARCH = "${BUILD_GOARCH}"
|
||||
export GOOS = "${TARGET_GOOS}"
|
||||
|
||||
Reference in New Issue
Block a user