Config.in.kernel 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. config ADK_KERNEL_EXPERIMENTAL
  2. bool
  3. default y
  4. config ADK_KERNEL_STAGING
  5. bool
  6. config ADK_KERNEL_RESET_CONTROLLER
  7. bool
  8. config ADK_KERNEL_BLK_DEV_INITRD
  9. bool
  10. config ADK_KERNEL_BLK_DEV_RAM
  11. bool
  12. config ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  13. bool
  14. config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  15. bool
  16. select ADK_HOST_NEED_XZ
  17. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  18. bool
  19. select ADK_HOST_NEED_LZ4
  20. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  21. bool
  22. select ADK_HOST_NEED_LZMA
  23. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  24. bool
  25. select ADK_HOST_NEED_LZOP
  26. config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  27. bool
  28. select ADK_HOST_NEED_BZIP2
  29. config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  30. bool
  31. config ADK_KERNEL_RD_GZIP
  32. bool
  33. config ADK_KERNEL_KERNEL_GZIP
  34. bool
  35. config ADK_KERNEL_RD_BZIP2
  36. bool
  37. config ADK_KERNEL_KERNEL_BZIP2
  38. bool
  39. config ADK_KERNEL_RD_LZ4
  40. bool
  41. config ADK_KERNEL_KERNEL_LZ4
  42. bool
  43. config ADK_KERNEL_RD_LZMA
  44. bool
  45. config ADK_KERNEL_KERNEL_LZMA
  46. bool
  47. config ADK_KERNEL_RD_LZO
  48. bool
  49. config ADK_KERNEL_KERNEL_LZO
  50. bool
  51. config ADK_KERNEL_RD_XZ
  52. bool
  53. config ADK_KERNEL_KERNEL_XZ
  54. bool
  55. config ADK_KERNEL_INITRAMFS_SOURCE
  56. string
  57. default ""
  58. config ADK_KERNEL_NETWORK_FILESYSTEMS
  59. bool
  60. config ADK_KERNEL_IP_PNP
  61. bool
  62. config ADK_KERNEL_IP_PNP_DHCP
  63. bool
  64. config ADK_KERNEL_ROOT_NFS
  65. bool
  66. config ADK_KERNEL_NFS_COMMON
  67. bool
  68. config ADK_KERNEL_64BIT
  69. bool
  70. default y if ADK_LINUX_64
  71. config ADK_KERNEL_CPU_MIPS64
  72. bool
  73. config ADK_KERNEL_CPU_MIPS64_R1
  74. bool
  75. config ADK_KERNEL_CPU_MIPS64_R2
  76. bool
  77. # ARM specific
  78. config ADK_KERNEL_AEABI
  79. bool
  80. default y if ADK_TARGET_ARCH_ARM
  81. config ADK_KERNEL_ARM_THUMB
  82. bool
  83. config ADK_KERNEL_THUMB2_KERNEL
  84. bool
  85. # endianess
  86. config ADK_KERNEL_CPU_BIG_ENDIAN
  87. bool
  88. default y if ADK_TARGET_BIG_ENDIAN
  89. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  90. bool
  91. default y if ADK_TARGET_LITTLE_ENDIAN
  92. choice
  93. prompt "Kernel Compression"
  94. default ADK_KERNEL_COMPRESS_NONE if ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  95. || ADK_TARGET_SYSTEM_KINETIS_K70
  96. default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  97. config ADK_KERNEL_COMP_XZ
  98. bool "use XZ compression"
  99. select ADK_KERNEL_RD_XZ
  100. select ADK_KERNEL_KERNEL_XZ
  101. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  102. depends on !ADK_TARGET_UCLINUX
  103. config ADK_KERNEL_COMP_LZ4
  104. bool "use LZ4 compression"
  105. select ADK_KERNEL_RD_LZ4
  106. select ADK_KERNEL_KERNEL_LZ4
  107. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  108. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  109. depends on !ADK_TARGET_UCLINUX
  110. config ADK_KERNEL_COMP_LZMA
  111. bool "use LZMA compression"
  112. select ADK_KERNEL_RD_LZMA
  113. select ADK_KERNEL_KERNEL_LZMA
  114. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  115. depends on !ADK_TARGET_UCLINUX
  116. config ADK_KERNEL_COMP_LZO
  117. bool "use LZO compression"
  118. select ADK_KERNEL_RD_LZO
  119. select ADK_KERNEL_KERNEL_LZO
  120. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  121. depends on !ADK_TARGET_UCLINUX
  122. config ADK_KERNEL_COMP_BZIP2
  123. bool "use BZIP2 compression"
  124. select ADK_KERNEL_RD_BZIP2
  125. select ADK_KERNEL_KERNEL_BZIP2
  126. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  127. depends on !ADK_TARGET_UCLINUX
  128. config ADK_KERNEL_COMP_GZIP
  129. bool "use GZIP compression"
  130. select ADK_KERNEL_RD_GZIP
  131. select ADK_KERNEL_KERNEL_GZIP
  132. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  133. config ADK_KERNEL_COMPRESS_NONE
  134. bool "use no compression"
  135. select ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  136. endchoice
  137. menu "Kernel options"
  138. config ADK_KERNEL_DEVTMPFS
  139. bool
  140. config ADK_KERNEL_DEVTMPFS_MOUNT
  141. bool
  142. config ADK_KERNEL_UEVENT_HELPER
  143. bool
  144. depends on ADK_RUNTIME_DEV_MDEV
  145. default y if 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 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  162. config ADK_KERNEL_NEON
  163. bool
  164. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  165. config ADK_KERNEL_KERNEL_MODE_NEON
  166. bool
  167. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  168. config ADK_TARGET_NO_CMDLINE
  169. bool "Do not builtin any kernel cmdline"
  170. help
  171. No kernel command line modifictaion is done.
  172. config ADK_KERNEL_SMP
  173. bool "Enable symmetric multi processing"
  174. depends on ADK_TARGET_WITH_SMP
  175. default y if ADK_TARGET_WITH_SMP
  176. default n
  177. help
  178. Enable symmetric multi processing support.
  179. config ADK_KERNEL_HIGHMEM
  180. bool "Enable high memory"
  181. default y if ADK_TARGET_SYSTEM_IBM_X40
  182. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  183. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  184. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  185. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  186. default n
  187. help
  188. Enable high memory support.
  189. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  190. bool "Optimize for size"
  191. # does not boot in qemu-microblaze
  192. depends on !ADK_TARGET_ARCH_MICROBLAZE
  193. default y
  194. config ADK_KERNEL_PREEMPT
  195. bool "Enable preemptive kernel"
  196. help
  197. Enable preemptive mode.
  198. choice
  199. prompt "tick configuration"
  200. config ADK_KERNEL_NO_HZ_IDLE
  201. bool "no HZ IDLE, dynamic tick"
  202. config ADK_KERNEL_NO_HZ_FULL
  203. bool "no HZ FULL, dynamic tick"
  204. config ADK_KERNEL_HZ_PERIODIC
  205. bool "periodic tick"
  206. endchoice
  207. choice
  208. prompt "HZ"
  209. depends on ADK_KERNEL_HZ_PERIODIC
  210. config ADK_KERNEL_HZ_100
  211. bool "100 HZ"
  212. config ADK_KERNEL_HZ_500
  213. bool "500 HZ"
  214. config ADK_KERNEL_HZ_1000
  215. bool "1000 HZ"
  216. endchoice
  217. config ADK_KERNEL_HIGH_RES_TIMERS
  218. bool "Enable high resolution timers"
  219. help
  220. config ADK_KERNEL_PREEMPT_RT_FULL
  221. bool "Enable Realtime support (external kernel patch)"
  222. depends on ADK_TARGET_KERNEL_VERSION_3_18 \
  223. || ADK_TARGET_KERNEL_VERSION_3_14 \
  224. || ADK_TARGET_KERNEL_VERSION_4_1
  225. help
  226. https://www.kernel.org/pub/linux/kernel/projects/rt/
  227. choice
  228. prompt "Page size"
  229. depends on ADK_TARGET_ARCH_MIPS64
  230. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  231. default ADK_KERNEL_PAGE_SIZE_4KB
  232. config ADK_KERNEL_PAGE_SIZE_4KB
  233. bool "4kB"
  234. config ADK_KERNEL_PAGE_SIZE_16KB
  235. bool "16kB"
  236. config ADK_KERNEL_PAGE_SIZE_64KB
  237. bool "64kB"
  238. endchoice
  239. endmenu