mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
Fix UBI compression options
This commit is contained in:
@@ -36,25 +36,25 @@ config BR2_TARGET_ROOTFS_UBIFS_OUTPUT
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "ubifs runtime compression"
|
prompt "ubifs runtime compression"
|
||||||
default BR2_TARGET_ROOTFS_UBIFS_LZO
|
default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
|
||||||
depends on BR2_TARGET_ROOTFS_UBIFS
|
depends on BR2_TARGET_ROOTFS_UBIFS
|
||||||
help
|
help
|
||||||
Select compressor for ubifs filesystem of the root filesystem
|
Select which compression format to use at run-time within the ubifs file system.
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_NONE
|
config BR2_TARGET_ROOTFS_UBIFS_RT_NONE
|
||||||
bool "no compression"
|
bool "no compression"
|
||||||
help
|
help
|
||||||
Do not compress the ubifs filesystem.
|
Don't use run-time compression.
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_ZLIB
|
config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
|
||||||
bool "gzip"
|
bool "gzip"
|
||||||
help
|
help
|
||||||
Compress the ubifs filesystem with zlib.
|
Use zlib compression at run-time.
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_LZO
|
config BR2_TARGET_ROOTFS_UBIFS_RT_LZO
|
||||||
bool "lzo"
|
bool "lzo"
|
||||||
help
|
help
|
||||||
Compress the ext2 filesystem with lzo.
|
Use lzo compression at run-time.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ choice
|
|||||||
default BR2_TARGET_ROOTFS_UBIFS_NONE
|
default BR2_TARGET_ROOTFS_UBIFS_NONE
|
||||||
depends on BR2_TARGET_ROOTFS_UBIFS
|
depends on BR2_TARGET_ROOTFS_UBIFS
|
||||||
help
|
help
|
||||||
Select compressor for ubifs filesystem of the root filesystem
|
Select which compression format to compress the final image into.
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_NONE
|
config BR2_TARGET_ROOTFS_UBIFS_NONE
|
||||||
bool "no compression"
|
bool "no compression"
|
||||||
|
|||||||
@@ -41,13 +41,13 @@ UBIFS_OPTS := -e $(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE) -c $(BR2_TARGET_ROOTFS_UBIFS
|
|||||||
UBIFS_BASE := $(subst ",,$(BR2_TARGET_ROOTFS_UBIFS_OUTPUT))
|
UBIFS_BASE := $(subst ",,$(BR2_TARGET_ROOTFS_UBIFS_OUTPUT))
|
||||||
#")
|
#")
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_ZLIB),y)
|
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB),y)
|
||||||
UBIFS_OPTS += -x zlib
|
UBIFS_OPTS += -x zlib
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_LZI),y)
|
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZI),y)
|
||||||
UBIFS_OPTS += -x lzo
|
UBIFS_OPTS += -x lzo
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_NONE),y)
|
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE),y)
|
||||||
UBIFS_OPTS += -x none
|
UBIFS_OPTS += -x none
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user