Update buildroot to 2021.02.5 (#1566)
Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# From https://golang.org/dl/
|
||||
sha256 0662ae3813330280d5f1a97a2ee23bbdbe3a5a7cfa6001b24a9873a19a0dc7ec go1.15.15.src.tar.gz
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
|
||||
sha256 8f2a8c24b793375b3243df82fdb0c8387486dcc8a892ca1c991aa99ace086b98 go1.16.8.src.tar.gz
|
||||
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GO_VERSION = 1.15.15
|
||||
GO_VERSION = 1.16.8
|
||||
GO_SITE = https://storage.googleapis.com/golang
|
||||
GO_SOURCE = go$(GO_VERSION).src.tar.gz
|
||||
|
||||
@@ -49,6 +49,10 @@ else ifeq ($(BR2_aarch64),y)
|
||||
GO_GOARCH = arm64
|
||||
else ifeq ($(BR2_i386),y)
|
||||
GO_GOARCH = 386
|
||||
# i386: use softfloat if no SSE2: https://golang.org/doc/go1.16#386
|
||||
ifneq ($(BR2_X86_CPU_HAS_SSE2),y)
|
||||
GO_GO386 = softfloat
|
||||
endif
|
||||
else ifeq ($(BR2_x86_64),y)
|
||||
GO_GOARCH = amd64
|
||||
else ifeq ($(BR2_powerpc64),y)
|
||||
@@ -90,6 +94,7 @@ HOST_GO_CROSS_ENV = \
|
||||
CC_FOR_TARGET="$(TARGET_CC)" \
|
||||
CXX_FOR_TARGET="$(TARGET_CXX)" \
|
||||
GOARCH=$(GO_GOARCH) \
|
||||
$(if $(GO_GO386),GO386=$(GO_GO386)) \
|
||||
$(if $(GO_GOARM),GOARM=$(GO_GOARM)) \
|
||||
GO_ASSUME_CROSSCOMPILING=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user