blob: 12d2d777f36b642868b2da7139de012480445a21 [file] [log] [blame]
Lasse Collin24fa0402011-01-12 17:01:22 -08001config 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
Florian Fainelli9d749622013-02-21 16:44:10 -08009if XZ_DEC
10
Lasse Collin24fa0402011-01-12 17:01:22 -080011config XZ_DEC_X86
Lasse Collinbf4d0642014-06-04 16:11:50 -070012 bool "x86 BCJ filter decoder" if EXPERT
13 default y
Lasse Collin24fa0402011-01-12 17:01:22 -080014 select XZ_DEC_BCJ
15
16config XZ_DEC_POWERPC
Lasse Collinbf4d0642014-06-04 16:11:50 -070017 bool "PowerPC BCJ filter decoder" if EXPERT
18 default y
Lasse Collin24fa0402011-01-12 17:01:22 -080019 select XZ_DEC_BCJ
20
21config XZ_DEC_IA64
Lasse Collinbf4d0642014-06-04 16:11:50 -070022 bool "IA-64 BCJ filter decoder" if EXPERT
23 default y
Lasse Collin24fa0402011-01-12 17:01:22 -080024 select XZ_DEC_BCJ
25
26config XZ_DEC_ARM
Lasse Collinbf4d0642014-06-04 16:11:50 -070027 bool "ARM BCJ filter decoder" if EXPERT
28 default y
Lasse Collin24fa0402011-01-12 17:01:22 -080029 select XZ_DEC_BCJ
30
31config XZ_DEC_ARMTHUMB
Lasse Collinbf4d0642014-06-04 16:11:50 -070032 bool "ARM-Thumb BCJ filter decoder" if EXPERT
33 default y
Lasse Collin24fa0402011-01-12 17:01:22 -080034 select XZ_DEC_BCJ
35
36config XZ_DEC_SPARC
Lasse Collinbf4d0642014-06-04 16:11:50 -070037 bool "SPARC BCJ filter decoder" if EXPERT
38 default y
Lasse Collin24fa0402011-01-12 17:01:22 -080039 select XZ_DEC_BCJ
40
Florian Fainelli9d749622013-02-21 16:44:10 -080041endif
42
Lasse Collin24fa0402011-01-12 17:01:22 -080043config 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.