mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
fs/squashfs: squashfs3 needs to set big/little endian
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
ec1bd9900a
commit
e74bcb6f9a
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user