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