mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
17
fs/erofs/erofs.mk
Normal file
17
fs/erofs/erofs.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user