mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Add version selection for the SquashFS root filesystem
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5ef9fe7e53
commit
b8cee9fb43
@ -2,3 +2,22 @@ config BR2_TARGET_ROOTFS_SQUASHFS
|
|||||||
bool "squashfs root filesystem"
|
bool "squashfs root filesystem"
|
||||||
help
|
help
|
||||||
Build a squashfs root filesystem
|
Build a squashfs root filesystem
|
||||||
|
|
||||||
|
if BR2_TARGET_ROOTFS_SQUASHFS
|
||||||
|
choice
|
||||||
|
prompt "SquashFS version"
|
||||||
|
default BR2_TARGET_ROOTFS_SQUASHFS4
|
||||||
|
help
|
||||||
|
Select the Squash filesystem version to use to generate the
|
||||||
|
root filesystem.
|
||||||
|
|
||||||
|
config BR2_TARGET_ROOTFS_SQUASHFS4
|
||||||
|
bool "4.x"
|
||||||
|
|
||||||
|
config BR2_TARGET_ROOTFS_SQUASHFS3
|
||||||
|
depends on BR2_DEPRECATED
|
||||||
|
bool "3.x"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
endif
|
||||||
|
|
||||||
|
@ -4,7 +4,11 @@
|
|||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4),y)
|
||||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
||||||
|
else
|
||||||
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
||||||
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user