Config.in.kernel 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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. default y
  141. config ADK_KERNEL_DEVTMPFS_MOUNT
  142. bool
  143. default y
  144. config ADK_KERNEL_UEVENT_HELPER
  145. bool
  146. depends on ADK_RUNTIME_DEV_MDEV
  147. default y if ADK_RUNTIME_DEV_MDEV
  148. config ADK_KERNEL_UEVENT_HELPER_PATH
  149. string
  150. default "/sbin/mdev"
  151. depends on ADK_RUNTIME_DEV_MDEV
  152. config ADK_KERNEL_BINFMT_FLAT
  153. bool
  154. default y if ADK_TARGET_BINFMT_FLAT
  155. config ADK_KERNEL_MMU
  156. bool
  157. config ADK_KERNEL_VFP
  158. bool
  159. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  160. config ADK_KERNEL_VFPv3
  161. bool
  162. select ADK_KERNEL_VFP
  163. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  164. config ADK_KERNEL_NEON
  165. bool
  166. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  167. config ADK_KERNEL_KERNEL_MODE_NEON
  168. bool
  169. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  170. config ADK_TARGET_NO_CMDLINE
  171. bool "Do not builtin any kernel cmdline"
  172. help
  173. No kernel command line modifictaion is done.
  174. config ADK_KERNEL_SMP
  175. bool "Enable symmetric multi processing"
  176. depends on ADK_TARGET_WITH_SMP
  177. default y if ADK_TARGET_WITH_SMP
  178. default n
  179. help
  180. Enable symmetric multi processing support.
  181. config ADK_KERNEL_HIGHMEM
  182. bool "Enable high memory"
  183. default y if ADK_TARGET_SYSTEM_IBM_X40
  184. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  185. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  186. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  187. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  188. default n
  189. help
  190. Enable high memory support.
  191. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  192. bool "Optimize for size"
  193. # does not boot in qemu-microblaze
  194. depends on !ADK_TARGET_ARCH_MICROBLAZE
  195. default y
  196. config ADK_KERNEL_PREEMPT
  197. bool "Enable preemptive kernel"
  198. help
  199. Enable preemptive mode.
  200. choice
  201. prompt "tick configuration"
  202. config ADK_KERNEL_NO_HZ_IDLE
  203. bool "no HZ IDLE, dynamic tick"
  204. config ADK_KERNEL_NO_HZ_FULL
  205. bool "no HZ FULL, dynamic tick"
  206. config ADK_KERNEL_HZ_PERIODIC
  207. bool "periodic tick"
  208. endchoice
  209. choice
  210. prompt "HZ"
  211. depends on ADK_KERNEL_HZ_PERIODIC
  212. config ADK_KERNEL_HZ_100
  213. bool "100 HZ"
  214. config ADK_KERNEL_HZ_500
  215. bool "500 HZ"
  216. config ADK_KERNEL_HZ_1000
  217. bool "1000 HZ"
  218. endchoice
  219. config ADK_KERNEL_HIGH_RES_TIMERS
  220. bool "Enable high resolution timers"
  221. help
  222. config ADK_KERNEL_PREEMPT_RT_FULL
  223. bool "Enable Realtime support (external kernel patch)"
  224. depends on ADK_TARGET_KERNEL_VERSION_3_18 \
  225. || ADK_TARGET_KERNEL_VERSION_3_14 \
  226. || ADK_TARGET_KERNEL_VERSION_4_1
  227. help
  228. https://www.kernel.org/pub/linux/kernel/projects/rt/
  229. choice
  230. prompt "Page size"
  231. depends on ADK_TARGET_ARCH_MIPS64
  232. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  233. default ADK_KERNEL_PAGE_SIZE_4KB
  234. config ADK_KERNEL_PAGE_SIZE_4KB
  235. bool "4kB"
  236. config ADK_KERNEL_PAGE_SIZE_16KB
  237. bool "16kB"
  238. config ADK_KERNEL_PAGE_SIZE_64KB
  239. bool "64kB"
  240. endchoice
  241. endmenu