Config.in.kernel 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_KERNEL_EXPERIMENTAL
  4. bool
  5. default y
  6. config ADK_KERNEL_STAGING
  7. bool
  8. config ADK_KERNEL_RESET_CONTROLLER
  9. bool
  10. config ADK_KERNEL_BLK_DEV_INITRD
  11. bool
  12. config ADK_KERNEL_BLK_DEV_RAM
  13. bool
  14. config ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
  15. bool
  16. config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  17. bool
  18. select ADK_HOST_NEED_XZ
  19. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  20. bool
  21. select ADK_HOST_NEED_LZ4
  22. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  23. bool
  24. select ADK_HOST_NEED_LZMA
  25. config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  26. bool
  27. select ADK_HOST_NEED_LZOP
  28. config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  29. bool
  30. select ADK_HOST_NEED_BZIP2
  31. config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  32. bool
  33. config ADK_KERNEL_RD_GZIP
  34. bool
  35. config ADK_KERNEL_KERNEL_GZIP
  36. bool
  37. config ADK_KERNEL_RD_BZIP2
  38. bool
  39. config ADK_KERNEL_KERNEL_BZIP2
  40. bool
  41. config ADK_KERNEL_RD_LZ4
  42. bool
  43. config ADK_KERNEL_KERNEL_LZ4
  44. bool
  45. config ADK_KERNEL_RD_LZMA
  46. bool
  47. config ADK_KERNEL_KERNEL_LZMA
  48. bool
  49. config ADK_KERNEL_RD_LZO
  50. bool
  51. config ADK_KERNEL_KERNEL_LZO
  52. bool
  53. config ADK_KERNEL_RD_XZ
  54. bool
  55. config ADK_KERNEL_KERNEL_XZ
  56. bool
  57. config ADK_KERNEL_KERNEL_COMPRESS_NONE
  58. bool
  59. config ADK_KERNEL_INITRAMFS_SOURCE
  60. string
  61. default ""
  62. config ADK_KERNEL_NETWORK_FILESYSTEMS
  63. bool
  64. config ADK_KERNEL_IP_PNP
  65. bool
  66. config ADK_KERNEL_IP_PNP_DHCP
  67. bool
  68. config ADK_KERNEL_ROOT_NFS
  69. bool
  70. config ADK_KERNEL_NFS_COMMON
  71. bool
  72. config ADK_KERNEL_64BIT
  73. bool
  74. default y if ADK_LINUX_64
  75. # ARM specific
  76. config ADK_KERNEL_AEABI
  77. bool
  78. default y if ADK_TARGET_ARCH_ARM
  79. config ADK_KERNEL_ARM_THUMB
  80. bool
  81. config ADK_KERNEL_THUMB2_KERNEL
  82. bool
  83. # endianess
  84. config ADK_KERNEL_CPU_BIG_ENDIAN
  85. bool
  86. default y if ADK_TARGET_BIG_ENDIAN
  87. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  88. bool
  89. default y if ADK_TARGET_LITTLE_ENDIAN
  90. choice
  91. prompt "Kernel compression"
  92. default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
  93. default ADK_KERNEL_COMP_XZ if ADK_TARGET_KERNEL_WITH_COMPRESSION
  94. default ADK_KERNEL_COMPRESS_NONE
  95. config ADK_KERNEL_COMP_XZ
  96. bool "use XZ compression"
  97. select ADK_KERNEL_RD_XZ
  98. select ADK_KERNEL_KERNEL_XZ
  99. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  100. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  101. config ADK_KERNEL_COMP_LZ4
  102. bool "use LZ4 compression"
  103. select ADK_KERNEL_RD_LZ4
  104. select ADK_KERNEL_KERNEL_LZ4
  105. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
  106. depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
  107. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  108. config ADK_KERNEL_COMP_LZMA
  109. bool "use LZMA compression"
  110. select ADK_KERNEL_RD_LZMA
  111. select ADK_KERNEL_KERNEL_LZMA
  112. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  113. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  114. config ADK_KERNEL_COMP_LZO
  115. bool "use LZO compression"
  116. select ADK_KERNEL_RD_LZO
  117. select ADK_KERNEL_KERNEL_LZO
  118. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  119. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  120. config ADK_KERNEL_COMP_BZIP2
  121. bool "use BZIP2 compression"
  122. select ADK_KERNEL_RD_BZIP2
  123. select ADK_KERNEL_KERNEL_BZIP2
  124. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  125. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  126. config ADK_KERNEL_COMP_GZIP
  127. bool "use GZIP compression"
  128. select ADK_KERNEL_RD_GZIP
  129. select ADK_KERNEL_KERNEL_GZIP
  130. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  131. depends on ADK_TARGET_KERNEL_WITH_COMPRESSION
  132. config ADK_KERNEL_COMPRESS_NONE
  133. bool "use no compression"
  134. select ADK_KERNEL_KERNEL_COMPRESS_NONE
  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_ELF
  151. bool
  152. default y if ADK_TARGET_BINFMT_ELF
  153. config ADK_KERNEL_BINFMT_ELF_FDPIC
  154. bool
  155. default y if ADK_TARGET_BINFMT_FDPIC
  156. config ADK_KERNEL_BINFMT_FLAT
  157. bool
  158. default y if ADK_TARGET_BINFMT_FLAT
  159. config ADK_KERNEL_MMU
  160. bool
  161. config ADK_KERNEL_VFP
  162. bool
  163. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  164. config ADK_KERNEL_VFPv3
  165. bool
  166. select ADK_KERNEL_VFP
  167. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  168. config ADK_KERNEL_NEON
  169. bool
  170. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  171. config ADK_KERNEL_KERNEL_MODE_NEON
  172. bool
  173. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  174. choice
  175. prompt "preemptive mode"
  176. config ADK_KERNEL_PREEMPT_NONE
  177. bool "No Forced Preemption (Server)"
  178. help
  179. No Forced Preemption (Server)
  180. config ADK_KERNEL_PREEMPT_VOLUNTARY
  181. bool "Voluntary Kernel Preemption (Desktop)"
  182. select ADK_KERNEL_HIGH_RES_TIMERS
  183. help
  184. Voluntary Kernel Preemption (Desktop)
  185. config ADK_KERNEL_PREEMPT__LL
  186. bool "Preemptible Kernel (Low-Latency Desktop)"
  187. select ADK_KERNEL_HIGH_RES_TIMERS
  188. help
  189. Preemptible Kernel (Low-Latency Desktop)
  190. config ADK_KERNEL_PREEMPT_RTB
  191. bool "Preemptible Kernel (Basic RealTime)"
  192. select ADK_KERNEL_HIGH_RES_TIMERS
  193. depends on ADK_TARGET_KERNEL_VERSION_4_1
  194. help
  195. Preemptible Kernel (Basic RT)
  196. config ADK_KERNEL_PREEMPT_RT_FULL
  197. bool "Fully Preemptible Kernel (RealTime)"
  198. select ADK_KERNEL_HIGH_RES_TIMERS
  199. depends on ADK_TARGET_KERNEL_VERSION_4_1
  200. help
  201. Fully Preemptible Kernel (RealTime)
  202. https://www.kernel.org/pub/linux/kernel/projects/rt/
  203. endchoice
  204. config ADK_KERNEL_HIGH_RES_TIMERS
  205. bool "Enable high resolution timers"
  206. choice
  207. prompt "tick configuration"
  208. config ADK_KERNEL_NO_HZ_IDLE
  209. bool "no HZ IDLE, dynamic tick"
  210. config ADK_KERNEL_NO_HZ_FULL
  211. bool "no HZ FULL, dynamic tick"
  212. config ADK_KERNEL_HZ_PERIODIC
  213. bool "periodic tick"
  214. endchoice
  215. choice
  216. prompt "HZ"
  217. depends on ADK_KERNEL_HZ_PERIODIC
  218. config ADK_KERNEL_HZ_100
  219. bool "100 HZ"
  220. config ADK_KERNEL_HZ_500
  221. bool "500 HZ"
  222. config ADK_KERNEL_HZ_1000
  223. bool "1000 HZ"
  224. endchoice
  225. config ADK_TARGET_NO_CMDLINE
  226. bool "Do not builtin any kernel cmdline"
  227. help
  228. No kernel command line modifictaion is done.
  229. config ADK_KERNEL_SMP
  230. bool "Enable symmetric multi processing"
  231. depends on ADK_TARGET_WITH_SMP
  232. default y if ADK_TARGET_WITH_SMP
  233. default n
  234. help
  235. Enable symmetric multi processing support.
  236. config ADK_KERNEL_HIGHMEM
  237. bool "Enable high memory"
  238. default y if ADK_TARGET_SYSTEM_IBM_X40
  239. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  240. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  241. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  242. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  243. default n
  244. help
  245. Enable high memory support.
  246. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  247. bool "Optimize for size"
  248. # does not boot in qemu-microblaze
  249. depends on !ADK_TARGET_ARCH_MICROBLAZE
  250. default y
  251. choice
  252. prompt "Page size"
  253. depends on ADK_TARGET_ARCH_MIPS64
  254. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  255. default ADK_KERNEL_PAGE_SIZE_4KB
  256. config ADK_KERNEL_PAGE_SIZE_4KB
  257. bool "4kB"
  258. config ADK_KERNEL_PAGE_SIZE_16KB
  259. bool "16kB"
  260. config ADK_KERNEL_PAGE_SIZE_64KB
  261. bool "64kB"
  262. endchoice
  263. endmenu