2016-04-04 21:31:49 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# flannel
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-10-27 11:07:22 +01:00
|
|
|
FLANNEL_VERSION = 0.5.5
|
2016-04-04 21:31:49 +02:00
|
|
|
FLANNEL_SITE = https://github.com/coreos/flannel/archive
|
2019-10-27 11:07:22 +01:00
|
|
|
FLANNEL_SOURCE = v$(FLANNEL_VERSION).tar.gz
|
2016-04-04 21:31:49 +02:00
|
|
|
|
|
|
|
FLANNEL_LICENSE = Apache-2.0
|
|
|
|
FLANNEL_LICENSE_FILES = LICENSE
|
|
|
|
|
2018-03-31 15:27:32 +02:00
|
|
|
FLANNEL_LDFLAGS = -X github.com/coreos/flannel/version.Version=$(FLANNEL_VERSION)
|
2016-04-04 21:31:49 +02:00
|
|
|
|
2018-03-31 15:27:32 +02:00
|
|
|
# Install flannel to its well known location.
|
2016-04-04 21:31:49 +02:00
|
|
|
define FLANNEL_INSTALL_TARGET_CMDS
|
2018-04-01 13:51:36 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/flannel $(TARGET_DIR)/opt/bin/flanneld
|
2016-04-04 21:31:49 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/dist/mk-docker-opts.sh $(TARGET_DIR)/opt/bin/mk-docker-opts.sh
|
|
|
|
endef
|
|
|
|
|
2018-03-31 15:27:32 +02:00
|
|
|
$(eval $(golang-package))
|