2016-04-04 21:31:49 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# flannel
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-06-22 15:45:39 +02:00
|
|
|
FLANNEL_VERSION = 0.14.0
|
2023-02-13 21:06:04 +01:00
|
|
|
FLANNEL_SITE = $(call github,flannel-io,flannel,v$(FLANNEL_VERSION))
|
2016-04-04 21:31:49 +02:00
|
|
|
|
|
|
|
FLANNEL_LICENSE = Apache-2.0
|
|
|
|
FLANNEL_LICENSE_FILES = LICENSE
|
|
|
|
|
2021-06-22 15:45:26 +02:00
|
|
|
FLANNEL_LDFLAGS = -X github.com/flannel-io/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))
|