xref: /kernel/linux/linux-5.10/lib/xz/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig XZ_DEC
38c2ecf20Sopenharmony_ci	tristate "XZ decompression support"
48c2ecf20Sopenharmony_ci	select CRC32
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  LZMA2 compression algorithm and BCJ filters are supported using
78c2ecf20Sopenharmony_ci	  the .xz file format as the container. For integrity checking,
88c2ecf20Sopenharmony_ci	  CRC32 is supported. See Documentation/staging/xz.rst for more information.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciif XZ_DEC
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig XZ_DEC_X86
138c2ecf20Sopenharmony_ci	bool "x86 BCJ filter decoder" if EXPERT
148c2ecf20Sopenharmony_ci	default y
158c2ecf20Sopenharmony_ci	select XZ_DEC_BCJ
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig XZ_DEC_POWERPC
188c2ecf20Sopenharmony_ci	bool "PowerPC BCJ filter decoder" if EXPERT
198c2ecf20Sopenharmony_ci	default y
208c2ecf20Sopenharmony_ci	select XZ_DEC_BCJ
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig XZ_DEC_IA64
238c2ecf20Sopenharmony_ci	bool "IA-64 BCJ filter decoder" if EXPERT
248c2ecf20Sopenharmony_ci	default y
258c2ecf20Sopenharmony_ci	select XZ_DEC_BCJ
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig XZ_DEC_ARM
288c2ecf20Sopenharmony_ci	bool "ARM BCJ filter decoder" if EXPERT
298c2ecf20Sopenharmony_ci	default y
308c2ecf20Sopenharmony_ci	select XZ_DEC_BCJ
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig XZ_DEC_ARMTHUMB
338c2ecf20Sopenharmony_ci	bool "ARM-Thumb BCJ filter decoder" if EXPERT
348c2ecf20Sopenharmony_ci	default y
358c2ecf20Sopenharmony_ci	select XZ_DEC_BCJ
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig XZ_DEC_SPARC
388c2ecf20Sopenharmony_ci	bool "SPARC BCJ filter decoder" if EXPERT
398c2ecf20Sopenharmony_ci	default y
408c2ecf20Sopenharmony_ci	select XZ_DEC_BCJ
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciendif
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig XZ_DEC_BCJ
458c2ecf20Sopenharmony_ci	bool
468c2ecf20Sopenharmony_ci	default n
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciconfig XZ_DEC_TEST
498c2ecf20Sopenharmony_ci	tristate "XZ decompressor tester"
508c2ecf20Sopenharmony_ci	default n
518c2ecf20Sopenharmony_ci	depends on XZ_DEC
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  This allows passing .xz files to the in-kernel XZ decoder via
548c2ecf20Sopenharmony_ci	  a character special file. It calculates CRC32 of the decompressed
558c2ecf20Sopenharmony_ci	  data and writes diagnostics to the system log.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci	  Unless you are developing the XZ decoder, you don't need this
588c2ecf20Sopenharmony_ci	  and should say N.
59