2004-03-05 20:09:57 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# Build the squashfs root filesystem image
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-04-09 12:15:59 +02:00
|
|
|
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4),y)
|
2010-03-10 00:14:29 +01:00
|
|
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
2010-04-09 12:15:59 +02:00
|
|
|
else
|
|
|
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
2010-05-26 22:46:05 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
|
|
|
ROOTFS_SQUASHF_ARGS=-be
|
|
|
|
else
|
|
|
|
ROOTFS_SQUASHFS_ARGS=-le
|
|
|
|
endif
|
|
|
|
|
2010-04-09 12:15:59 +02:00
|
|
|
endif
|
2006-04-07 22:30:43 +02:00
|
|
|
|
2010-03-10 00:14:29 +01:00
|
|
|
define ROOTFS_SQUASHFS_CMD
|
2010-05-26 22:46:05 +02:00
|
|
|
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend \
|
|
|
|
$(ROOTFS_SQUASHFS_ARGS)
|
2010-03-10 00:14:29 +01:00
|
|
|
endef
|
2004-03-05 20:09:57 +01:00
|
|
|
|
2010-05-26 22:46:05 +02:00
|
|
|
$(eval $(call ROOTFS_TARGET,squashfs))
|