Config.in.kernel 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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_CGROUP_CPUACCT
  9. bool
  10. config ADK_KERNEL_CGROUP_DEVICE
  11. bool
  12. config ADK_KERNEL_CGROUP_SCHED
  13. bool
  14. config ADK_KERNEL_CGROUPS
  15. bool
  16. config ADK_KERNEL_NAMESPACES
  17. bool
  18. config ADK_KERNEL_FHANDLE
  19. bool
  20. config ADK_KERNEL_AUDIT
  21. bool
  22. config ADK_KERNEL_RESET_CONTROLLER
  23. bool
  24. config ADK_KERNEL_BLK_DEV_INITRD
  25. bool
  26. config ADK_KERNEL_BLK_DEV_RAM
  27. bool
  28. config ADK_KERNEL_NETWORK_FILESYSTEMS
  29. bool
  30. config ADK_KERNEL_IP_PNP
  31. bool
  32. config ADK_KERNEL_IP_PNP_DHCP
  33. bool
  34. config ADK_KERNEL_ROOT_NFS
  35. bool
  36. config ADK_KERNEL_NFS_COMMON
  37. bool
  38. config ADK_KERNEL_64BIT
  39. bool
  40. default y if ADK_LINUX_64
  41. # ARM specific
  42. config ADK_KERNEL_AEABI
  43. bool
  44. default y if ADK_TARGET_ARCH_ARM
  45. config ADK_KERNEL_ARM_THUMB
  46. bool
  47. config ADK_KERNEL_THUMB2_KERNEL
  48. bool
  49. # endianess
  50. config ADK_KERNEL_CPU_BIG_ENDIAN
  51. bool
  52. default y if ADK_TARGET_BIG_ENDIAN
  53. config ADK_KERNEL_CPU_LITTLE_ENDIAN
  54. bool
  55. default y if ADK_TARGET_LITTLE_ENDIAN
  56. menu "Kernel options"
  57. config ADK_KERNEL_MODULE_UNLOAD
  58. bool "Module unloading"
  59. config ADK_KERNEL_HOTPLUG
  60. bool
  61. config ADK_KERNEL_DEVTMPFS
  62. bool
  63. config ADK_KERNEL_DEVTMPFS_MOUNT
  64. bool
  65. select ADK_KERNEL_HOTPLUG
  66. config ADK_KERNEL_UEVENT_HELPER
  67. bool
  68. depends on ADK_RUNTIME_DEV_MDEV
  69. default y if ADK_RUNTIME_DEV_MDEV
  70. config ADK_KERNEL_UEVENT_HELPER_PATH
  71. string
  72. default "/sbin/mdev"
  73. depends on ADK_RUNTIME_DEV_MDEV
  74. config ADK_KERNEL_BINFMT_ELF
  75. bool
  76. default y if ADK_TARGET_BINFMT_ELF
  77. config ADK_KERNEL_BINFMT_ELF_FDPIC
  78. bool
  79. default y if ADK_TARGET_BINFMT_FDPIC
  80. config ADK_KERNEL_BINFMT_FLAT
  81. bool
  82. default y if ADK_TARGET_BINFMT_FLAT
  83. config ADK_KERNEL_BINFMT_SHARED_FLAT
  84. bool
  85. default y if ADK_TARGET_BINFMT_FLAT_SHARED
  86. config ADK_KERNEL_MMU
  87. bool
  88. config ADK_KERNEL_VFP
  89. bool
  90. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  91. config ADK_KERNEL_VFPv3
  92. bool
  93. select ADK_KERNEL_VFP
  94. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  95. config ADK_KERNEL_NEON
  96. bool
  97. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  98. config ADK_KERNEL_KERNEL_MODE_NEON
  99. bool
  100. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  101. config ADK_KERNEL_PATCH_REALTIME
  102. bool
  103. choice
  104. prompt "preemptive mode"
  105. config ADK_KERNEL_PREEMPT_NONE
  106. bool "No Forced Preemption (Server)"
  107. help
  108. No Forced Preemption (Server)
  109. config ADK_KERNEL_PREEMPT_VOLUNTARY
  110. bool "Voluntary Kernel Preemption (Desktop)"
  111. select ADK_KERNEL_HIGH_RES_TIMERS
  112. help
  113. Voluntary Kernel Preemption (Desktop)
  114. config ADK_KERNEL_PREEMPT__LL
  115. bool "Preemptible Kernel (Low-Latency Desktop)"
  116. select ADK_KERNEL_HIGH_RES_TIMERS
  117. help
  118. Preemptible Kernel (Low-Latency Desktop)
  119. config ADK_KERNEL_PREEMPT_RTB
  120. bool "Preemptible Kernel (Basic RealTime)"
  121. select ADK_KERNEL_HIGH_RES_TIMERS
  122. select ADK_KERNEL_PATCH_REALTIME
  123. depends on !ADK_KERNEL_OPROFILE
  124. depends on ADK_TARGET_KERNEL_VERSION_4_1 \
  125. || ADK_TARGET_KERNEL_VERSION_4_4 \
  126. || ADK_TARGET_KERNEL_VERSION_4_9 \
  127. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  128. help
  129. Preemptible Kernel (Basic RT)
  130. config ADK_KERNEL_PREEMPT_RT_FULL
  131. bool "Fully Preemptible Kernel (RealTime)"
  132. select ADK_KERNEL_HIGH_RES_TIMERS
  133. select ADK_KERNEL_PATCH_REALTIME
  134. depends on !ADK_KERNEL_OPROFILE
  135. depends on ADK_TARGET_KERNEL_VERSION_4_1 \
  136. || ADK_TARGET_KERNEL_VERSION_4_4 \
  137. || ADK_TARGET_KERNEL_VERSION_4_9 \
  138. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  139. help
  140. Fully Preemptible Kernel (RealTime)
  141. https://www.kernel.org/pub/linux/kernel/projects/rt/
  142. endchoice
  143. config ADK_KERNEL_HIGH_RES_TIMERS
  144. bool "Enable high resolution timers"
  145. choice
  146. prompt "tick configuration"
  147. config ADK_KERNEL_NO_HZ_IDLE
  148. bool "no HZ IDLE, dynamic tick"
  149. config ADK_KERNEL_NO_HZ_FULL
  150. bool "no HZ FULL, dynamic tick"
  151. config ADK_KERNEL_HZ_PERIODIC
  152. bool "periodic tick"
  153. endchoice
  154. choice
  155. prompt "HZ"
  156. depends on ADK_KERNEL_HZ_PERIODIC
  157. config ADK_KERNEL_HZ_100
  158. bool "100 HZ"
  159. config ADK_KERNEL_HZ_500
  160. bool "500 HZ"
  161. config ADK_KERNEL_HZ_1000
  162. bool "1000 HZ"
  163. endchoice
  164. config ADK_TARGET_NO_CMDLINE
  165. bool "Do not builtin any kernel cmdline"
  166. help
  167. No kernel command line modifictaion is done.
  168. config ADK_KERNEL_SMP
  169. bool "Enable symmetric multi processing"
  170. depends on ADK_TARGET_WITH_SMP
  171. default y if ADK_TARGET_WITH_SMP
  172. default n
  173. help
  174. Enable symmetric multi processing support.
  175. config ADK_KERNEL_HIGHMEM
  176. bool "Enable high memory"
  177. # produces broken kernel on bcm28xx
  178. depends on !ADK_TARGET_BOARD_BCM28XX
  179. default y if ADK_TARGET_SYSTEM_IBM_X40
  180. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  181. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  182. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  183. default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
  184. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  185. default n
  186. help
  187. Enable high memory support.
  188. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  189. bool "Optimize for size"
  190. # does not boot in qemu-microblaze
  191. depends on !ADK_TARGET_ARCH_MICROBLAZE
  192. default y
  193. choice
  194. prompt "Page size"
  195. depends on ADK_TARGET_ARCH_MIPS64
  196. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  197. default ADK_KERNEL_PAGE_SIZE_4KB
  198. config ADK_KERNEL_PAGE_SIZE_4KB
  199. bool "4kB"
  200. config ADK_KERNEL_PAGE_SIZE_16KB
  201. bool "16kB"
  202. config ADK_KERNEL_PAGE_SIZE_64KB
  203. bool "64kB"
  204. endchoice
  205. endmenu