kumquat-buildroot/package/flannel/flannel.mk
Matt Weber b6b81a9d4a package/flannel: remove 'v' prefix
Fixes version parsing for release-monitoring.org support.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-27 11:53:32 +01:00

23 lines
726 B
Makefile

################################################################################
#
# flannel
#
################################################################################
FLANNEL_VERSION = 0.5.5
FLANNEL_SITE = https://github.com/coreos/flannel/archive
FLANNEL_SOURCE = v$(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))