config BR2_PACKAGE_FUSE_OVERLAYFS
	bool "fuse-overlayfs"
	depends on BR2_USE_MMU # libfuse3
	depends on !BR2_STATIC_LIBS # libfuse3
	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse3
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
	select BR2_PACKAGE_LIBFUSE3
	help
	  FUSE-overlayfs is an implementation of overlay+shiftfs in
	  FUSE, intended to be used for rootless containers.

	  http://github.com/containers/fuse-overlayfs

comment "fuse-overlayfs needs a toolchain w/ threads, dynamic library, headers >= 3.15"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15