96dafedce8
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
23 lines
740 B
Makefile
23 lines
740 B
Makefile
################################################################################
|
|
#
|
|
# 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
|
|
|
|
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)/$(FLANNEL_BINDIR)/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))
|