Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2config XZ_DEC
3 tristate "XZ decompression support"
4 select CRC32
5 help
6 LZMA2 compression algorithm and BCJ filters are supported using
7 the .xz file format as the container. For integrity checking,
8 CRC32 is supported. See Documentation/staging/xz.rst for more information.
9
10if XZ_DEC
11
12config XZ_DEC_X86
13 bool "x86 BCJ filter decoder" if EXPERT
14 default y
15 select XZ_DEC_BCJ
16
17config XZ_DEC_POWERPC
18 bool "PowerPC BCJ filter decoder" if EXPERT
19 default y
20 select XZ_DEC_BCJ
21
22config XZ_DEC_IA64
23 bool "IA-64 BCJ filter decoder" if EXPERT
24 default y
25 select XZ_DEC_BCJ
26
27config XZ_DEC_ARM
28 bool "ARM BCJ filter decoder" if EXPERT
29 default y
30 select XZ_DEC_BCJ
31
32config XZ_DEC_ARMTHUMB
33 bool "ARM-Thumb BCJ filter decoder" if EXPERT
34 default y
35 select XZ_DEC_BCJ
36
37config XZ_DEC_SPARC
38 bool "SPARC BCJ filter decoder" if EXPERT
39 default y
40 select XZ_DEC_BCJ
41
42endif
43
44config XZ_DEC_BCJ
45 bool
46 default n
47
48config XZ_DEC_TEST
49 tristate "XZ decompressor tester"
50 default n
51 depends on XZ_DEC
52 help
53 This allows passing .xz files to the in-kernel XZ decoder via
54 a character special file. It calculates CRC32 of the decompressed
55 data and writes diagnostics to the system log.
56
57 Unless you are developing the XZ decoder, you don't need this
58 and should say N.
1config XZ_DEC
2 tristate "XZ decompression support"
3 select CRC32
4 help
5 LZMA2 compression algorithm and BCJ filters are supported using
6 the .xz file format as the container. For integrity checking,
7 CRC32 is supported. See Documentation/xz.txt for more information.
8
9if XZ_DEC
10
11config XZ_DEC_X86
12 bool "x86 BCJ filter decoder" if EXPERT
13 default y
14 select XZ_DEC_BCJ
15
16config XZ_DEC_POWERPC
17 bool "PowerPC BCJ filter decoder" if EXPERT
18 default y
19 select XZ_DEC_BCJ
20
21config XZ_DEC_IA64
22 bool "IA-64 BCJ filter decoder" if EXPERT
23 default y
24 select XZ_DEC_BCJ
25
26config XZ_DEC_ARM
27 bool "ARM BCJ filter decoder" if EXPERT
28 default y
29 select XZ_DEC_BCJ
30
31config XZ_DEC_ARMTHUMB
32 bool "ARM-Thumb BCJ filter decoder" if EXPERT
33 default y
34 select XZ_DEC_BCJ
35
36config XZ_DEC_SPARC
37 bool "SPARC BCJ filter decoder" if EXPERT
38 default y
39 select XZ_DEC_BCJ
40
41endif
42
43config XZ_DEC_BCJ
44 bool
45 default n
46
47config XZ_DEC_TEST
48 tristate "XZ decompressor tester"
49 default n
50 depends on XZ_DEC
51 help
52 This allows passing .xz files to the in-kernel XZ decoder via
53 a character special file. It calculates CRC32 of the decompressed
54 data and writes diagnostics to the system log.
55
56 Unless you are developing the XZ decoder, you don't need this
57 and should say N.