summaryrefslogtreecommitdiffstats
path: root/package/runc/runc.mk
blob: 7f42c962f3969f8cab06f6501201034d75233a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
################################################################################
#
# runc
#
################################################################################

# docker-engine/hack/dockerfile/install/runc.installer:4 RUNC_COMMIT=...
RUNC_VERSION = 69663f0bd4b60df09991c08812a60108003fa340
RUNC_SITE = $(call github,opencontainers,runc,$(RUNC_VERSION))
RUNC_LICENSE = Apache-2.0
RUNC_LICENSE_FILES = LICENSE

RUNC_WORKSPACE = Godeps/_workspace

RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)

RUNC_TAGS = cgo static_build

ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
RUNC_TAGS += seccomp
RUNC_DEPENDENCIES += libseccomp host-pkgconf
endif

$(eval $(golang-package))
OpenPOWER on IntegriCloud