1
0

Config.in.compression 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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_KERNEL_INITRAMFS_COMPRESSION_NONE
  4. bool
  5. config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  6. bool
  7. select ADK_HOST_NEED_XZ
  8. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  9. bool
  10. select ADK_HOST_NEED_LZ4
  11. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  12. bool
  13. select ADK_HOST_NEED_LZMA
  14. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  15. bool
  16. select ADK_HOST_NEED_LZOP
  17. config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  18. bool
  19. select ADK_HOST_NEED_BZIP2
  20. config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  21. bool
  22. config ADK_KERNEL_RD_GZIP
  23. bool
  24. config ADK_KERNEL_KERNEL_GZIP
  25. bool
  26. config ADK_KERNEL_RD_BZIP2
  27. bool
  28. config ADK_KERNEL_KERNEL_BZIP2
  29. bool
  30. config ADK_KERNEL_RD_LZ4
  31. bool
  32. config ADK_KERNEL_KERNEL_LZ4
  33. bool
  34. config ADK_KERNEL_RD_LZMA
  35. bool
  36. config ADK_KERNEL_KERNEL_LZMA
  37. bool
  38. config ADK_KERNEL_RD_LZO
  39. bool
  40. config ADK_KERNEL_KERNEL_LZO
  41. bool
  42. config ADK_KERNEL_RD_XZ
  43. bool
  44. config ADK_KERNEL_KERNEL_XZ
  45. bool
  46. config ADK_KERNEL_KERNEL_COMPRESS_NONE
  47. bool
  48. config ADK_KERNEL_INITRAMFS_SOURCE
  49. string
  50. default ""
  51. choice
  52. prompt "Kernel compression"
  53. depends on ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
  54. default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  55. default ADK_KERNEL_COMP_XZ
  56. config ADK_KERNEL_COMP_XZ
  57. bool "use XZ compression"
  58. select ADK_KERNEL_RD_XZ
  59. select ADK_KERNEL_KERNEL_XZ
  60. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  61. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  62. || ADK_TARGET_GENERIC
  63. config ADK_KERNEL_COMP_LZ4
  64. bool "use LZ4 compression"
  65. select ADK_KERNEL_RD_LZ4
  66. select ADK_KERNEL_KERNEL_LZ4
  67. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  68. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  69. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  70. || ADK_TARGET_GENERIC
  71. config ADK_KERNEL_COMP_LZMA
  72. bool "use LZMA compression"
  73. select ADK_KERNEL_RD_LZMA
  74. select ADK_KERNEL_KERNEL_LZMA
  75. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  76. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  77. || ADK_TARGET_GENERIC
  78. config ADK_KERNEL_COMP_LZO
  79. bool "use LZO compression"
  80. select ADK_KERNEL_RD_LZO
  81. select ADK_KERNEL_KERNEL_LZO
  82. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  83. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  84. || ADK_TARGET_GENERIC
  85. config ADK_KERNEL_COMP_BZIP2
  86. bool "use BZIP2 compression"
  87. select ADK_KERNEL_RD_BZIP2
  88. select ADK_KERNEL_KERNEL_BZIP2
  89. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  90. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  91. || ADK_TARGET_GENERIC
  92. config ADK_KERNEL_COMP_GZIP
  93. bool "use GZIP compression"
  94. select ADK_KERNEL_RD_GZIP
  95. select ADK_KERNEL_KERNEL_GZIP
  96. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  97. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  98. || ADK_TARGET_GENERIC
  99. config ADK_KERNEL_COMPRESS_NONE
  100. bool "use no compression"
  101. select ADK_KERNEL_KERNEL_COMPRESS_NONE
  102. select ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  103. endchoice