Config.in.kernel 5.9 KB

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