1 ################################################################################
3 # Build the squashfs root filesystem image
5 ################################################################################
7 ROOTFS_SQUASHFS_DEPENDENCIES
= host-squashfs
9 ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZ4
),y
)
10 ROOTFS_SQUASHFS_ARGS
+= -comp lz4
-Xhc
12 ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO
),y
)
13 ROOTFS_SQUASHFS_ARGS
+= -comp lzo
15 ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZMA
),y
)
16 ROOTFS_SQUASHFS_ARGS
+= -comp lzma
18 ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_XZ
),y
)
19 ROOTFS_SQUASHFS_ARGS
+= -comp xz
21 ROOTFS_SQUASHFS_ARGS
+= -comp gzip
27 define ROOTFS_SQUASHFS_CMD
28 $(HOST_DIR
)/usr
/bin
/mksquashfs
$(TARGET_DIR
) $@
-noappend \
29 $(ROOTFS_SQUASHFS_ARGS
)
32 $(eval
$(call ROOTFS_TARGET
,squashfs
))