diff options
Diffstat (limited to 'lib/xz/Kconfig')
-rw-r--r-- | lib/xz/Kconfig | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/lib/xz/Kconfig b/lib/xz/Kconfig new file mode 100644 index 000000000000..e3b6e18fdac5 --- /dev/null +++ b/lib/xz/Kconfig | |||
@@ -0,0 +1,59 @@ | |||
1 | config 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 | |||
9 | config XZ_DEC_X86 | ||
10 | bool "x86 BCJ filter decoder" if EMBEDDED | ||
11 | default y | ||
12 | depends on XZ_DEC | ||
13 | select XZ_DEC_BCJ | ||
14 | |||
15 | config XZ_DEC_POWERPC | ||
16 | bool "PowerPC BCJ filter decoder" if EMBEDDED | ||
17 | default y | ||
18 | depends on XZ_DEC | ||
19 | select XZ_DEC_BCJ | ||
20 | |||
21 | config XZ_DEC_IA64 | ||
22 | bool "IA-64 BCJ filter decoder" if EMBEDDED | ||
23 | default y | ||
24 | depends on XZ_DEC | ||
25 | select XZ_DEC_BCJ | ||
26 | |||
27 | config XZ_DEC_ARM | ||
28 | bool "ARM BCJ filter decoder" if EMBEDDED | ||
29 | default y | ||
30 | depends on XZ_DEC | ||
31 | select XZ_DEC_BCJ | ||
32 | |||
33 | config XZ_DEC_ARMTHUMB | ||
34 | bool "ARM-Thumb BCJ filter decoder" if EMBEDDED | ||
35 | default y | ||
36 | depends on XZ_DEC | ||
37 | select XZ_DEC_BCJ | ||
38 | |||
39 | config XZ_DEC_SPARC | ||
40 | bool "SPARC BCJ filter decoder" if EMBEDDED | ||
41 | default y | ||
42 | depends on XZ_DEC | ||
43 | select XZ_DEC_BCJ | ||
44 | |||
45 | config XZ_DEC_BCJ | ||
46 | bool | ||
47 | default n | ||
48 | |||
49 | config XZ_DEC_TEST | ||
50 | tristate "XZ decompressor tester" | ||
51 | default n | ||
52 | depends on XZ_DEC | ||
53 | help | ||
54 | This allows passing .xz files to the in-kernel XZ decoder via | ||
55 | a character special file. It calculates CRC32 of the decompressed | ||
56 | data and writes diagnostics to the system log. | ||
57 | |||
58 | Unless you are developing the XZ decoder, you don't need this | ||
59 | and should say N. | ||