Config.in.kernel 4.8 KB

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