1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 config XZ_DEC 2 config XZ_DEC 3 tristate "XZ decompression support" 3 tristate "XZ decompression support" 4 select CRC32 4 select CRC32 5 help 5 help 6 LZMA2 compression algorithm and BCJ 6 LZMA2 compression algorithm and BCJ filters are supported using 7 the .xz file format as the container 7 the .xz file format as the container. For integrity checking, 8 CRC32 is supported. See Documentatio !! 8 CRC32 is supported. See Documentation/staging/xz.rst for more information. 9 information. << 10 9 11 if XZ_DEC 10 if XZ_DEC 12 11 13 config XZ_DEC_X86 12 config XZ_DEC_X86 14 bool "x86 BCJ filter decoder" if EXPER 13 bool "x86 BCJ filter decoder" if EXPERT 15 default y 14 default y 16 select XZ_DEC_BCJ 15 select XZ_DEC_BCJ 17 16 18 config XZ_DEC_POWERPC 17 config XZ_DEC_POWERPC 19 bool "PowerPC BCJ filter decoder" if E 18 bool "PowerPC BCJ filter decoder" if EXPERT 20 default y 19 default y 21 select XZ_DEC_BCJ 20 select XZ_DEC_BCJ 22 21 >> 22 config XZ_DEC_IA64 >> 23 bool "IA-64 BCJ filter decoder" if EXPERT >> 24 default y >> 25 select XZ_DEC_BCJ >> 26 23 config XZ_DEC_ARM 27 config XZ_DEC_ARM 24 bool "ARM BCJ filter decoder" if EXPER 28 bool "ARM BCJ filter decoder" if EXPERT 25 default y 29 default y 26 select XZ_DEC_BCJ 30 select XZ_DEC_BCJ 27 31 28 config XZ_DEC_ARMTHUMB 32 config XZ_DEC_ARMTHUMB 29 bool "ARM-Thumb BCJ filter decoder" if 33 bool "ARM-Thumb BCJ filter decoder" if EXPERT 30 default y 34 default y 31 select XZ_DEC_BCJ 35 select XZ_DEC_BCJ 32 36 33 config XZ_DEC_ARM64 << 34 bool "ARM64 BCJ filter decoder" if EXP << 35 default y << 36 select XZ_DEC_BCJ << 37 << 38 config XZ_DEC_SPARC 37 config XZ_DEC_SPARC 39 bool "SPARC BCJ filter decoder" if EXP 38 bool "SPARC BCJ filter decoder" if EXPERT 40 default y << 41 select XZ_DEC_BCJ << 42 << 43 config XZ_DEC_RISCV << 44 bool "RISC-V BCJ filter decoder" if EX << 45 default y 39 default y 46 select XZ_DEC_BCJ 40 select XZ_DEC_BCJ 47 41 48 config XZ_DEC_MICROLZMA 42 config XZ_DEC_MICROLZMA 49 bool "MicroLZMA decoder" 43 bool "MicroLZMA decoder" 50 default n 44 default n 51 help 45 help 52 MicroLZMA is a header format variant 46 MicroLZMA is a header format variant where the first byte 53 of a raw LZMA stream (without the en 47 of a raw LZMA stream (without the end of stream marker) has 54 been replaced with a bitwise-negatio 48 been replaced with a bitwise-negation of the lc/lp/pb 55 properties byte. MicroLZMA was creat 49 properties byte. MicroLZMA was created to be used in EROFS 56 but can be used by other things too 50 but can be used by other things too where wasting minimal 57 amount of space for headers is impor 51 amount of space for headers is important. 58 52 59 Unless you know that you need this, 53 Unless you know that you need this, say N. 60 54 61 endif 55 endif 62 56 63 config XZ_DEC_BCJ 57 config XZ_DEC_BCJ 64 bool 58 bool 65 default n 59 default n 66 60 67 config XZ_DEC_TEST 61 config XZ_DEC_TEST 68 tristate "XZ decompressor tester" 62 tristate "XZ decompressor tester" 69 default n 63 default n 70 depends on XZ_DEC 64 depends on XZ_DEC 71 help 65 help 72 This allows passing .xz files to the 66 This allows passing .xz files to the in-kernel XZ decoder via 73 a character special file. It calcula 67 a character special file. It calculates CRC32 of the decompressed 74 data and writes diagnostics to the s 68 data and writes diagnostics to the system log. 75 69 76 Unless you are developing the XZ dec 70 Unless you are developing the XZ decoder, you don't need this 77 and should say N. 71 and should say N.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.