Config.in.kernel 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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_LINUX_KERNEL_EXPERIMENTAL
  4. bool
  5. default y
  6. config ADK_LINUX_KERNEL_STAGING
  7. bool
  8. config ADK_LINUX_KERNEL_CGROUP_CPUACCT
  9. bool
  10. config ADK_LINUX_KERNEL_CGROUP_DEVICE
  11. bool
  12. config ADK_LINUX_KERNEL_CGROUP_SCHED
  13. bool
  14. config ADK_LINUX_KERNEL_CGROUPS
  15. bool
  16. config ADK_LINUX_KERNEL_NAMESPACES
  17. bool
  18. config ADK_LINUX_KERNEL_UTS_NS
  19. bool
  20. config ADK_LINUX_KERNEL_FHANDLE
  21. bool
  22. config ADK_LINUX_KERNEL_AUDIT
  23. bool
  24. config ADK_LINUX_KERNEL_RESET_CONTROLLER
  25. bool
  26. config ADK_LINUX_KERNEL_BLK_DEV_INITRD
  27. bool
  28. config ADK_LINUX_KERNEL_BLK_DEV_RAM
  29. bool
  30. config ADK_LINUX_KERNEL_NETWORK_FILESYSTEMS
  31. bool
  32. config ADK_LINUX_KERNEL_IP_PNP
  33. bool
  34. config ADK_LINUX_KERNEL_IP_PNP_DHCP
  35. bool
  36. config ADK_LINUX_KERNEL_ROOT_NFS
  37. bool
  38. config ADK_LINUX_KERNEL_NFS_COMMON
  39. bool
  40. config ADK_LINUX_KERNEL_64BIT
  41. bool
  42. default y if ADK_LINUX_64
  43. # ARM specific
  44. config ADK_LINUX_KERNEL_AEABI
  45. bool
  46. default y if ADK_TARGET_ARCH_ARM
  47. config ADK_LINUX_KERNEL_ARM_THUMB
  48. bool
  49. config ADK_LINUX_KERNEL_THUMB2_KERNEL
  50. bool
  51. # endianess
  52. config ADK_LINUX_KERNEL_CPU_BIG_ENDIAN
  53. bool
  54. default y if ADK_TARGET_BIG_ENDIAN
  55. config ADK_LINUX_KERNEL_CPU_LITTLE_ENDIAN
  56. bool
  57. default y if ADK_TARGET_LITTLE_ENDIAN
  58. menu "Kernel options"
  59. config ADK_LINUX_KERNEL_MODULE_UNLOAD
  60. bool "Module unloading"
  61. config ADK_LINUX_KERNEL_HOTPLUG
  62. bool
  63. config ADK_LINUX_KERNEL_DEVTMPFS
  64. bool
  65. config ADK_LINUX_KERNEL_DEVTMPFS_MOUNT
  66. bool
  67. select ADK_LINUX_KERNEL_HOTPLUG
  68. config ADK_LINUX_KERNEL_UEVENT_HELPER
  69. bool
  70. depends on ADK_RUNTIME_DEV_MDEV
  71. default y if ADK_RUNTIME_DEV_MDEV
  72. config ADK_LINUX_KERNEL_UEVENT_HELPER_PATH
  73. string
  74. default "/sbin/mdev"
  75. depends on ADK_RUNTIME_DEV_MDEV
  76. config ADK_LINUX_KERNEL_BINFMT_ELF
  77. bool
  78. default y if ADK_TARGET_BINFMT_ELF
  79. config ADK_LINUX_KERNEL_BINFMT_ELF_FDPIC
  80. bool
  81. default y if ADK_TARGET_BINFMT_FDPIC
  82. config ADK_LINUX_KERNEL_BINFMT_FLAT
  83. bool
  84. default y if ADK_TARGET_BINFMT_FLAT
  85. config ADK_LINUX_KERNEL_BINFMT_SHARED_FLAT
  86. bool
  87. default y if ADK_TARGET_BINFMT_FLAT_SHARED
  88. config ADK_LINUX_KERNEL_MMU
  89. bool
  90. config ADK_LINUX_KERNEL_VFP
  91. bool
  92. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  93. config ADK_LINUX_KERNEL_VFPv3
  94. bool
  95. select ADK_LINUX_KERNEL_VFP
  96. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  97. config ADK_LINUX_KERNEL_NEON
  98. bool
  99. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  100. config ADK_LINUX_KERNEL_KERNEL_MODE_NEON
  101. bool
  102. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  103. config ADK_LINUX_KERNEL_MIPS_FP_SUPPORT
  104. bool
  105. default y
  106. config ADK_LINUX_KERNEL_PATCH_REALTIME
  107. bool
  108. choice
  109. prompt "preemptive mode"
  110. config ADK_LINUX_KERNEL_PREEMPT_NONE
  111. bool "No Forced Preemption (Server)"
  112. help
  113. No Forced Preemption (Server)
  114. config ADK_LINUX_KERNEL_PREEMPT_VOLUNTARY
  115. bool "Voluntary Kernel Preemption (Desktop)"
  116. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  117. help
  118. Voluntary Kernel Preemption (Desktop)
  119. config ADK_LINUX_KERNEL_PREEMPT__LL
  120. bool "Preemptible Kernel (Low-Latency Desktop)"
  121. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  122. help
  123. Preemptible Kernel (Low-Latency Desktop)
  124. config ADK_LINUX_KERNEL_PREEMPT_RTB
  125. bool "Preemptible Kernel (Basic RealTime)"
  126. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  127. select ADK_LINUX_KERNEL_PATCH_REALTIME
  128. depends on !ADK_LINUX_KERNEL_OPROFILE
  129. depends on ADK_TARGET_KERNEL_VERSION_4_4 \
  130. || ADK_TARGET_KERNEL_VERSION_4_9 \
  131. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  132. help
  133. Preemptible Kernel (Basic RT)
  134. config ADK_LINUX_KERNEL_PREEMPT_RT_FULL
  135. bool "Fully Preemptible Kernel (RealTime)"
  136. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  137. select ADK_LINUX_KERNEL_PATCH_REALTIME
  138. depends on !ADK_LINUX_KERNEL_OPROFILE
  139. depends on ADK_TARGET_KERNEL_VERSION_4_4 \
  140. || ADK_TARGET_KERNEL_VERSION_4_9 \
  141. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  142. help
  143. Fully Preemptible Kernel (RealTime)
  144. https://www.kernel.org/pub/linux/kernel/projects/rt/
  145. endchoice
  146. config ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  147. bool "Enable high resolution timers"
  148. choice
  149. prompt "tick configuration"
  150. config ADK_LINUX_KERNEL_NO_HZ_IDLE
  151. bool "no HZ IDLE, dynamic tick"
  152. config ADK_LINUX_KERNEL_NO_HZ_FULL
  153. bool "no HZ FULL, dynamic tick"
  154. config ADK_LINUX_KERNEL_HZ_PERIODIC
  155. bool "periodic tick"
  156. endchoice
  157. choice
  158. prompt "HZ"
  159. depends on ADK_LINUX_KERNEL_HZ_PERIODIC
  160. config ADK_LINUX_KERNEL_HZ_100
  161. bool "100 HZ"
  162. config ADK_LINUX_KERNEL_HZ_500
  163. bool "500 HZ"
  164. config ADK_LINUX_KERNEL_HZ_1000
  165. bool "1000 HZ"
  166. endchoice
  167. config ADK_TARGET_NO_CMDLINE
  168. bool "Do not builtin any kernel cmdline"
  169. help
  170. No kernel command line modifictaion is done.
  171. config ADK_LINUX_KERNEL_SMP
  172. bool "Enable symmetric multi processing"
  173. depends on ADK_TARGET_WITH_SMP
  174. default y if ADK_TARGET_WITH_SMP
  175. default n
  176. help
  177. Enable symmetric multi processing support.
  178. config ADK_LINUX_KERNEL_HIGHMEM
  179. bool "Enable high memory"
  180. # produces broken kernel on bcm28xx
  181. depends on !ADK_TARGET_BOARD_BCM28XX
  182. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  183. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  184. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  185. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  186. default n
  187. help
  188. Enable high memory support.
  189. config ADK_LINUX_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. !ADK_TARGET_ARCH_RISC64 && \
  194. !ADK_TARGET_ARCH_KVX
  195. default y
  196. choice
  197. prompt "Page size"
  198. depends on ADK_TARGET_ARCH_MIPS64
  199. default ADK_LINUX_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  200. default ADK_LINUX_KERNEL_PAGE_SIZE_4KB
  201. config ADK_LINUX_KERNEL_PAGE_SIZE_4KB
  202. bool "4kB"
  203. config ADK_LINUX_KERNEL_PAGE_SIZE_16KB
  204. bool "16kB"
  205. config ADK_LINUX_KERNEL_PAGE_SIZE_64KB
  206. bool "64kB"
  207. endchoice
  208. endmenu