78 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config XZ_DEC3 tristate "XZ decompression support"4 select CRC325 help6 LZMA2 compression algorithm and BCJ filters are supported using7 the .xz file format as the container. For integrity checking,8 CRC32 is supported. See Documentation/staging/xz.rst for more9 information.10 11if XZ_DEC12 13config XZ_DEC_X8614 bool "x86 BCJ filter decoder" if EXPERT15 default y16 select XZ_DEC_BCJ17 18config XZ_DEC_POWERPC19 bool "PowerPC BCJ filter decoder" if EXPERT20 default y21 select XZ_DEC_BCJ22 23config XZ_DEC_ARM24 bool "ARM BCJ filter decoder" if EXPERT25 default y26 select XZ_DEC_BCJ27 28config XZ_DEC_ARMTHUMB29 bool "ARM-Thumb BCJ filter decoder" if EXPERT30 default y31 select XZ_DEC_BCJ32 33config XZ_DEC_ARM6434 bool "ARM64 BCJ filter decoder" if EXPERT35 default y36 select XZ_DEC_BCJ37 38config XZ_DEC_SPARC39 bool "SPARC BCJ filter decoder" if EXPERT40 default y41 select XZ_DEC_BCJ42 43config XZ_DEC_RISCV44 bool "RISC-V BCJ filter decoder" if EXPERT45 default y46 select XZ_DEC_BCJ47 48config XZ_DEC_MICROLZMA49 bool "MicroLZMA decoder"50 default n51 help52 MicroLZMA is a header format variant where the first byte53 of a raw LZMA stream (without the end of stream marker) has54 been replaced with a bitwise-negation of the lc/lp/pb55 properties byte. MicroLZMA was created to be used in EROFS56 but can be used by other things too where wasting minimal57 amount of space for headers is important.58 59 Unless you know that you need this, say N.60 61endif62 63config XZ_DEC_BCJ64 bool65 default n66 67config XZ_DEC_TEST68 tristate "XZ decompressor tester"69 default n70 depends on XZ_DEC71 help72 This allows passing .xz files to the in-kernel XZ decoder via73 a character special file. It calculates CRC32 of the decompressed74 data and writes diagnostics to the system log.75 76 Unless you are developing the XZ decoder, you don't need this77 and should say N.78