bcb8ef0fdc
Fixes: http://autobuild.buildroot.org/results/020/02039969b16534d4020ecd4574bae71b91c1e6b8/ (flannel) http://autobuild.buildroot.org/results/e95/e9528b06b350ef84c1e2cb59fba87b4db77b4660/ (docker-engine) [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
691 B
Plaintext
20 lines
691 B
Plaintext
config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
|
bool
|
|
default y
|
|
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006
|
|
depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS
|
|
depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \
|
|
|| BR2_i386 || BR2_x86_64 || BR2_powerpc64le \
|
|
|| BR2_mips64 || BR2_mips64el
|
|
depends on !BR2_ARM_CPU_ARMV4
|
|
# MIPS R6 support in Go has not yet been developed.
|
|
depends on !BR2_MIPS_CPU_MIPS64R6
|
|
|
|
config BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
|
|
bool
|
|
default y
|
|
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
|
# Go doesn't support CGO linking on MIPS64x platforms
|
|
# See: https://github.com/karalabe/xgo/issues/46
|
|
depends on !BR2_mips64 && !BR2_mips64el
|