Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 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 | |
Florian Fainelli | 9d74962 | 2013-02-21 16:44:10 -0800 | [diff] [blame] | 9 | if XZ_DEC |
| 10 | |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 11 | config XZ_DEC_X86 |
Florian Fainelli | 64dbfb4 | 2013-02-21 16:44:11 -0800 | [diff] [blame] | 12 | bool "x86 BCJ filter decoder" |
Florian Fainelli | 5dc49c7 | 2013-02-21 16:44:12 -0800 | [diff] [blame] | 13 | default y if X86 |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 14 | select XZ_DEC_BCJ |
| 15 | |
| 16 | config XZ_DEC_POWERPC |
Florian Fainelli | 64dbfb4 | 2013-02-21 16:44:11 -0800 | [diff] [blame] | 17 | bool "PowerPC BCJ filter decoder" |
Paul Bolle | 97da55f | 2013-03-13 14:59:44 -0700 | [diff] [blame] | 18 | default y if PPC |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 19 | select XZ_DEC_BCJ |
| 20 | |
| 21 | config XZ_DEC_IA64 |
Florian Fainelli | 64dbfb4 | 2013-02-21 16:44:11 -0800 | [diff] [blame] | 22 | bool "IA-64 BCJ filter decoder" |
Florian Fainelli | 5dc49c7 | 2013-02-21 16:44:12 -0800 | [diff] [blame] | 23 | default y if IA64 |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 24 | select XZ_DEC_BCJ |
| 25 | |
| 26 | config XZ_DEC_ARM |
Florian Fainelli | 64dbfb4 | 2013-02-21 16:44:11 -0800 | [diff] [blame] | 27 | bool "ARM BCJ filter decoder" |
Florian Fainelli | 5dc49c7 | 2013-02-21 16:44:12 -0800 | [diff] [blame] | 28 | default y if ARM |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 29 | select XZ_DEC_BCJ |
| 30 | |
| 31 | config XZ_DEC_ARMTHUMB |
Florian Fainelli | 64dbfb4 | 2013-02-21 16:44:11 -0800 | [diff] [blame] | 32 | bool "ARM-Thumb BCJ filter decoder" |
Florian Fainelli | 5dc49c7 | 2013-02-21 16:44:12 -0800 | [diff] [blame] | 33 | default y if (ARM && ARM_THUMB) |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 34 | select XZ_DEC_BCJ |
| 35 | |
| 36 | config XZ_DEC_SPARC |
Florian Fainelli | 64dbfb4 | 2013-02-21 16:44:11 -0800 | [diff] [blame] | 37 | bool "SPARC BCJ filter decoder" |
Florian Fainelli | 5dc49c7 | 2013-02-21 16:44:12 -0800 | [diff] [blame] | 38 | default y if SPARC |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 39 | select XZ_DEC_BCJ |
| 40 | |
Florian Fainelli | 9d74962 | 2013-02-21 16:44:10 -0800 | [diff] [blame] | 41 | endif |
| 42 | |
Lasse Collin | 24fa040 | 2011-01-12 17:01:22 -0800 | [diff] [blame] | 43 | config XZ_DEC_BCJ |
| 44 | bool |
| 45 | default n |
| 46 | |
| 47 | config 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. |