Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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
  9. information.
  10. if XZ_DEC
  11. config XZ_DEC_X86
  12. bool "x86 BCJ filter decoder" if EXPERT
  13. default y
  14. select XZ_DEC_BCJ
  15. config XZ_DEC_POWERPC
  16. bool "PowerPC BCJ filter decoder" if EXPERT
  17. default y
  18. select XZ_DEC_BCJ
  19. config XZ_DEC_ARM
  20. bool "ARM BCJ filter decoder" if EXPERT
  21. default y
  22. select XZ_DEC_BCJ
  23. config XZ_DEC_ARMTHUMB
  24. bool "ARM-Thumb BCJ filter decoder" if EXPERT
  25. default y
  26. select XZ_DEC_BCJ
  27. config XZ_DEC_ARM64
  28. bool "ARM64 BCJ filter decoder" if EXPERT
  29. default y
  30. select XZ_DEC_BCJ
  31. config XZ_DEC_SPARC
  32. bool "SPARC BCJ filter decoder" if EXPERT
  33. default y
  34. select XZ_DEC_BCJ
  35. config XZ_DEC_RISCV
  36. bool "RISC-V BCJ filter decoder" if EXPERT
  37. default y
  38. select XZ_DEC_BCJ
  39. config XZ_DEC_MICROLZMA
  40. bool "MicroLZMA decoder"
  41. default n
  42. help
  43. MicroLZMA is a header format variant where the first byte
  44. of a raw LZMA stream (without the end of stream marker) has
  45. been replaced with a bitwise-negation of the lc/lp/pb
  46. properties byte. MicroLZMA was created to be used in EROFS
  47. but can be used by other things too where wasting minimal
  48. amount of space for headers is important.
  49. Unless you know that you need this, say N.
  50. endif
  51. config XZ_DEC_BCJ
  52. bool
  53. default n
  54. config XZ_DEC_TEST
  55. tristate "XZ decompressor tester"
  56. default n
  57. depends on XZ_DEC
  58. help
  59. This allows passing .xz files to the in-kernel XZ decoder via
  60. a character special file. It calculates CRC32 of the decompressed
  61. data and writes diagnostics to the system log.
  62. Unless you are developing the XZ decoder, you don't need this
  63. and should say N.