mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
fs/squashfs: squashfs3 needs to set big/little endian
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -8,10 +8,18 @@ ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4),y)
|
|||||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
||||||
else
|
else
|
||||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
||||||
|
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
ROOTFS_SQUASHF_ARGS=-be
|
||||||
|
else
|
||||||
|
ROOTFS_SQUASHFS_ARGS=-le
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define ROOTFS_SQUASHFS_CMD
|
define ROOTFS_SQUASHFS_CMD
|
||||||
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend
|
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend \
|
||||||
|
$(ROOTFS_SQUASHFS_ARGS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call ROOTFS_TARGET,squashfs))
|
$(eval $(call ROOTFS_TARGET,squashfs))
|
||||||
|
|||||||
Reference in New Issue
Block a user