xref: /OK3568_Linux_fs/buildroot/package/containerd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_CONTAINERD
2	bool "containerd"
3	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
4	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc
7	depends on BR2_USE_MMU # util-linux
8	select BR2_PACKAGE_RUNC # runtime dependency
9	select BR2_PACKAGE_UTIL_LINUX # runtime dependency
10	select BR2_PACKAGE_UTIL_LINUX_BINARIES
11	select BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
12	select BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT
13	select BR2_PACKAGE_UTIL_LINUX_MOUNT
14	help
15	  containerd is a daemon to control runC.
16
17	  https://containerd.io/
18
19if BR2_PACKAGE_CONTAINERD
20
21config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS
22	bool "btrfs snapshot driver"
23	depends on BR2_USE_MMU # btrfs-progs
24	depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs
25	select BR2_PACKAGE_BTRFS_PROGS
26	help
27	  Build the btrfs snapshot driver for containerd.
28
29endif
30
31comment "containerd needs a glibc or musl toolchain w/ threads"
32	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
33	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
34	depends on BR2_USE_MMU
35	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC
36