2016-07-05 00:30:31 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# runc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-11-17 18:00:27 +01:00
|
|
|
RUNC_VERSION = 9c2d8d184e5da67c95d601382adf14862e4f2228
|
2016-07-05 00:30:31 +02:00
|
|
|
RUNC_SITE = $(call github,opencontainers,runc,$(RUNC_VERSION))
|
|
|
|
RUNC_LICENSE = Apache-2.0
|
|
|
|
RUNC_LICENSE_FILES = LICENSE
|
|
|
|
|
2018-03-31 15:27:33 +02:00
|
|
|
RUNC_WORKSPACE = Godeps/_workspace
|
2016-07-05 00:30:31 +02:00
|
|
|
|
2018-03-31 15:27:33 +02:00
|
|
|
RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)
|
2016-07-05 00:30:31 +02:00
|
|
|
|
2018-03-31 15:27:33 +02:00
|
|
|
RUNC_TAGS = cgo static_build
|
2016-07-05 00:30:31 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
2018-03-31 15:27:33 +02:00
|
|
|
RUNC_TAGS += seccomp
|
2016-07-06 21:31:45 +02:00
|
|
|
RUNC_DEPENDENCIES += libseccomp host-pkgconf
|
2016-07-05 00:30:31 +02:00
|
|
|
endif
|
|
|
|
|
2018-03-31 15:27:33 +02:00
|
|
|
$(eval $(golang-package))
|