2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2011-01-13 09:01:22 +08:00
|
|
|
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.
|
|
|
|
|
2013-02-22 08:44:10 +08:00
|
|
|
if XZ_DEC
|
|
|
|
|
2011-01-13 09:01:22 +08:00
|
|
|
config XZ_DEC_X86
|
2014-06-05 07:11:50 +08:00
|
|
|
bool "x86 BCJ filter decoder" if EXPERT
|
|
|
|
default y
|
2011-01-13 09:01:22 +08:00
|
|
|
select XZ_DEC_BCJ
|
|
|
|
|
|
|
|
config XZ_DEC_POWERPC
|
2014-06-05 07:11:50 +08:00
|
|
|
bool "PowerPC BCJ filter decoder" if EXPERT
|
|
|
|
default y
|
2011-01-13 09:01:22 +08:00
|
|
|
select XZ_DEC_BCJ
|
|
|
|
|
|
|
|
config XZ_DEC_IA64
|
2014-06-05 07:11:50 +08:00
|
|
|
bool "IA-64 BCJ filter decoder" if EXPERT
|
|
|
|
default y
|
2011-01-13 09:01:22 +08:00
|
|
|
select XZ_DEC_BCJ
|
|
|
|
|
|
|
|
config XZ_DEC_ARM
|
2014-06-05 07:11:50 +08:00
|
|
|
bool "ARM BCJ filter decoder" if EXPERT
|
|
|
|
default y
|
2011-01-13 09:01:22 +08:00
|
|
|
select XZ_DEC_BCJ
|
|
|
|
|
|
|
|
config XZ_DEC_ARMTHUMB
|
2014-06-05 07:11:50 +08:00
|
|
|
bool "ARM-Thumb BCJ filter decoder" if EXPERT
|
|
|
|
default y
|
2011-01-13 09:01:22 +08:00
|
|
|
select XZ_DEC_BCJ
|
|
|
|
|
|
|
|
config XZ_DEC_SPARC
|
2014-06-05 07:11:50 +08:00
|
|
|
bool "SPARC BCJ filter decoder" if EXPERT
|
|
|
|
default y
|
2011-01-13 09:01:22 +08:00
|
|
|
select XZ_DEC_BCJ
|
|
|
|
|
2013-02-22 08:44:10 +08:00
|
|
|
endif
|
|
|
|
|
2011-01-13 09:01:22 +08:00
|
|
|
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.
|