Add version selection for the SquashFS root filesystem

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni
2010-04-09 12:15:59 +02:00
parent 5ef9fe7e53
commit b8cee9fb43
2 changed files with 23 additions and 0 deletions

View File

@@ -4,7 +4,11 @@
#
#############################################################
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4),y)
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
else
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
endif
define ROOTFS_SQUASHFS_CMD
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend