mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
15
package/flannel/Config.in
Normal file
15
package/flannel/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
comment "flannel needs a toolchain w/ threads"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_FLANNEL
|
||||
bool "flannel"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Flannel is a virtual network that gives a subnet to each
|
||||
host for use with container runtimes.
|
||||
|
||||
https://github.com/coreos/flannel
|
||||
2
package/flannel/flannel.hash
Normal file
2
package/flannel/flannel.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 dbbcb08c0e70713b0c920387a9967e5b30ef833c8118c847edbbca4f68ff0562 v0.5.5.tar.gz
|
||||
22
package/flannel/flannel.mk
Normal file
22
package/flannel/flannel.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# flannel
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLANNEL_VERSION = v0.5.5
|
||||
FLANNEL_SITE = https://github.com/coreos/flannel/archive
|
||||
FLANNEL_SOURCE = $(FLANNEL_VERSION).tar.gz
|
||||
|
||||
FLANNEL_LICENSE = Apache-2.0
|
||||
FLANNEL_LICENSE_FILES = LICENSE
|
||||
|
||||
FLANNEL_LDFLAGS = -X github.com/coreos/flannel/version.Version=$(FLANNEL_VERSION)
|
||||
|
||||
# Install flannel to its well known location.
|
||||
define FLANNEL_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/bin/flannel $(TARGET_DIR)/opt/bin/flanneld
|
||||
$(INSTALL) -D -m 0755 $(@D)/dist/mk-docker-opts.sh $(TARGET_DIR)/opt/bin/mk-docker-opts.sh
|
||||
endef
|
||||
|
||||
$(eval $(golang-package))
|
||||
Reference in New Issue
Block a user