summaryrefslogtreecommitdiffstats
path: root/package/go/Config.in.host
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2016-04-04 19:31:49 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-20 22:29:34 +0200
commitec50eb3e4226e69d11dffff8e509a981586dd81f (patch)
tree843c9e4a3e9829d64ac9bcd91e2e3ffcbe0f5482 /package/go/Config.in.host
parentc7bc687e7d2b8ef7afd74d4d35c45e2a16f28513 (diff)
downloadbuildroot-ec50eb3e4226e69d11dffff8e509a981586dd81f.tar.gz
buildroot-ec50eb3e4226e69d11dffff8e509a981586dd81f.zip
go: new host package
Add a new package 'go' which builds the host cross compiler and libraries for the go programming language. Signed-off-by: Geoff Levand <geoff@infradead.org> [Thomas: - Put the computation of GO_GOARM inside the ifeq ($(BR2_arm),y) condition rather than duplicating this condition. - Remove the GO_GOARCH=unknown case, since there is no way to fall in this case as only supported architectures can use host-go. - Remove the GO_GOARM=unknown case, since we are sure that only ARMv5/6/7 will use host-go. - Rename HOST_GO_FINAL to HOST_GO_ROOT, since it's really the "root" of the Go installation. - Remove visible Config.in.host option.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/go/Config.in.host')
-rw-r--r--package/go/Config.in.host5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/go/Config.in.host b/package/go/Config.in.host
new file mode 100644
index 0000000000..094e402949
--- /dev/null
+++ b/package/go/Config.in.host
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+ bool
+ default y
+ depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc
+ depends on !BR2_ARM_CPU_ARMV4
OpenPOWER on IntegriCloud