This reverts commit 9d46c05d1d
.
This breaks the build on the 2021.02.x branch:
http://autobuild.buildroot.net/results/8c2/8c271c09f3eb4711752c83446dc780bb4349d21e/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
727 B
Makefile
23 lines
727 B
Makefile
################################################################################
|
|
#
|
|
# flannel
|
|
#
|
|
################################################################################
|
|
|
|
FLANNEL_VERSION = 0.12.0
|
|
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))
|