Kconfig 1.7 KB

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