2016-04-04 21:31:49 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
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))
|