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>
20 lines
726 B
Plaintext
20 lines
726 B
Plaintext
config BR2_PACKAGE_NERDCTL
|
|
bool "nerdctl"
|
|
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 # containerd
|
|
depends on BR2_USE_MMU # util-linux
|
|
select BR2_PACKAGE_CONTAINERD # runtime
|
|
select BR2_PACKAGE_HOST_GO
|
|
help
|
|
Docker-compatible CLI for containerd, controlling runc.
|
|
|
|
https://github.com/containerd/nerdctl
|
|
|
|
comment "nerdctl 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
|