kumquat-buildroot/package/flannel/flannel.mk
Geoff Levand e2aec6008e package/flannel: Bump to version 0.24.2
Signed-off-by: Geoff Levand <geoff@infradead.org>
[Peter: drop _SOURCE]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-02-05 11:22:01 +01:00

22 lines
699 B
Makefile

################################################################################
#
# flannel
#
################################################################################
FLANNEL_VERSION = 0.24.2
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))