6bb54bf835
Fix typo added by commit
86deafe863
:
make: *** No rule to make target '--disable-pam', needed by '/nvmedata/autobuild/instance-0/output-1/build/lxc-4.0.12/.stamp_configured'. Stop.
Fixes:
- http://autobuild.buildroot.org/results/ce1be5a8152f7c9aa0f6e59abff035f97a3fd423
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
69 lines
1.5 KiB
Makefile
69 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# lxc
|
|
#
|
|
################################################################################
|
|
|
|
LXC_VERSION = 4.0.12
|
|
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
|
LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+
|
|
LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
|
|
LXC_CPE_ID_VENDOR = linuxcontainers
|
|
LXC_DEPENDENCIES = host-pkgconf
|
|
LXC_INSTALL_STAGING = YES
|
|
|
|
LXC_CONF_OPTS = \
|
|
--disable-apparmor \
|
|
--disable-examples \
|
|
--with-distro=buildroot \
|
|
--disable-werror \
|
|
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
|
|
|
|
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
LXC_DEPENDENCIES += bash-completion
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
LXC_CONF_OPTS += --enable-capabilities
|
|
LXC_DEPENDENCIES += libcap
|
|
else
|
|
LXC_CONF_OPTS += --disable-capabilities
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
|
LXC_CONF_OPTS += --enable-seccomp
|
|
LXC_DEPENDENCIES += libseccomp
|
|
else
|
|
LXC_CONF_OPTS += --disable-seccomp
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
LXC_CONF_OPTS += --enable-selinux
|
|
LXC_DEPENDENCIES += libselinux
|
|
else
|
|
LXC_CONF_OPTS += --disable-selinux
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBURING),y)
|
|
LXC_CONF_OPTS += --enable-liburing
|
|
LXC_DEPENDENCIES += liburing
|
|
else
|
|
LXC_CONF_OPTS += --disable-liburing
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
|
LXC_CONF_OPTS += --enable-pam
|
|
LXC_DEPENDENCIES += linux-pam
|
|
else
|
|
LXC_CONF_OPTS += --disable-pam
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LXC_CONF_OPTS += --enable-openssl
|
|
LXC_DEPENDENCIES += openssl
|
|
else
|
|
LXC_CONF_OPTS += --disable-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|