Config.in.kernel 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. config ADK_KERNEL_STAGING
  2. bool
  3. config ADK_KERNEL_EXPERIMENTAL
  4. bool
  5. config ADK_KERNEL_RESET_CONTROLLER
  6. bool
  7. config ADK_KERNEL_BLK_DEV_INITRD
  8. bool
  9. config ADK_KERNEL_BLK_DEV_RAM
  10. bool
  11. config ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  12. bool
  13. config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  14. bool
  15. select ADK_HOST_NEED_XZ
  16. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  17. bool
  18. select ADK_HOST_NEED_LZ4
  19. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  20. bool
  21. select ADK_HOST_NEED_LZMA
  22. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  23. bool
  24. select ADK_HOST_NEED_LZOP
  25. config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  26. bool
  27. select ADK_HOST_NEED_BZIP2
  28. config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  29. bool
  30. config ADK_KERNEL_RD_GZIP
  31. bool
  32. config ADK_KERNEL_KERNEL_GZIP
  33. bool
  34. config ADK_KERNEL_RD_BZIP2
  35. bool
  36. config ADK_KERNEL_KERNEL_BZIP2
  37. bool
  38. config ADK_KERNEL_RD_LZ4
  39. bool
  40. config ADK_KERNEL_KERNEL_LZ4
  41. bool
  42. config ADK_KERNEL_RD_LZMA
  43. bool
  44. config ADK_KERNEL_KERNEL_LZMA
  45. bool
  46. config ADK_KERNEL_RD_LZO
  47. bool
  48. config ADK_KERNEL_KERNEL_LZO
  49. bool
  50. config ADK_KERNEL_RD_XZ
  51. bool
  52. config ADK_KERNEL_KERNEL_XZ
  53. bool
  54. config ADK_KERNEL_INITRAMFS_SOURCE
  55. string
  56. default ""
  57. config ADK_KERNEL_NETWORK_FILESYSTEMS
  58. bool
  59. config ADK_KERNEL_IP_PNP
  60. bool
  61. config ADK_KERNEL_IP_PNP_DHCP
  62. bool
  63. config ADK_KERNEL_ROOT_NFS
  64. bool
  65. config ADK_KERNEL_NFS_COMMON
  66. bool
  67. config ADK_KERNEL_64BIT
  68. bool
  69. default y if ADK_LINUX_64
  70. config ADK_KERNEL_CPU_MIPS64
  71. bool
  72. config ADK_KERNEL_CPU_MIPS64_R1
  73. bool
  74. config ADK_KERNEL_CPU_MIPS64_R2
  75. bool
  76. # ARM specific
  77. config ADK_KERNEL_AEABI
  78. bool
  79. default y if ADK_TARGET_ARCH_ARM
  80. config ADK_KERNEL_THUMB2_KERNEL
  81. bool
  82. # endianess
  83. config ADK_KERNEL_CPU_BIG_ENDIAN
  84. bool
  85. default y if ADK_big
  86. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  87. bool
  88. default y if ADK_little
  89. choice
  90. prompt "Kernel Compression"
  91. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  92. config ADK_KERNEL_COMP_XZ
  93. prompt "use XZ compression"
  94. boolean
  95. select ADK_KERNEL_RD_XZ
  96. select ADK_KERNEL_KERNEL_XZ
  97. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  98. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  99. config ADK_KERNEL_COMP_LZ4
  100. prompt "use LZ4 compression"
  101. boolean
  102. select ADK_KERNEL_RD_LZ4
  103. select ADK_KERNEL_KERNEL_LZ4
  104. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  105. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  106. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  107. config ADK_KERNEL_COMP_LZMA
  108. prompt "use LZMA compression"
  109. boolean
  110. select ADK_KERNEL_RD_LZMA
  111. select ADK_KERNEL_KERNEL_LZMA
  112. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  113. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  114. config ADK_KERNEL_COMP_LZO
  115. prompt "use LZO compression"
  116. boolean
  117. select ADK_KERNEL_RD_LZO
  118. select ADK_KERNEL_KERNEL_LZO
  119. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  120. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  121. config ADK_KERNEL_COMP_GZIP
  122. prompt "use GZIP compression"
  123. boolean
  124. select ADK_KERNEL_RD_GZIP
  125. select ADK_KERNEL_KERNEL_GZIP
  126. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  127. config ADK_KERNEL_COMP_BZIP2
  128. prompt "use BZIP2 compression"
  129. boolean
  130. select ADK_KERNEL_RD_BZIP2
  131. select ADK_KERNEL_KERNEL_BZIP2
  132. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  133. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  134. endchoice
  135. menu "Kernel options"
  136. config ADK_KERNEL_MMU
  137. bool
  138. default n if ADK_TARGET_UCLINUX
  139. default y
  140. config ADK_KERNEL_SMP
  141. bool "Enable symmetric multi processing"
  142. depends on ADK_TARGET_WITH_SMP
  143. default y if ADK_TARGET_WITH_SMP
  144. default n
  145. config ADK_KERNEL_HIGHMEM
  146. bool "Enable high memory"
  147. default y if ADK_TARGET_CUBOX_I4PRO
  148. default y if ADK_TARGET_CUBOX_I2ULTRA
  149. default y if ADK_TARGET_CUBOX_I2EX
  150. default y if ADK_TARGET_SYSTEM_IBM_X40
  151. default n
  152. config ADK_KERNEL_PREEMPT
  153. bool "Enable preemptive kernel"
  154. default n
  155. config ADK_KERNEL_BCM2708_DT
  156. bool "Enable Devicetree support"
  157. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
  158. depends on ADK_KERNEL_VERSION_3_18
  159. default n
  160. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  161. bool "Optimize for size"
  162. # does not boot in qemu
  163. depends on !ADK_TARGET_ARCH_MICROBLAZE
  164. default y
  165. choice
  166. prompt "Page size"
  167. depends on ADK_TARGET_ARCH_MIPS64
  168. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  169. default ADK_KERNEL_PAGE_SIZE_4KB
  170. config ADK_KERNEL_PAGE_SIZE_4KB
  171. bool "4kB"
  172. config ADK_KERNEL_PAGE_SIZE_16KB
  173. bool "16kB"
  174. config ADK_KERNEL_PAGE_SIZE_64KB
  175. bool "64kB"
  176. endchoice
  177. endmenu