mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
5dc49c75a2
Change the defautl XZ_DEC_* config symbol to match the configured architecture. It is perfectly legitimate to support multiple XZ BCJ filters for different architectures (e.g.: to mount foreign squashfs/xz compressed filesystems), it is however more natural not to select them all by default, but only the one matching the configured architecture. Signed-off-by: Florian Fainelli <florian@openwrt.org> Acked-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
57 lines
1.2 KiB
Text
57 lines
1.2 KiB
Text
config XZ_DEC
|
|
tristate "XZ decompression support"
|
|
select CRC32
|
|
help
|
|
LZMA2 compression algorithm and BCJ filters are supported using
|
|
the .xz file format as the container. For integrity checking,
|
|
CRC32 is supported. See Documentation/xz.txt for more information.
|
|
|
|
if XZ_DEC
|
|
|
|
config XZ_DEC_X86
|
|
bool "x86 BCJ filter decoder"
|
|
default y if X86
|
|
select XZ_DEC_BCJ
|
|
|
|
config XZ_DEC_POWERPC
|
|
bool "PowerPC BCJ filter decoder"
|
|
default y if POWERPC
|
|
select XZ_DEC_BCJ
|
|
|
|
config XZ_DEC_IA64
|
|
bool "IA-64 BCJ filter decoder"
|
|
default y if IA64
|
|
select XZ_DEC_BCJ
|
|
|
|
config XZ_DEC_ARM
|
|
bool "ARM BCJ filter decoder"
|
|
default y if ARM
|
|
select XZ_DEC_BCJ
|
|
|
|
config XZ_DEC_ARMTHUMB
|
|
bool "ARM-Thumb BCJ filter decoder"
|
|
default y if (ARM && ARM_THUMB)
|
|
select XZ_DEC_BCJ
|
|
|
|
config XZ_DEC_SPARC
|
|
bool "SPARC BCJ filter decoder"
|
|
default y if SPARC
|
|
select XZ_DEC_BCJ
|
|
|
|
endif
|
|
|
|
config XZ_DEC_BCJ
|
|
bool
|
|
default n
|
|
|
|
config XZ_DEC_TEST
|
|
tristate "XZ decompressor tester"
|
|
default n
|
|
depends on XZ_DEC
|
|
help
|
|
This allows passing .xz files to the in-kernel XZ decoder via
|
|
a character special file. It calculates CRC32 of the decompressed
|
|
data and writes diagnostics to the system log.
|
|
|
|
Unless you are developing the XZ decoder, you don't need this
|
|
and should say N.
|