xref: /OK3568_Linux_fs/buildroot/package/lxc/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LXC
2	bool "lxc"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_USE_MMU # fork()
5	# build system forcefully builds a shared library
6	depends on !BR2_STATIC_LIBS
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
8	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call
9	depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve
10	help
11	  Linux Containers (LXC), provides the ability to group and
12	  isolate of a set of processes in a jail by virtualizing and
13	  accounting the kernel resources. It is similar to
14	  Linux-Vserver or Openvz.
15
16	  https://linuxcontainers.org/
17
18comment "lxc needs a glibc or musl toolchain w/ threads, headers >= 3.0, dynamic library, gcc >= 4.7"
19	depends on BR2_USE_MMU
20	depends on !BR2_TOOLCHAIN_HAS_THREADS \
21		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \
22		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
23		|| BR2_STATIC_LIBS \
24		|| BR2_TOOLCHAIN_USES_UCLIBC
25