Config.in.compression 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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_WALDUX_KERNEL_INITRAMFS_COMPRESSION_NONE
  4. bool
  5. config ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_XZ
  6. bool
  7. select ADK_HOST_NEED_XZ
  8. config ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
  9. bool
  10. select ADK_HOST_NEED_LZ4
  11. config ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_LZMA
  12. bool
  13. select ADK_HOST_NEED_LZMA
  14. config ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_LZO
  15. bool
  16. select ADK_HOST_NEED_LZOP
  17. config ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  18. bool
  19. select ADK_HOST_NEED_BZIP2
  20. config ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_GZIP
  21. bool
  22. config ADK_WALDUX_KERNEL_RD_GZIP
  23. bool
  24. config ADK_WALDUX_KERNEL_KERNEL_GZIP
  25. bool
  26. config ADK_WALDUX_KERNEL_RD_BZIP2
  27. bool
  28. config ADK_WALDUX_KERNEL_KERNEL_BZIP2
  29. bool
  30. config ADK_WALDUX_KERNEL_RD_LZ4
  31. bool
  32. config ADK_WALDUX_KERNEL_KERNEL_LZ4
  33. bool
  34. config ADK_WALDUX_KERNEL_RD_LZMA
  35. bool
  36. config ADK_WALDUX_KERNEL_KERNEL_LZMA
  37. bool
  38. config ADK_WALDUX_KERNEL_RD_LZO
  39. bool
  40. config ADK_WALDUX_KERNEL_KERNEL_LZO
  41. bool
  42. config ADK_WALDUX_KERNEL_RD_XZ
  43. bool
  44. config ADK_WALDUX_KERNEL_KERNEL_XZ
  45. bool
  46. config ADK_WALDUX_KERNEL_KERNEL_COMPRESS_NONE
  47. bool
  48. config ADK_WALDUX_KERNEL_INITRAMFS_SOURCE
  49. string
  50. default ""
  51. choice
  52. prompt "Kernel compression"
  53. depends on ADK_TARGET_OS_WALDUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
  54. default ADK_WALDUX_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  55. default ADK_WALDUX_KERNEL_COMP_XZ
  56. config ADK_WALDUX_KERNEL_COMP_XZ
  57. bool "use XZ compression"
  58. select ADK_WALDUX_KERNEL_RD_XZ
  59. select ADK_WALDUX_KERNEL_KERNEL_XZ
  60. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_XZ
  61. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  62. || ADK_TARGET_GENERIC
  63. config ADK_WALDUX_KERNEL_COMP_LZ4
  64. bool "use LZ4 compression"
  65. select ADK_WALDUX_KERNEL_RD_LZ4
  66. select ADK_WALDUX_KERNEL_KERNEL_LZ4
  67. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
  68. depends on ADK_TARGET_ARCH_ARM \
  69. || ADK_TARGET_ARCH_X86 \
  70. || ADK_TARGET_ARCH_X86_64
  71. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  72. || ADK_TARGET_GENERIC
  73. config ADK_WALDUX_KERNEL_COMP_LZMA
  74. bool "use LZMA compression"
  75. select ADK_WALDUX_KERNEL_RD_LZMA
  76. select ADK_WALDUX_KERNEL_KERNEL_LZMA
  77. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_LZMA
  78. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  79. || ADK_TARGET_GENERIC
  80. config ADK_WALDUX_KERNEL_COMP_LZO
  81. bool "use LZO compression"
  82. select ADK_WALDUX_KERNEL_RD_LZO
  83. select ADK_WALDUX_KERNEL_KERNEL_LZO
  84. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_LZO
  85. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  86. || ADK_TARGET_GENERIC
  87. config ADK_WALDUX_KERNEL_COMP_BZIP2
  88. bool "use BZIP2 compression"
  89. select ADK_WALDUX_KERNEL_RD_BZIP2
  90. select ADK_WALDUX_KERNEL_KERNEL_BZIP2
  91. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  92. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  93. || ADK_TARGET_GENERIC
  94. config ADK_WALDUX_KERNEL_COMP_GZIP
  95. bool "use GZIP compression"
  96. select ADK_WALDUX_KERNEL_RD_GZIP
  97. select ADK_WALDUX_KERNEL_KERNEL_GZIP
  98. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_GZIP
  99. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
  100. || ADK_TARGET_GENERIC
  101. config ADK_WALDUX_KERNEL_COMPRESS_NONE
  102. bool "use no compression"
  103. select ADK_WALDUX_KERNEL_KERNEL_COMPRESS_NONE
  104. select ADK_WALDUX_KERNEL_INITRAMFS_COMPRESSION_NONE
  105. endchoice