mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-31 19:51:06 -09:00
Makes every packages built by the Go compiler select a new variable introduced in this patch: BR2_PACKAGE_HOST_GO. In later commits Go compiler variant will be introduced (built from source, pre-built binaries) and selecting BR2_PACKAGE_HOST_GO will force to add host-go provider to the dependency list. The same pattern is used for Rust packages. Signed-off-by: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
71 lines
2.3 KiB
Plaintext
71 lines
2.3 KiB
Plaintext
config BR2_PACKAGE_CONTAINERD
|
|
bool "containerd"
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc
|
|
depends on BR2_USE_MMU # util-linux
|
|
select BR2_PACKAGE_HOST_GO
|
|
select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency
|
|
select BR2_PACKAGE_UTIL_LINUX # runtime dependency
|
|
select BR2_PACKAGE_UTIL_LINUX_BINARIES
|
|
select BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
|
|
select BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT
|
|
select BR2_PACKAGE_UTIL_LINUX_MOUNT
|
|
help
|
|
containerd is a daemon to control runC.
|
|
|
|
https://containerd.io/
|
|
|
|
if BR2_PACKAGE_CONTAINERD
|
|
|
|
config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS
|
|
bool "btrfs snapshot driver"
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
|
|
help
|
|
Build the btrfs snapshot driver for containerd.
|
|
|
|
comment "brtfs snapshot driver needs headers >= 4.12"
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
|
|
|
|
config BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER
|
|
bool "devmapper snapshot driver"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
|
|
depends on BR2_USE_MMU # lvm2
|
|
depends on !BR2_STATIC_LIBS # lvm2
|
|
select BR2_PACKAGE_LVM2
|
|
help
|
|
Build the devmapper snapshot driver for containerd.
|
|
|
|
comment "devmapper snapshot driver needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_CONTAINERD_DRIVER_ZFS
|
|
bool "zfs snapshot driver"
|
|
depends on BR2_LINUX_KERNEL # zfs
|
|
depends on BR2_PACKAGE_HAS_UDEV # zfs
|
|
depends on BR2_USE_MMU # zfs
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # zfs
|
|
select BR2_PACKAGE_ZFS
|
|
help
|
|
Build the zfs snapshot driver for containerd.
|
|
|
|
comment "zfs snapshot driver needs a Linux kernel, udev, toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_LINUX_KERNEL || !BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_CONTAINERD_CRI
|
|
bool "Kubernetes CRI support"
|
|
help
|
|
Build containerd with Kubernetes CRI support.
|
|
|
|
endif
|
|
|
|
comment "containerd needs a glibc or musl toolchain w/ threads"
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC
|