hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
config BR2_PACKAGE_LXC
   bool "lxc"
   depends on BR2_TOOLCHAIN_HAS_THREADS
   depends on BR2_USE_MMU # fork()
   # build system forcefully builds a shared library
   depends on !BR2_STATIC_LIBS
   depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
   depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call
   depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve
   select BR2_PACKAGE_TAR
   select BR2_PACKAGE_LIBCAP
   select BR2_PACKAGE_CGROUPFS_MOUNT
   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 glibc or musl toolchain w/ threads, headers >= 3.0, dynamic library, gcc >= 4.7"
   depends on BR2_USE_MMU
   depends on !BR2_TOOLCHAIN_HAS_THREADS \
       || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \
       || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
       || BR2_STATIC_LIBS \
       || BR2_TOOLCHAN_USES_UCLIBC