Config.in.compression 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_NONE
  4. bool
  5. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_XZ
  6. bool
  7. select ADK_HOST_NEED_XZ
  8. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_ZSTD
  9. bool
  10. select ADK_HOST_NEED_ZSTD
  11. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
  12. bool
  13. select ADK_HOST_NEED_LZ4
  14. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZMA
  15. bool
  16. select ADK_HOST_NEED_LZMA
  17. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZO
  18. bool
  19. select ADK_HOST_NEED_LZOP
  20. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  21. bool
  22. select ADK_HOST_NEED_BZIP2
  23. config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_GZIP
  24. bool
  25. config ADK_LINUX_KERNEL_RD_GZIP
  26. bool
  27. config ADK_LINUX_KERNEL_KERNEL_GZIP
  28. bool
  29. config ADK_LINUX_KERNEL_RD_BZIP2
  30. bool
  31. config ADK_LINUX_KERNEL_KERNEL_BZIP2
  32. bool
  33. config ADK_LINUX_KERNEL_RD_LZ4
  34. bool
  35. config ADK_LINUX_KERNEL_KERNEL_LZ4
  36. bool
  37. config ADK_LINUX_KERNEL_RD_LZMA
  38. bool
  39. config ADK_LINUX_KERNEL_KERNEL_LZMA
  40. bool
  41. config ADK_LINUX_KERNEL_RD_LZO
  42. bool
  43. config ADK_LINUX_KERNEL_KERNEL_LZO
  44. bool
  45. config ADK_LINUX_KERNEL_RD_ZSTD
  46. bool
  47. config ADK_LINUX_KERNEL_KERNEL_ZSTD
  48. bool
  49. config ADK_LINUX_KERNEL_RD_XZ
  50. bool
  51. config ADK_LINUX_KERNEL_KERNEL_XZ
  52. bool
  53. config ADK_LINUX_KERNEL_KERNEL_COMPRESS_NONE
  54. bool
  55. config ADK_LINUX_KERNEL_INITRAMFS_SOURCE
  56. string
  57. default ""
  58. choice
  59. prompt "Kernel compression"
  60. depends on ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
  61. default ADK_LINUX_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  62. default ADK_LINUX_KERNEL_COMP_XZ
  63. config ADK_LINUX_KERNEL_COMP_XZ
  64. bool "use XZ compression"
  65. select ADK_LINUX_KERNEL_RD_XZ
  66. select ADK_LINUX_KERNEL_KERNEL_XZ
  67. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_XZ
  68. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  69. || ADK_TARGET_GENERIC
  70. config ADK_LINUX_KERNEL_COMP_ZSTD
  71. bool "use Zstandard compression"
  72. select ADK_LINUX_KERNEL_RD_ZSTD
  73. select ADK_LINUX_KERNEL_KERNEL_ZSTD
  74. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_ZSTD
  75. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  76. || ADK_TARGET_GENERIC
  77. config ADK_LINUX_KERNEL_COMP_LZ4
  78. bool "use LZ4 compression"
  79. select ADK_LINUX_KERNEL_RD_LZ4
  80. select ADK_LINUX_KERNEL_KERNEL_LZ4
  81. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
  82. depends on ADK_TARGET_ARCH_ARM \
  83. || ADK_TARGET_ARCH_X86 \
  84. || ADK_TARGET_ARCH_X86_64
  85. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  86. || ADK_TARGET_GENERIC
  87. config ADK_LINUX_KERNEL_COMP_LZMA
  88. bool "use LZMA compression"
  89. select ADK_LINUX_KERNEL_RD_LZMA
  90. select ADK_LINUX_KERNEL_KERNEL_LZMA
  91. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZMA
  92. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  93. || ADK_TARGET_GENERIC
  94. config ADK_LINUX_KERNEL_COMP_LZO
  95. bool "use LZO compression"
  96. select ADK_LINUX_KERNEL_RD_LZO
  97. select ADK_LINUX_KERNEL_KERNEL_LZO
  98. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZO
  99. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  100. || ADK_TARGET_GENERIC
  101. config ADK_LINUX_KERNEL_COMP_BZIP2
  102. bool "use BZIP2 compression"
  103. select ADK_LINUX_KERNEL_RD_BZIP2
  104. select ADK_LINUX_KERNEL_KERNEL_BZIP2
  105. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  106. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  107. || ADK_TARGET_GENERIC
  108. config ADK_LINUX_KERNEL_COMP_GZIP
  109. bool "use GZIP compression"
  110. select ADK_LINUX_KERNEL_RD_GZIP
  111. select ADK_LINUX_KERNEL_KERNEL_GZIP
  112. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_GZIP
  113. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  114. || ADK_TARGET_GENERIC
  115. config ADK_LINUX_KERNEL_COMPRESS_NONE
  116. bool "use no compression"
  117. select ADK_LINUX_KERNEL_KERNEL_COMPRESS_NONE
  118. select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_NONE
  119. endchoice