fs/erofs: add support for creating EROFS rootfs image

This patch makes possible to create rootfs image using
EROFS filesystem.

Signed-off-by: Gao Xiang <hsiangkao@aol.com>
[yann.morin.1998@free.fr:
  - simplify help text of filesystem entry
  - drop the compression choice, keep the single boolean
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Gao Xiang
2020-03-16 09:58:38 +08:00
committed by Yann E. MORIN
parent 013cc68bf7
commit f69f1fc302
3 changed files with 32 additions and 0 deletions

14
fs/erofs/Config.in Normal file
View File

@@ -0,0 +1,14 @@
config BR2_TARGET_ROOTFS_EROFS
bool "erofs root filesystem"
select BR2_PACKAGE_HOST_EROFS_UTILS
help
Build a EROFS root filesystem.
if BR2_TARGET_ROOTFS_EROFS
config BR2_TARGET_ROOTFS_EROFS_LZ4HC
bool "lz4hc compression"
help
Use lz4 high-compression to compress data in the filesystem.
endif # BR2_TARGET_ROOTFS_EROFS