2013-02-12 12:21:26 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lxc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-31 22:43:04 +01:00
|
|
|
LXC_VERSION = 4.0.5
|
2016-01-23 15:37:51 +01:00
|
|
|
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
2020-07-16 20:53:45 +02:00
|
|
|
LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+
|
|
|
|
LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
|
2020-12-04 16:46:01 +01:00
|
|
|
LXC_CPE_ID_VENDOR = linuxcontainers
|
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
|
|
|
|
2020-07-14 19:48:50 +02:00
|
|
|
LXC_CONF_OPTS = \
|
|
|
|
--disable-apparmor \
|
|
|
|
--disable-examples \
|
|
|
|
--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
|
|
|
|
2019-01-12 22:08:43 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
|
|
LXC_DEPENDENCIES += bash-completion
|
|
|
|
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
|
|
|
|
|
2019-11-06 16:53:55 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
LXC_CONF_OPTS += --enable-openssl
|
|
|
|
LXC_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
LXC_CONF_OPTS += --disable-openssl
|
|
|
|
endif
|
|
|
|
|
2013-02-12 12:21:26 +01:00
|
|
|
$(eval $(autotools-package))
|