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>
27 lines
730 B
Plaintext
27 lines
730 B
Plaintext
config BR2_PACKAGE_DOCKER_CLI
|
|
bool "docker-cli"
|
|
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
|
|
select BR2_PACKAGE_HOST_GO
|
|
help
|
|
Docker is a platform to build, ship,
|
|
and run applications as lightweight containers.
|
|
|
|
https://github.com/docker/cli
|
|
|
|
if BR2_PACKAGE_DOCKER_CLI
|
|
|
|
config BR2_PACKAGE_DOCKER_CLI_STATIC
|
|
bool "build static client"
|
|
depends on !BR2_STATIC_LIBS
|
|
help
|
|
Build a static docker client.
|
|
|
|
endif
|
|
|
|
comment "docker-cli needs a 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_TOOLCHAIN_HAS_THREADS
|