2013-02-12 12:21:26 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lxc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-06-02 20:16:31 +02:00
|
|
|
LXC_VERSION = 3.0.1
|
2016-01-23 15:37:51 +01:00
|
|
|
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
2017-03-30 15:43:34 +02:00
|
|
|
LXC_LICENSE = LGPL-2.1+
|
2013-02-12 12:21:26 +01:00
|
|
|
LXC_LICENSE_FILES = COPYING
|
2017-05-19 16:15:59 +02:00
|
|
|
LXC_DEPENDENCIES = host-pkgconf
|
2016-12-18 15:13:53 +01:00
|
|
|
LXC_INSTALL_STAGING = YES
|
2016-12-19 16:26:18 +01:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
|
2018-04-01 22:19:46 +02:00
|
|
|
--disable-werror \
|
2014-07-06 01:34:01 +02:00
|
|
|
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
|
2013-02-12 12:21:26 +01:00
|
|
|
|
2016-12-19 16:26:18 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
LXC_CONF_OPTS += --enable-gnutls
|
|
|
|
LXC_DEPENDENCIES += gnutls
|
|
|
|
else
|
|
|
|
LXC_CONF_OPTS += --disable-gnutls
|
|
|
|
endif
|
|
|
|
|
2017-05-19 16:15:59 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
|
|
LXC_CONF_OPTS += --enable-capabilities
|
|
|
|
LXC_DEPENDENCIES += libcap
|
|
|
|
else
|
|
|
|
LXC_CONF_OPTS += --disable-capabilities
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
|
2017-02-10 17:17:10 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
|
|
LXC_CONF_OPTS += --enable-selinux
|
|
|
|
LXC_DEPENDENCIES += libselinux
|
|
|
|
else
|
|
|
|
LXC_CONF_OPTS += --disable-selinux
|
|
|
|
endif
|
|
|
|
|
2013-02-12 12:21:26 +01:00
|
|
|
$(eval $(autotools-package))
|