1 ################################################################################
5 ################################################################################
8 LXC_SITE
= https
://linuxcontainers.org
/downloads
/lxc
9 LXC_LICENSE
= LGPLv2.1
+
10 LXC_LICENSE_FILES
= COPYING
11 LXC_DEPENDENCIES
= libcap host-pkgconf
12 LXC_INSTALL_STAGING
= YES
14 LXC_CONF_OPTS
= --disable-apparmor
--with-distro
=buildroot \
15 --disable-python
--disable-werror \
16 $(if
$(BR2_PACKAGE_BASH
),,--disable-bash
)
18 ifeq ($(BR2_PACKAGE_GNUTLS
),y
)
19 LXC_CONF_OPTS
+= --enable-gnutls
20 LXC_DEPENDENCIES
+= gnutls
22 LXC_CONF_OPTS
+= --disable-gnutls
25 ifeq ($(BR2_PACKAGE_LIBSECCOMP
),y
)
26 LXC_CONF_OPTS
+= --enable-seccomp
27 LXC_DEPENDENCIES
+= libseccomp
29 LXC_CONF_OPTS
+= --disable-seccomp
32 ifeq ($(BR2_PACKAGE_LIBSELINUX
),y
)
33 LXC_CONF_OPTS
+= --enable-selinux
34 LXC_DEPENDENCIES
+= libselinux
36 LXC_CONF_OPTS
+= --disable-selinux
39 ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER
),y
)
40 LXC_CONF_OPTS
+= --enable-lua
41 LXC_DEPENDENCIES
+= luainterpreter
42 ifeq ($(BR2_PACKAGE_LUAJIT
),y
)
43 # By default, lxc will only search for lua.pc
44 LXC_CONF_OPTS
+= --with-lua-pc
=luajit
47 LXC_CONF_OPTS
+= --disable-lua
50 $(eval
$(autotools-package
))