package/go: Fix powerpc64 config typo

Fix typo in config powerpc64 depends.  Go language only supports 64 bit powerpc.

Also add BR2_powerpc64le to depends list.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Geoff Levand 2016-05-12 00:08:47 +00:00 committed by Thomas Petazzoni
parent 7dfe8c19e9
commit b6b718ca4b
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
bool bool
default y default y
depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc64 || BR2_powerpc64le
depends on !BR2_ARM_CPU_ARMV4 depends on !BR2_ARM_CPU_ARMV4

View file

@ -26,8 +26,10 @@ else ifeq ($(BR2_i386),y)
GO_GOARCH = 386 GO_GOARCH = 386
else ifeq ($(BR2_x86_64),y) else ifeq ($(BR2_x86_64),y)
GO_GOARCH = amd64 GO_GOARCH = amd64
else ifeq ($(BR2_powerpc),y) else ifeq ($(BR2_powerpc64),y)
GO_GOARCH = ppc64 GO_GOARCH = ppc64
else ifeq ($(BR2_powerpc64le),y)
GO_GOARCH = ppc64le
endif endif
HOST_GO_DEPENDENCIES = host-go-bootstrap HOST_GO_DEPENDENCIES = host-go-bootstrap