2016-04-04 21:31:49 +02:00
|
|
|
config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y
|
2018-11-25 10:19:50 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006
|
2017-11-07 23:10:59 +01:00
|
|
|
depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS
|
2016-07-24 17:39:43 +02:00
|
|
|
depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \
|
2016-11-11 21:35:29 +01:00
|
|
|
|| BR2_i386 || BR2_x86_64 || BR2_powerpc64le \
|
2016-07-24 17:39:43 +02:00
|
|
|
|| BR2_mips64 || BR2_mips64el
|
2016-04-04 21:31:49 +02:00
|
|
|
depends on !BR2_ARM_CPU_ARMV4
|
2016-06-27 10:51:17 +02:00
|
|
|
# MIPS R6 support in Go has not yet been developed.
|
2016-09-30 11:36:49 +02:00
|
|
|
depends on !BR2_MIPS_CPU_MIPS64R6
|
2016-07-06 10:34:28 +02:00
|
|
|
|
|
|
|
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
|