2013-02-12 12:21:26 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lxc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-08-11 19:14:30 +02:00
|
|
|
LXC_VERSION = 2.0.3
|
2016-01-23 15:37:51 +01:00
|
|
|
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
2013-02-12 12:21:26 +01:00
|
|
|
LXC_LICENSE = LGPLv2.1+
|
|
|
|
LXC_LICENSE_FILES = COPYING
|
2014-07-04 15:35:31 +02:00
|
|
|
LXC_DEPENDENCIES = libcap host-pkgconf
|
2016-09-03 17:24:49 +02:00
|
|
|
# we're patching configure.ac
|
|
|
|
LXC_AUTORECONF = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
|
2014-07-06 01:34:01 +02:00
|
|
|
--disable-lua --disable-python \
|
|
|
|
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
|
2013-02-12 12:21:26 +01:00
|
|
|
|
2016-02-21 18:34:58 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
|
|
|
LXC_CONF_OPTS += --enable-seccomp
|
|
|
|
LXC_DEPENDENCIES += libseccomp
|
|
|
|
else
|
|
|
|
LXC_CONF_OPTS += --disable-seccomp
|
|
|
|
endif
|
|
|
|
|
2013-02-12 12:21:26 +01:00
|
|
|
$(eval $(autotools-package))
|