Initial Commit
- initial default booting image
This commit is contained in:
14
package/go/go-bin/Config.in.host
Normal file
14
package/go/go-bin/Config.in.host
Normal file
@@ -0,0 +1,14 @@
|
||||
# Translate the HOSTARCH into the architecture name used by the Go compiler
|
||||
config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH
|
||||
string
|
||||
default "armv6l" if BR2_HOSTARCH = "arm"
|
||||
default "arm64" if BR2_HOSTARCH = "aarch64"
|
||||
default "ppc64le" if BR2_HOSTARCH = "powerpc64le"
|
||||
default "s390x" if BR2_HOSTARCH = "s390x"
|
||||
default "386" if BR2_HOSTARCH = "x86"
|
||||
default "amd64" if BR2_HOSTARCH = "x86_64"
|
||||
|
||||
config BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH_SUPPORTS
|
||||
bool
|
||||
default y
|
||||
depends on BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH != ""
|
||||
1
package/go/go-bin/go-bin.hash
Symbolic link
1
package/go/go-bin/go-bin.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../go.hash
|
||||
23
package/go/go-bin/go-bin.mk
Normal file
23
package/go/go-bin/go-bin.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# go-bin
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GO_BIN_VERSION = $(GO_VERSION)
|
||||
GO_BIN_SITE = https://go.dev/dl
|
||||
GO_BIN_SOURCE = go$(GO_VERSION).linux-$(call qstrip, $(BR2_PACKAGE_HOST_GO_BIN_HOST_ARCH)).tar.gz
|
||||
GO_BIN_DL_SUBDIR = go
|
||||
HOST_GO_BIN_ACTUAL_SOURCE_TARBALL = go$(GO_VERSION).src.tar.gz
|
||||
GO_BIN_LICENSE = BSD-3-Clause
|
||||
GO_BIN_LICENSE_FILES = LICENSE
|
||||
GO_BIN_CPE_ID_VENDOR = golang
|
||||
GO_BIN_CPE_ID_PRODUCT = go
|
||||
|
||||
HOST_GO_BIN_PROVIDES = host-go
|
||||
|
||||
define HOST_GO_BIN_INSTALL_CMDS
|
||||
$(GO_BINARIES_INSTALL)
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user