config BR2_PACKAGE_AMAZON_ECR_CREDENTIAL_HELPER
	bool "amazon-ecr-credential-helper"
	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL  # pthread_*_np()
	help
	  The Amazon ECR Docker Credential Helper is a credential
	  helper for the Docker daemon that makes it easier to use
	  Amazon Elastic Container Registry.

	  https://github.com/awslabs/amazon-ecr-credential-helper

comment "amazon-ecr-credential-helper needs a toolchain w/ NPTL"
	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
