Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5bc133e072 | |||
| 859f8f7eda | |||
| dd4792423c | |||
| 5c14cc148c | |||
| 3a0a5ef43b | |||
| 8a87e6715e | |||
| 4279464f6a | |||
| 77fe76268b | |||
| 54a295bf41 | |||
| f122f14c2a | |||
| 6eeff33bf4 | |||
| ae55f29bdf | |||
| dbcd4b5a64 | |||
| ac1594adf4 | |||
| 7f46386f4e | |||
| 3a446659ee | |||
| a1fb8ff9c1 | |||
| 654f5197b8 | |||
| bf6312a89f | |||
| 14bbacea4e | |||
| bf6b686752 | |||
| d0f586b961 | |||
| 6fe3dcc385 | |||
| 2487aedb45 | |||
| c2a6fcc272 | |||
| 555474c3eb | |||
| d5df07f591 | |||
| 7a80f55817 | |||
| 34ff63baba | |||
| 65120f6a29 | |||
| 6b97afc8da | |||
| fb7c0c512b | |||
| dc76eb7ec9 | |||
| ed2c530698 | |||
| 5f47662dbb | |||
| f82d4dde52 | |||
| de98b9b6d3 | |||
| e61be40a34 | |||
| 8af50ec406 |
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
## How to use?
|
## How to use?
|
||||||
|
|
||||||
|
After the `./scripts/feeds install -a` operation is completed, execute the following command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 21.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 26.x feeds/packages/lang/golang
|
||||||
```
|
```
|
||||||
|
|||||||
Regular → Executable
+7
-1
@@ -1,4 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020, 2022 Jeffery To
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
nl="
|
nl="
|
||||||
"
|
"
|
||||||
@@ -114,7 +120,7 @@ build() {
|
|||||||
if [ "$GO_GO_GENERATE" = 1 ]; then
|
if [ "$GO_GO_GENERATE" = 1 ]; then
|
||||||
log "Calling go generate"
|
log "Calling go generate"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
GOOS='' GOARCH='' GO386='' GOARM='' GOMIPS='' GOMIPS64='' \
|
GOOS='' GOARCH='' GO386='' GOARM='' GOARM64='' GOMIPS='' GOMIPS64='' GORISCV64=''\
|
||||||
go generate -v $targets
|
go generate -v $targets
|
||||||
log
|
log
|
||||||
fi
|
fi
|
||||||
|
|||||||
+13
-8
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018, 2020 Jeffery To
|
# Copyright (C) 2018, 2020-2021, 2023 Jeffery To
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@@ -19,15 +19,15 @@ define GoCompiler/Default/CheckHost
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
# $(1) source go root
|
# $(1) source go root
|
||||||
# $(2) destination prefix
|
# $(2) additional environment variables (optional)
|
||||||
# $(3) go version id
|
|
||||||
# $(4) additional environment variables (optional)
|
|
||||||
define GoCompiler/Default/Make
|
define GoCompiler/Default/Make
|
||||||
( \
|
( \
|
||||||
cd "$(1)/src" ; \
|
cd "$(1)/src" ; \
|
||||||
$(if $(2),GOROOT_FINAL="$(2)/lib/go-$(3)") \
|
$(2) \
|
||||||
$(4) \
|
$(BASH) make.bash \
|
||||||
$(BASH) make.bash --no-banner ; \
|
$(if $(findstring s,$(OPENWRT_VERBOSE)),-v) \
|
||||||
|
--no-banner \
|
||||||
|
; \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -74,6 +74,11 @@ define GoCompiler/Default/Install/Bin
|
|||||||
$(INSTALL_BIN) -p "$(1)/bin/$(4)"/* "$(2)/lib/go-$(3)/bin/"
|
$(INSTALL_BIN) -p "$(1)/bin/$(4)"/* "$(2)/lib/go-$(3)/bin/"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if [ -d "$(1)/pkg/$(4)$(if $(5),_$(5))" ]; then \
|
||||||
|
$(INSTALL_DIR) "$(2)/lib/go-$(3)/pkg" ; \
|
||||||
|
$(CP) "$(1)/pkg/$(4)$(if $(5),_$(5))" "$(2)/lib/go-$(3)/pkg/" ; \
|
||||||
|
fi
|
||||||
|
|
||||||
$(INSTALL_DIR) "$(2)/lib/go-$(3)/pkg/tool/$(4)"
|
$(INSTALL_DIR) "$(2)/lib/go-$(3)/pkg/tool/$(4)"
|
||||||
$(INSTALL_BIN) -p "$(1)/pkg/tool/$(4)"/* "$(2)/lib/go-$(3)/pkg/tool/$(4)/"
|
$(INSTALL_BIN) -p "$(1)/pkg/tool/$(4)"/* "$(2)/lib/go-$(3)/pkg/tool/$(4)/"
|
||||||
endef
|
endef
|
||||||
@@ -148,7 +153,7 @@ define GoCompiler/AddProfile
|
|||||||
|
|
||||||
# $$(1) additional environment variables (optional)
|
# $$(1) additional environment variables (optional)
|
||||||
define GoCompiler/$(1)/Make
|
define GoCompiler/$(1)/Make
|
||||||
$$(call GoCompiler/Default/Make,$(2),$(3),$(4),$$(1))
|
$$(call GoCompiler/Default/Make,$(2),$$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# $$(1) override install prefix (optional)
|
# $$(1) override install prefix (optional)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2020 Jeffery To
|
# Copyright (C) 2020, 2022 Jeffery To
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018-2020 Jeffery To
|
# Copyright (C) 2018-2022 Jeffery To
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
|||||||
+15
-8
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018, 2020 Jeffery To
|
# Copyright (C) 2018-2023 Jeffery To
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@@ -28,8 +28,8 @@ unexport \
|
|||||||
GOFLAGS \
|
GOFLAGS \
|
||||||
GOOS \
|
GOOS \
|
||||||
GOPATH \
|
GOPATH \
|
||||||
GOTOOLCHAIN \
|
|
||||||
GOROOT \
|
GOROOT \
|
||||||
|
GOTOOLCHAIN \
|
||||||
GOTMPDIR \
|
GOTMPDIR \
|
||||||
GOWORK
|
GOWORK
|
||||||
# Unmodified:
|
# Unmodified:
|
||||||
@@ -59,13 +59,19 @@ unexport \
|
|||||||
# Architecture-specific environment variables:
|
# Architecture-specific environment variables:
|
||||||
unexport \
|
unexport \
|
||||||
GOARM \
|
GOARM \
|
||||||
|
GOARM64 \
|
||||||
GO386 \
|
GO386 \
|
||||||
GOAMD64 \
|
GOAMD64 \
|
||||||
GOMIPS \
|
GOMIPS \
|
||||||
GOMIPS64 \
|
GOMIPS64 \
|
||||||
GOPPC64 \
|
GOPPC64 \
|
||||||
|
GORISCV64 \
|
||||||
GOWASM
|
GOWASM
|
||||||
|
|
||||||
|
# Environment variables for use with code coverage:
|
||||||
|
unexport \
|
||||||
|
GOCOVERDIR
|
||||||
|
|
||||||
# Special-purpose environment variables:
|
# Special-purpose environment variables:
|
||||||
unexport \
|
unexport \
|
||||||
GCCGOTOOLDIR \
|
GCCGOTOOLDIR \
|
||||||
@@ -78,6 +84,7 @@ unexport \
|
|||||||
# From https://pkg.go.dev/runtime#hdr-Environment_Variables
|
# From https://pkg.go.dev/runtime#hdr-Environment_Variables
|
||||||
unexport \
|
unexport \
|
||||||
GOGC \
|
GOGC \
|
||||||
|
GOMEMLIMIT \
|
||||||
GOMAXPROCS \
|
GOMAXPROCS \
|
||||||
GORACE \
|
GORACE \
|
||||||
GOTRACEBACK
|
GOTRACEBACK
|
||||||
@@ -123,10 +130,11 @@ unexport \
|
|||||||
go_arch=$(subst \
|
go_arch=$(subst \
|
||||||
aarch64,arm64,$(subst \
|
aarch64,arm64,$(subst \
|
||||||
i386,386,$(subst \
|
i386,386,$(subst \
|
||||||
|
loongarch64,loong64,$(subst \
|
||||||
mipsel,mipsle,$(subst \
|
mipsel,mipsle,$(subst \
|
||||||
mips64el,mips64le,$(subst \
|
mips64el,mips64le,$(subst \
|
||||||
powerpc64,ppc64,$(subst \
|
powerpc64,ppc64,$(subst \
|
||||||
x86_64,amd64,$(1)))))))
|
x86_64,amd64,$(1))))))))
|
||||||
|
|
||||||
GO_OS:=linux
|
GO_OS:=linux
|
||||||
GO_ARCH:=$(call go_arch,$(ARCH))
|
GO_ARCH:=$(call go_arch,$(ARCH))
|
||||||
@@ -197,17 +205,16 @@ endif
|
|||||||
|
|
||||||
# Target Go
|
# Target Go
|
||||||
|
|
||||||
GO_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||mips||mips64||mips64el||mipsel||powerpc64||x86_64)
|
GO_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||loongarch64||mips||mips64||mips64el||mipsel||powerpc64||riscv64||x86_64)
|
||||||
|
|
||||||
|
|
||||||
# ASLR/PIE
|
# ASLR/PIE
|
||||||
|
|
||||||
# From https://go.dev/src/cmd/internal/sys/supported.go
|
# From https://go.dev/src/internal/platform/supported.go
|
||||||
GO_PIE_SUPPORTED_OS_ARCH:= \
|
GO_PIE_SUPPORTED_OS_ARCH:= \
|
||||||
android_386 android_amd64 android_arm android_arm64 \
|
android_386 android_amd64 android_arm android_arm64 \
|
||||||
linux_386 linux_amd64 linux_arm linux_arm64 \
|
linux_386 linux_amd64 linux_arm linux_arm64 \
|
||||||
\
|
windows_386 windows_amd64 windows_arm windows_arm64 \
|
||||||
windows_386 windows_amd64 windows_arm \
|
|
||||||
\
|
\
|
||||||
darwin_amd64 darwin_arm64 \
|
darwin_amd64 darwin_arm64 \
|
||||||
ios_amd64 ios_arm64 \
|
ios_amd64 ios_arm64 \
|
||||||
@@ -219,7 +226,7 @@ GO_PIE_SUPPORTED_OS_ARCH:= \
|
|||||||
linux_loong64 linux_ppc64le linux_riscv64 linux_s390x
|
linux_loong64 linux_ppc64le linux_riscv64 linux_s390x
|
||||||
|
|
||||||
# From https://go.dev/src/cmd/go/internal/work/init.go
|
# From https://go.dev/src/cmd/go/internal/work/init.go
|
||||||
go_pie_install_suffix=$(if $(filter $(1),aix_ppc64 windows_386 windows_amd64 windows_arm),,shared)
|
go_pie_install_suffix=$(if $(filter $(1),aix_ppc64 windows_386 windows_amd64 windows_arm windows_arm64),,shared)
|
||||||
|
|
||||||
ifneq ($(filter $(GO_HOST_OS_ARCH),$(GO_PIE_SUPPORTED_OS_ARCH)),)
|
ifneq ($(filter $(GO_HOST_OS_ARCH),$(GO_PIE_SUPPORTED_OS_ARCH)),)
|
||||||
GO_HOST_PIE_SUPPORTED:=1
|
GO_HOST_PIE_SUPPORTED:=1
|
||||||
|
|||||||
+15
-18
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018, 2020 Jeffery To
|
# Copyright (C) 2018-2023 Jeffery To
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
GO_VERSION_MAJOR_MINOR:=1.21
|
GO_VERSION_MAJOR_MINOR:=1.26
|
||||||
GO_VERSION_PATCH:=7
|
GO_VERSION_PATCH:=3
|
||||||
|
|
||||||
PKG_NAME:=golang
|
PKG_NAME:=golang
|
||||||
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH))
|
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH))
|
||||||
@@ -20,7 +20,7 @@ GO_SOURCE_URLS:=https://dl.google.com/go/ \
|
|||||||
|
|
||||||
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz
|
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz
|
||||||
PKG_SOURCE_URL:=$(GO_SOURCE_URLS)
|
PKG_SOURCE_URL:=$(GO_SOURCE_URLS)
|
||||||
PKG_HASH:=00197ab20f33813832bff62fd93cca1c42a08cc689a32a6672ca49591959bff6
|
PKG_HASH:=1c646875d0aa8799133184ed57cf79ff24bdefe8c8820470602a9d3d6d9192b8
|
||||||
|
|
||||||
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
@@ -30,11 +30,10 @@ PKG_CPE_ID:=cpe:/a:golang:go
|
|||||||
PKG_BUILD_DEPENDS:=golang/host
|
PKG_BUILD_DEPENDS:=golang/host
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/go-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/go-$(PKG_VERSION)
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_USE_MIPS16:=0
|
PKG_BUILD_FLAGS:=no-mips16
|
||||||
|
|
||||||
PKG_GO_PREFIX:=/usr
|
PKG_GO_PREFIX:=/usr
|
||||||
PKG_GO_VERSION_ID:=$(GO_VERSION_MAJOR_MINOR)
|
PKG_GO_VERSION_ID:=$(GO_VERSION_MAJOR_MINOR)
|
||||||
PKG_GO_ROOT:=$(PKG_GO_PREFIX)/lib/go-$(PKG_GO_VERSION_ID)
|
|
||||||
|
|
||||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/go-$(PKG_VERSION)
|
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/go-$(PKG_VERSION)
|
||||||
HOST_BUILD_PARALLEL:=1
|
HOST_BUILD_PARALLEL:=1
|
||||||
@@ -49,7 +48,7 @@ HOST_GO_VALID_OS_ARCH:= \
|
|||||||
linux_386 linux_amd64 linux_arm linux_arm64 \
|
linux_386 linux_amd64 linux_arm linux_arm64 \
|
||||||
openbsd_386 openbsd_amd64 openbsd_arm openbsd_arm64 \
|
openbsd_386 openbsd_amd64 openbsd_arm openbsd_arm64 \
|
||||||
netbsd_386 netbsd_amd64 netbsd_arm netbsd_arm64 \
|
netbsd_386 netbsd_amd64 netbsd_arm netbsd_arm64 \
|
||||||
windows_386 windows_amd64 windows_arm windows_arm64 \
|
windows_386 windows_amd64 windows_arm64 \
|
||||||
\
|
\
|
||||||
plan9_386 plan9_amd64 plan9_arm \
|
plan9_386 plan9_amd64 plan9_arm \
|
||||||
\
|
\
|
||||||
@@ -58,7 +57,6 @@ HOST_GO_VALID_OS_ARCH:= \
|
|||||||
\
|
\
|
||||||
dragonfly_amd64 \
|
dragonfly_amd64 \
|
||||||
illumos_amd64 \
|
illumos_amd64 \
|
||||||
freebsd_riscv64 \
|
|
||||||
solaris_amd64 \
|
solaris_amd64 \
|
||||||
\
|
\
|
||||||
aix_ppc64 \
|
aix_ppc64 \
|
||||||
@@ -67,24 +65,23 @@ HOST_GO_VALID_OS_ARCH:= \
|
|||||||
\
|
\
|
||||||
linux_ppc64 linux_ppc64le \
|
linux_ppc64 linux_ppc64le \
|
||||||
linux_mips linux_mipsle linux_mips64 linux_mips64le \
|
linux_mips linux_mipsle linux_mips64 linux_mips64le \
|
||||||
linux_riscv64 linux_s390x \
|
linux_loong64 linux_riscv64 linux_s390x \
|
||||||
linux_loong64 \
|
|
||||||
\
|
\
|
||||||
openbsd_mips64
|
netbsd_ppc64 \
|
||||||
|
openbsd_ppc64 openbsd_riscv64
|
||||||
|
|
||||||
ifeq ($(HOST_ARCH),x86_64)
|
ifeq ($(HOST_ARCH),x86_64)
|
||||||
PKG_ARCH:=amd64
|
PKG_ARCH:=amd64
|
||||||
SHA256:=550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c
|
BOOTSTRAP_HASH:=bbca37cc395c974ffa4893ee35819ad23ebb27426df87af92e93a9ec66ef8712
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST_ARCH),aarch64)
|
ifeq ($(HOST_ARCH),aarch64)
|
||||||
PKG_ARCH:=arm64
|
PKG_ARCH:=arm64
|
||||||
SHA256:=06f505c8d27203f78706ad04e47050b49092f1b06dc9ac4fbee4f0e4d015c8d4
|
BOOTSTRAP_HASH:=124ea6033a8bf98aa9fbab53e58d134905262d45a022af3a90b73320f3c3afd5
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BOOTSTRAP_SOURCE:=go1.17.3.linux-$(PKG_ARCH).tar.gz
|
BOOTSTRAP_SOURCE:=go1.24.6.linux-$(PKG_ARCH).tar.gz
|
||||||
BOOTSTRAP_SOURCE_URL:=$(GO_SOURCE_URLS)
|
BOOTSTRAP_SOURCE_URL:=$(GO_SOURCE_URLS)
|
||||||
BOOTSTRAP_HASH:=$(SHA256)
|
|
||||||
|
|
||||||
BOOTSTRAP_BUILD_DIR:=$(HOST_BUILD_DIR)/.go_bootstrap
|
BOOTSTRAP_BUILD_DIR:=$(HOST_BUILD_DIR)/.go_bootstrap
|
||||||
|
|
||||||
@@ -194,8 +191,7 @@ ifeq ($(BOOTSTRAP_ROOT_DIR),)
|
|||||||
$(eval $(call Download,golang-bootstrap))
|
$(eval $(call Download,golang-bootstrap))
|
||||||
|
|
||||||
define Bootstrap/Prepare
|
define Bootstrap/Prepare
|
||||||
mkdir -p "$(BOOTSTRAP_BUILD_DIR)"
|
mkdir -p "$(BOOTSTRAP_BUILD_DIR)" && $(BOOTSTRAP_UNPACK) ;
|
||||||
$(BOOTSTRAP_UNPACK)
|
|
||||||
endef
|
endef
|
||||||
Hooks/HostPrepare/Post+=Bootstrap/Prepare
|
Hooks/HostPrepare/Post+=Bootstrap/Prepare
|
||||||
|
|
||||||
@@ -215,6 +211,7 @@ endif
|
|||||||
$(eval $(call GoCompiler/AddProfile,Host,$(HOST_BUILD_DIR),$(HOST_GO_PREFIX),$(HOST_GO_VERSION_ID),$(GO_HOST_OS_ARCH),$(HOST_GO_INSTALL_SUFFIX)))
|
$(eval $(call GoCompiler/AddProfile,Host,$(HOST_BUILD_DIR),$(HOST_GO_PREFIX),$(HOST_GO_VERSION_ID),$(GO_HOST_OS_ARCH),$(HOST_GO_INSTALL_SUFFIX)))
|
||||||
|
|
||||||
HOST_GO_VARS= \
|
HOST_GO_VARS= \
|
||||||
|
GOHOSTARCH="$(GO_HOST_ARCH)" \
|
||||||
GOCACHE="$(GO_BUILD_CACHE_DIR)" \
|
GOCACHE="$(GO_BUILD_CACHE_DIR)" \
|
||||||
GOENV=off \
|
GOENV=off \
|
||||||
CC="$(HOSTCC_NOCACHE)" \
|
CC="$(HOSTCC_NOCACHE)" \
|
||||||
@@ -280,6 +277,7 @@ PKG_GO_ZBOOTSTRAP_MODS:= \
|
|||||||
PKG_GO_ZBOOTSTRAP_PATH:=$(PKG_BUILD_DIR)/src/internal/buildcfg/zbootstrap.go
|
PKG_GO_ZBOOTSTRAP_PATH:=$(PKG_BUILD_DIR)/src/internal/buildcfg/zbootstrap.go
|
||||||
|
|
||||||
PKG_GO_VARS= \
|
PKG_GO_VARS= \
|
||||||
|
GOHOSTARCH="$(GO_HOST_ARCH)" \
|
||||||
GOCACHE="$(GO_BUILD_CACHE_DIR)" \
|
GOCACHE="$(GO_BUILD_CACHE_DIR)" \
|
||||||
GOENV=off \
|
GOENV=off \
|
||||||
GO_GCC_HELPER_PATH="$$$$PATH" \
|
GO_GCC_HELPER_PATH="$$$$PATH" \
|
||||||
@@ -339,7 +337,6 @@ define Build/Compile
|
|||||||
cd "$(PKG_BUILD_DIR)/bin" ; \
|
cd "$(PKG_BUILD_DIR)/bin" ; \
|
||||||
export $(GO_PKG_TARGET_VARS) ; \
|
export $(GO_PKG_TARGET_VARS) ; \
|
||||||
$(CP) go go-host ; \
|
$(CP) go go-host ; \
|
||||||
GOROOT_FINAL="$(PKG_GO_ROOT)" \
|
|
||||||
GO_GCC_HELPER_CC="$(TARGET_CC)" \
|
GO_GCC_HELPER_CC="$(TARGET_CC)" \
|
||||||
GO_GCC_HELPER_CXX="$(TARGET_CXX)" \
|
GO_GCC_HELPER_CXX="$(TARGET_CXX)" \
|
||||||
$(PKG_GO_VARS) \
|
$(PKG_GO_VARS) \
|
||||||
|
|||||||
Reference in New Issue
Block a user