config BR2_PACKAGE_EROFS_UTILS
	bool "erofs-utils"
	select BR2_PACKAGE_UTIL_LINUX
	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
	help
	  Userspace utilities for EROFS filesystem

	  https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git

if BR2_PACKAGE_EROFS_UTILS

config BR2_PACKAGE_EROFS_UTILS_LZ4
	bool "lz4 support"
	select BR2_PACKAGE_LZ4
	help
	  Support LZ4 compression algorithm

config BR2_PACKAGE_EROFS_UTILS_EROFSFUSE
	bool "erofsfuse support"
	depends on BR2_USE_MMU # libfuse
	depends on !BR2_STATIC_LIBS # libfuse
	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
	select BR2_PACKAGE_LIBFUSE
	help
	  FUSE file system client for EROFS

comment "erofsfuse needs a toolchain w/ threads, dynamic library"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

endif
