kumquat-buildroot/fs/erofs/erofs.mk
Gao Xiang f69f1fc302 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>
2020-03-19 18:43:15 +01:00

18 lines
446 B
Makefile

################################################################################
#
# Build the EROFS root filesystem image
#
################################################################################
ROOTFS_EROFS_DEPENDENCIES = host-erofs-utils
ifeq ($(BR2_TARGET_ROOTFS_EROFS_LZ4HC),y)
ROOTFS_EROFS_ARGS += -zlz4hc
endif
define ROOTFS_EROFS_CMD
$(HOST_DIR)/bin/mkfs.erofs $(ROOTFS_EROFS_ARGS) $@ $(TARGET_DIR)
endef
$(eval $(rootfs))