163dab8eeSAdrian Chaddconfig XZ_DEC 263dab8eeSAdrian Chadd tristate "XZ decompression support" 363dab8eeSAdrian Chadd select CRC32 463dab8eeSAdrian Chadd help 563dab8eeSAdrian Chadd LZMA2 compression algorithm and BCJ filters are supported using 663dab8eeSAdrian Chadd the .xz file format as the container. For integrity checking, 763dab8eeSAdrian Chadd CRC32 is supported. See Documentation/xz.txt for more information. 863dab8eeSAdrian Chadd 9f0bd5302SXin LIif XZ_DEC 10f0bd5302SXin LI 1163dab8eeSAdrian Chaddconfig XZ_DEC_X86 12f0bd5302SXin LI bool "x86 BCJ filter decoder" 13f0bd5302SXin LI default y if X86 1463dab8eeSAdrian Chadd select XZ_DEC_BCJ 1563dab8eeSAdrian Chadd 1663dab8eeSAdrian Chaddconfig XZ_DEC_POWERPC 17f0bd5302SXin LI bool "PowerPC BCJ filter decoder" 18f0bd5302SXin LI default y if PPC 1963dab8eeSAdrian Chadd select XZ_DEC_BCJ 2063dab8eeSAdrian Chadd 2163dab8eeSAdrian Chaddconfig XZ_DEC_IA64 22f0bd5302SXin LI bool "IA-64 BCJ filter decoder" 23f0bd5302SXin LI default y if IA64 2463dab8eeSAdrian Chadd select XZ_DEC_BCJ 2563dab8eeSAdrian Chadd 2663dab8eeSAdrian Chaddconfig XZ_DEC_ARM 27f0bd5302SXin LI bool "ARM BCJ filter decoder" 28f0bd5302SXin LI default y if ARM 2963dab8eeSAdrian Chadd select XZ_DEC_BCJ 3063dab8eeSAdrian Chadd 3163dab8eeSAdrian Chaddconfig XZ_DEC_ARMTHUMB 32f0bd5302SXin LI bool "ARM-Thumb BCJ filter decoder" 33f0bd5302SXin LI default y if (ARM && ARM_THUMB) 3463dab8eeSAdrian Chadd select XZ_DEC_BCJ 3563dab8eeSAdrian Chadd 3663dab8eeSAdrian Chaddconfig XZ_DEC_SPARC 37f0bd5302SXin LI bool "SPARC BCJ filter decoder" 38f0bd5302SXin LI default y if SPARC 3963dab8eeSAdrian Chadd select XZ_DEC_BCJ 4063dab8eeSAdrian Chadd 41*cd3a777bSXin LIconfig XZ_DEC_MICROLZMA 42*cd3a777bSXin LI bool "MicroLZMA decoder" 43*cd3a777bSXin LI default n 44*cd3a777bSXin LI help 45*cd3a777bSXin LI MicroLZMA is a header format variant where the first byte 46*cd3a777bSXin LI of a raw LZMA stream (without the end of stream marker) has 47*cd3a777bSXin LI been replaced with a bitwise-negation of the lc/lp/pb 48*cd3a777bSXin LI properties byte. MicroLZMA was created to be used in EROFS 49*cd3a777bSXin LI but can be used by other things too where wasting minimal 50*cd3a777bSXin LI amount of space for headers is important. 51*cd3a777bSXin LI 52*cd3a777bSXin LI Unless you know that you need this, say N. 53*cd3a777bSXin LI 54f0bd5302SXin LIendif 55f0bd5302SXin LI 5663dab8eeSAdrian Chaddconfig XZ_DEC_BCJ 5763dab8eeSAdrian Chadd bool 5863dab8eeSAdrian Chadd default n 5963dab8eeSAdrian Chadd 6063dab8eeSAdrian Chaddconfig XZ_DEC_TEST 6163dab8eeSAdrian Chadd tristate "XZ decompressor tester" 6263dab8eeSAdrian Chadd default n 6363dab8eeSAdrian Chadd depends on XZ_DEC 6463dab8eeSAdrian Chadd help 6563dab8eeSAdrian Chadd This allows passing .xz files to the in-kernel XZ decoder via 6663dab8eeSAdrian Chadd a character special file. It calculates CRC32 of the decompressed 6763dab8eeSAdrian Chadd data and writes diagnostics to the system log. 6863dab8eeSAdrian Chadd 6963dab8eeSAdrian Chadd Unless you are developing the XZ decoder, you don't need this 7063dab8eeSAdrian Chadd and should say N. 71