29a6df448d
Even though lxc uses the autotools, it does not use libtool to build its libraries, and does it manually. It forces building a shared library. So let's comply with this decision, and mark lxc as not available in BR2_STATIC_LIBS configurations. Fixes: http://autobuild.buildroot.org/results/588/588dc28315a9114374f148bbc64c4ec3d7b4e295/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
1011 B
Plaintext
26 lines
1011 B
Plaintext
config BR2_PACKAGE_LXC
|
|
bool "lxc"
|
|
select BR2_PACKAGE_LIBCAP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
# build system forcefully builds a shared library
|
|
depends on !BR2_STATIC_LIBS
|
|
# the toolchain doesn't support setns syscall
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
|
|
help
|
|
Linux Containers (LXC), provides the ability to group and isolate
|
|
of a set of processes in a jail by virtualizing and accounting the
|
|
kernel resources. It is similar to Linux-Vserver or Openvz.
|
|
|
|
https://linuxcontainers.org/
|
|
|
|
comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|
|
|| BR2_STATIC_LIBS
|