3b361028e6
Currently, flannel uses an ad-hoc github URL and a version-only tarball name, even though we already had the github helper (introduced in 2013) when flannel was introduced (in 2016). Switch to the github helper, which allows us to get a properly named tarball. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Geoff Levand <geoff@infradead.org> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
22 lines
699 B
Makefile
22 lines
699 B
Makefile
################################################################################
|
|
#
|
|
# flannel
|
|
#
|
|
################################################################################
|
|
|
|
FLANNEL_VERSION = 0.14.0
|
|
FLANNEL_SITE = $(call github,flannel-io,flannel,v$(FLANNEL_VERSION))
|
|
|
|
FLANNEL_LICENSE = Apache-2.0
|
|
FLANNEL_LICENSE_FILES = LICENSE
|
|
|
|
FLANNEL_LDFLAGS = -X github.com/flannel-io/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))
|