Config.in.kernel 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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_TARGET_BIG_ENDIAN
  86. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  87. bool
  88. default y if ADK_TARGET_LITTLE_ENDIAN
  89. choice
  90. prompt "Kernel Compression"
  91. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  92. default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  93. config ADK_KERNEL_COMP_XZ
  94. bool "use XZ compression"
  95. select ADK_KERNEL_RD_XZ
  96. select ADK_KERNEL_KERNEL_XZ
  97. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  98. depends on !ADK_TARGET_UCLINUX
  99. config ADK_KERNEL_COMP_LZ4
  100. bool "use LZ4 compression"
  101. select ADK_KERNEL_RD_LZ4
  102. select ADK_KERNEL_KERNEL_LZ4
  103. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  104. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  105. depends on !ADK_TARGET_UCLINUX
  106. config ADK_KERNEL_COMP_LZMA
  107. bool "use LZMA compression"
  108. select ADK_KERNEL_RD_LZMA
  109. select ADK_KERNEL_KERNEL_LZMA
  110. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  111. depends on !ADK_TARGET_UCLINUX
  112. config ADK_KERNEL_COMP_LZO
  113. bool "use LZO compression"
  114. select ADK_KERNEL_RD_LZO
  115. select ADK_KERNEL_KERNEL_LZO
  116. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  117. depends on !ADK_TARGET_UCLINUX
  118. config ADK_KERNEL_COMP_BZIP2
  119. bool "use BZIP2 compression"
  120. select ADK_KERNEL_RD_BZIP2
  121. select ADK_KERNEL_KERNEL_BZIP2
  122. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  123. depends on !ADK_TARGET_UCLINUX
  124. config ADK_KERNEL_COMP_GZIP
  125. bool "use GZIP compression"
  126. select ADK_KERNEL_RD_GZIP
  127. select ADK_KERNEL_KERNEL_GZIP
  128. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  129. endchoice
  130. menu "Kernel options"
  131. config ADK_KERNEL_BINFMT_FLAT
  132. bool
  133. default y if ADK_TARGET_BINFMT_FLAT
  134. config ADK_KERNEL_MMU
  135. bool
  136. config ADK_KERNEL_VFP
  137. bool
  138. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  139. config ADK_KERNEL_VFPv3
  140. bool
  141. select ADK_KERNEL_VFP
  142. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3
  143. config ADK_KERNEL_VFPv4
  144. bool
  145. select ADK_KERNEL_VFP
  146. default y if ADK_TARGET_CPU_WITH_FPU_VFPV4
  147. config ADK_KERNEL_NEON
  148. bool
  149. default y if ADK_TARGET_CPU_WITH_NEON
  150. config ADK_KERNEL_MODE_NEON
  151. bool
  152. default y if ADK_TARGET_CPU_WITH_NEON
  153. config ADK_TARGET_NO_CMDLINE
  154. bool "Do not builtin any kernel cmdline"
  155. help
  156. No kernel command line modifictaion is done.
  157. config ADK_KERNEL_SMP
  158. bool "Enable symmetric multi processing"
  159. depends on ADK_TARGET_WITH_SMP
  160. default y if ADK_TARGET_WITH_SMP
  161. default n
  162. help
  163. Enable symmetric multi processing support.
  164. config ADK_KERNEL_HIGHMEM
  165. bool "Enable high memory"
  166. default y if ADK_TARGET_CUBOX_I4PRO
  167. default y if ADK_TARGET_CUBOX_I2ULTRA
  168. default y if ADK_TARGET_CUBOX_I2EX
  169. default y if ADK_TARGET_SYSTEM_IBM_X40
  170. default n
  171. help
  172. Enable high memory support.
  173. config ADK_KERNEL_BCM2708_DT
  174. bool "Enable Devicetree support"
  175. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
  176. depends on ADK_KERNEL_VERSION_3_18
  177. config ADK_KERNEL_BCM2709_DT
  178. bool "Enable Devicetree support"
  179. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI2
  180. depends on ADK_KERNEL_VERSION_3_18
  181. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  182. bool "Optimize for size"
  183. # does not boot in qemu-microblaze
  184. depends on !ADK_TARGET_ARCH_MICROBLAZE
  185. default y
  186. config ADK_KERNEL_PREEMPT
  187. bool "Enable preemptive kernel"
  188. help
  189. Enable preemptive mode.
  190. config ADK_KERNEL_PREEMPT_RT_FULL
  191. bool "Enable Realtime support"
  192. select ADK_KERNEL_ADDON_LINUXRT
  193. help
  194. https://www.kernel.org/pub/linux/kernel/projects/rt/3.18/
  195. choice
  196. prompt "tick configuration"
  197. config ADK_KERNEL_NO_HZ_IDLE
  198. bool "no HZ IDLE, dynamic tick"
  199. config ADK_KERNEL_NO_HZ_FULL
  200. bool "no HZ FULL, dynamic tick"
  201. config ADK_KERNEL_HZ_PERIODIC
  202. bool "periodic tick"
  203. endchoice
  204. choice
  205. prompt "HZ"
  206. depends on ADK_KERNEL_HZ_PERIODIC
  207. config ADK_KERNEL_HZ_100
  208. bool "100 HZ"
  209. config ADK_KERNEL_HZ_500
  210. bool "500 HZ"
  211. config ADK_KERNEL_HZ_1000
  212. bool "1000 HZ"
  213. endchoice
  214. config ADK_KERNEL_HIGH_RES_TIMERS
  215. bool "Enable high resolution timers"
  216. help
  217. choice
  218. prompt "Page size"
  219. depends on ADK_TARGET_ARCH_MIPS64
  220. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  221. default ADK_KERNEL_PAGE_SIZE_4KB
  222. config ADK_KERNEL_PAGE_SIZE_4KB
  223. bool "4kB"
  224. config ADK_KERNEL_PAGE_SIZE_16KB
  225. bool "16kB"
  226. config ADK_KERNEL_PAGE_SIZE_64KB
  227. bool "64kB"
  228. endchoice
  229. endmenu