Config.in.kernel 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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_PATCH_REALTIME
  104. bool
  105. choice
  106. prompt "preemptive mode"
  107. config ADK_LINUX_KERNEL_PREEMPT_NONE
  108. bool "No Forced Preemption (Server)"
  109. help
  110. No Forced Preemption (Server)
  111. config ADK_LINUX_KERNEL_PREEMPT_VOLUNTARY
  112. bool "Voluntary Kernel Preemption (Desktop)"
  113. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  114. help
  115. Voluntary Kernel Preemption (Desktop)
  116. config ADK_LINUX_KERNEL_PREEMPT__LL
  117. bool "Preemptible Kernel (Low-Latency Desktop)"
  118. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  119. help
  120. Preemptible Kernel (Low-Latency Desktop)
  121. config ADK_LINUX_KERNEL_PREEMPT_RTB
  122. bool "Preemptible Kernel (Basic RealTime)"
  123. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  124. select ADK_LINUX_KERNEL_PATCH_REALTIME
  125. depends on !ADK_LINUX_KERNEL_OPROFILE
  126. depends on ADK_TARGET_KERNEL_VERSION_4_4 \
  127. || ADK_TARGET_KERNEL_VERSION_4_9 \
  128. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  129. help
  130. Preemptible Kernel (Basic RT)
  131. config ADK_LINUX_KERNEL_PREEMPT_RT_FULL
  132. bool "Fully Preemptible Kernel (RealTime)"
  133. select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
  134. select ADK_LINUX_KERNEL_PATCH_REALTIME
  135. depends on !ADK_LINUX_KERNEL_OPROFILE
  136. depends on 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_LINUX_KERNEL_HIGH_RES_TIMERS
  144. bool "Enable high resolution timers"
  145. choice
  146. prompt "tick configuration"
  147. config ADK_LINUX_KERNEL_NO_HZ_IDLE
  148. bool "no HZ IDLE, dynamic tick"
  149. config ADK_LINUX_KERNEL_NO_HZ_FULL
  150. bool "no HZ FULL, dynamic tick"
  151. config ADK_LINUX_KERNEL_HZ_PERIODIC
  152. bool "periodic tick"
  153. endchoice
  154. choice
  155. prompt "HZ"
  156. depends on ADK_LINUX_KERNEL_HZ_PERIODIC
  157. config ADK_LINUX_KERNEL_HZ_100
  158. bool "100 HZ"
  159. config ADK_LINUX_KERNEL_HZ_500
  160. bool "500 HZ"
  161. config ADK_LINUX_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_LINUX_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_LINUX_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_MODEL_CUBOX_I4PRO
  180. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  181. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  182. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  183. default n
  184. help
  185. Enable high memory support.
  186. config ADK_LINUX_KERNEL_CC_OPTIMIZE_FOR_SIZE
  187. bool "Optimize for size"
  188. # does not boot in qemu-microblaze
  189. depends on !ADK_TARGET_ARCH_MICROBLAZE && !ADK_TARGET_ARCH_RISC64
  190. default y
  191. choice
  192. prompt "Page size"
  193. depends on ADK_TARGET_ARCH_MIPS64
  194. default ADK_LINUX_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  195. default ADK_LINUX_KERNEL_PAGE_SIZE_4KB
  196. config ADK_LINUX_KERNEL_PAGE_SIZE_4KB
  197. bool "4kB"
  198. config ADK_LINUX_KERNEL_PAGE_SIZE_16KB
  199. bool "16kB"
  200. config ADK_LINUX_KERNEL_PAGE_SIZE_64KB
  201. bool "64kB"
  202. endchoice
  203. endmenu