1
0

Config.in.kernel 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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_WALDUX_KERNEL_EXPERIMENTAL
  4. bool
  5. default y
  6. config ADK_WALDUX_KERNEL_STAGING
  7. bool
  8. config ADK_WALDUX_KERNEL_CGROUP_CPUACCT
  9. bool
  10. config ADK_WALDUX_KERNEL_CGROUP_DEVICE
  11. bool
  12. config ADK_WALDUX_KERNEL_CGROUP_SCHED
  13. bool
  14. config ADK_WALDUX_KERNEL_CGROUPS
  15. bool
  16. config ADK_WALDUX_KERNEL_NAMESPACES
  17. bool
  18. config ADK_WALDUX_KERNEL_FHANDLE
  19. bool
  20. config ADK_WALDUX_KERNEL_AUDIT
  21. bool
  22. config ADK_WALDUX_KERNEL_RESET_CONTROLLER
  23. bool
  24. config ADK_WALDUX_KERNEL_BLK_DEV_INITRD
  25. bool
  26. config ADK_WALDUX_KERNEL_BLK_DEV_RAM
  27. bool
  28. config ADK_WALDUX_KERNEL_NETWORK_FILESYSTEMS
  29. bool
  30. config ADK_WALDUX_KERNEL_IP_PNP
  31. bool
  32. config ADK_WALDUX_KERNEL_IP_PNP_DHCP
  33. bool
  34. config ADK_WALDUX_KERNEL_ROOT_NFS
  35. bool
  36. config ADK_WALDUX_KERNEL_NFS_COMMON
  37. bool
  38. config ADK_WALDUX_KERNEL_64BIT
  39. bool
  40. default y if ADK_LINUX_64
  41. # ARM specific
  42. config ADK_WALDUX_KERNEL_AEABI
  43. bool
  44. default y if ADK_TARGET_ARCH_ARM
  45. config ADK_WALDUX_KERNEL_ARM_THUMB
  46. bool
  47. config ADK_WALDUX_KERNEL_THUMB2_KERNEL
  48. bool
  49. # endianess
  50. config ADK_WALDUX_KERNEL_CPU_BIG_ENDIAN
  51. bool
  52. default y if ADK_TARGET_BIG_ENDIAN
  53. config ADK_WALDUX_KERNEL_CPU_LITTLE_ENDIAN
  54. bool
  55. default y if ADK_TARGET_LITTLE_ENDIAN
  56. menu "Kernel options"
  57. config ADK_WALDUX_KERNEL_MODULE_UNLOAD
  58. bool "Module unloading"
  59. config ADK_WALDUX_KERNEL_HOTPLUG
  60. bool
  61. config ADK_WALDUX_KERNEL_DEVTMPFS
  62. bool
  63. config ADK_WALDUX_KERNEL_DEVTMPFS_MOUNT
  64. bool
  65. select ADK_WALDUX_KERNEL_HOTPLUG
  66. config ADK_WALDUX_KERNEL_UEVENT_HELPER
  67. bool
  68. depends on ADK_RUNTIME_DEV_MDEV
  69. default y if ADK_RUNTIME_DEV_MDEV
  70. config ADK_WALDUX_KERNEL_UEVENT_HELPER_PATH
  71. string
  72. default "/sbin/mdev"
  73. depends on ADK_RUNTIME_DEV_MDEV
  74. config ADK_WALDUX_KERNEL_BINFMT_ELF
  75. bool
  76. default y if ADK_TARGET_BINFMT_ELF
  77. config ADK_WALDUX_KERNEL_BINFMT_ELF_FDPIC
  78. bool
  79. default y if ADK_TARGET_BINFMT_FDPIC
  80. config ADK_WALDUX_KERNEL_BINFMT_FLAT
  81. bool
  82. default y if ADK_TARGET_BINFMT_FLAT
  83. config ADK_WALDUX_KERNEL_BINFMT_SHARED_FLAT
  84. bool
  85. default y if ADK_TARGET_BINFMT_FLAT_SHARED
  86. config ADK_WALDUX_KERNEL_MMU
  87. bool
  88. config ADK_WALDUX_KERNEL_VFP
  89. bool
  90. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  91. config ADK_WALDUX_KERNEL_VFPv3
  92. bool
  93. select ADK_WALDUX_KERNEL_VFP
  94. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  95. config ADK_WALDUX_KERNEL_NEON
  96. bool
  97. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  98. config ADK_WALDUX_KERNEL_KERNEL_MODE_NEON
  99. bool
  100. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  101. config ADK_WALDUX_KERNEL_PATCH_REALTIME
  102. bool
  103. choice
  104. prompt "preemptive mode"
  105. config ADK_WALDUX_KERNEL_PREEMPT_NONE
  106. bool "No Forced Preemption (Server)"
  107. help
  108. No Forced Preemption (Server)
  109. config ADK_WALDUX_KERNEL_PREEMPT_VOLUNTARY
  110. bool "Voluntary Kernel Preemption (Desktop)"
  111. select ADK_WALDUX_KERNEL_HIGH_RES_TIMERS
  112. help
  113. Voluntary Kernel Preemption (Desktop)
  114. config ADK_WALDUX_KERNEL_PREEMPT__LL
  115. bool "Preemptible Kernel (Low-Latency Desktop)"
  116. select ADK_WALDUX_KERNEL_HIGH_RES_TIMERS
  117. help
  118. Preemptible Kernel (Low-Latency Desktop)
  119. config ADK_WALDUX_KERNEL_PREEMPT_RTB
  120. bool "Preemptible Kernel (Basic RealTime)"
  121. select ADK_WALDUX_KERNEL_HIGH_RES_TIMERS
  122. select ADK_WALDUX_KERNEL_PATCH_REALTIME
  123. depends on !ADK_WALDUX_KERNEL_OPROFILE
  124. depends on ADK_TARGET_KERNEL_VERSION_4_4 \
  125. || ADK_TARGET_KERNEL_VERSION_4_9 \
  126. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  127. help
  128. Preemptible Kernel (Basic RT)
  129. config ADK_WALDUX_KERNEL_PREEMPT_RT_FULL
  130. bool "Fully Preemptible Kernel (RealTime)"
  131. select ADK_WALDUX_KERNEL_HIGH_RES_TIMERS
  132. select ADK_WALDUX_KERNEL_PATCH_REALTIME
  133. depends on !ADK_WALDUX_KERNEL_OPROFILE
  134. depends on ADK_TARGET_KERNEL_VERSION_4_4 \
  135. || ADK_TARGET_KERNEL_VERSION_4_9 \
  136. || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
  137. help
  138. Fully Preemptible Kernel (RealTime)
  139. https://www.kernel.org/pub/linux/kernel/projects/rt/
  140. endchoice
  141. config ADK_WALDUX_KERNEL_HIGH_RES_TIMERS
  142. bool "Enable high resolution timers"
  143. choice
  144. prompt "tick configuration"
  145. config ADK_WALDUX_KERNEL_NO_HZ_IDLE
  146. bool "no HZ IDLE, dynamic tick"
  147. config ADK_WALDUX_KERNEL_NO_HZ_FULL
  148. bool "no HZ FULL, dynamic tick"
  149. config ADK_WALDUX_KERNEL_HZ_PERIODIC
  150. bool "periodic tick"
  151. endchoice
  152. choice
  153. prompt "HZ"
  154. depends on ADK_WALDUX_KERNEL_HZ_PERIODIC
  155. config ADK_WALDUX_KERNEL_HZ_100
  156. bool "100 HZ"
  157. config ADK_WALDUX_KERNEL_HZ_500
  158. bool "500 HZ"
  159. config ADK_WALDUX_KERNEL_HZ_1000
  160. bool "1000 HZ"
  161. endchoice
  162. config ADK_TARGET_NO_CMDLINE
  163. bool "Do not builtin any kernel cmdline"
  164. help
  165. No kernel command line modifictaion is done.
  166. config ADK_WALDUX_KERNEL_SMP
  167. bool "Enable symmetric multi processing"
  168. depends on ADK_TARGET_WITH_SMP
  169. default y if ADK_TARGET_WITH_SMP
  170. default n
  171. help
  172. Enable symmetric multi processing support.
  173. config ADK_WALDUX_KERNEL_HIGHMEM
  174. bool "Enable high memory"
  175. # produces broken kernel on bcm28xx
  176. depends on !ADK_TARGET_BOARD_BCM28XX
  177. default y if ADK_TARGET_SYSTEM_IBM_X40
  178. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  179. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  180. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  181. default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
  182. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  183. default n
  184. help
  185. Enable high memory support.
  186. config ADK_WALDUX_KERNEL_CC_OPTIMIZE_FOR_SIZE
  187. bool "Optimize for size"
  188. # does not boot in qemu-microblaze
  189. depends on !ADK_TARGET_ARCH_MICROBLAZE
  190. default y
  191. choice
  192. prompt "Page size"
  193. depends on ADK_TARGET_ARCH_MIPS64
  194. default ADK_WALDUX_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  195. default ADK_WALDUX_KERNEL_PAGE_SIZE_4KB
  196. config ADK_WALDUX_KERNEL_PAGE_SIZE_4KB
  197. bool "4kB"
  198. config ADK_WALDUX_KERNEL_PAGE_SIZE_16KB
  199. bool "16kB"
  200. config ADK_WALDUX_KERNEL_PAGE_SIZE_64KB
  201. bool "64kB"
  202. endchoice
  203. endmenu