config BR2_PACKAGE_CRUN
	bool "crun"
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
	select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC
	select BR2_PACKAGE_YAJL # libocispec
	help
	  crun is a fast and low-memory OCI Container Runtime in C.

	  https://github.com/containers/crun

comment "crun needs a glibc or musl toolchain, gcc >= 4.9"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_USES_UCLIBC || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
