Config.in.kernel 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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
  67. config ADK_KERNEL_BINFMT_SHARED_FLAT
  68. bool
  69. default y if ADK_TARGET_BINFMT_FLAT_SHARED
  70. config ADK_KERNEL_MMU
  71. bool
  72. config ADK_KERNEL_VFP
  73. bool
  74. default y if ADK_TARGET_CPU_WITH_FPU_VFP
  75. config ADK_KERNEL_VFPv3
  76. bool
  77. select ADK_KERNEL_VFP
  78. default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
  79. config ADK_KERNEL_NEON
  80. bool
  81. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  82. config ADK_KERNEL_KERNEL_MODE_NEON
  83. bool
  84. default y if ADK_TARGET_ARCH_ARM_WITH_NEON
  85. config ADK_KERNEL_PATCH_REALTIME
  86. bool
  87. choice
  88. prompt "preemptive mode"
  89. config ADK_KERNEL_PREEMPT_NONE
  90. bool "No Forced Preemption (Server)"
  91. help
  92. No Forced Preemption (Server)
  93. config ADK_KERNEL_PREEMPT_VOLUNTARY
  94. bool "Voluntary Kernel Preemption (Desktop)"
  95. select ADK_KERNEL_HIGH_RES_TIMERS
  96. help
  97. Voluntary Kernel Preemption (Desktop)
  98. config ADK_KERNEL_PREEMPT__LL
  99. bool "Preemptible Kernel (Low-Latency Desktop)"
  100. select ADK_KERNEL_HIGH_RES_TIMERS
  101. help
  102. Preemptible Kernel (Low-Latency Desktop)
  103. config ADK_KERNEL_PREEMPT_RTB
  104. bool "Preemptible Kernel (Basic RealTime)"
  105. select ADK_KERNEL_HIGH_RES_TIMERS
  106. select ADK_KERNEL_PATCH_REALTIME
  107. depends on !ADK_KERNEL_OPROFILE
  108. depends on ADK_TARGET_KERNEL_VERSION_4_1 \
  109. || ADK_TARGET_KERNEL_VERSION_4_4
  110. help
  111. Preemptible Kernel (Basic RT)
  112. config ADK_KERNEL_PREEMPT_RT_FULL
  113. bool "Fully Preemptible Kernel (RealTime)"
  114. select ADK_KERNEL_HIGH_RES_TIMERS
  115. select ADK_KERNEL_PATCH_REALTIME
  116. depends on !ADK_KERNEL_OPROFILE
  117. depends on ADK_TARGET_KERNEL_VERSION_4_1 \
  118. || ADK_TARGET_KERNEL_VERSION_4_4
  119. help
  120. Fully Preemptible Kernel (RealTime)
  121. https://www.kernel.org/pub/linux/kernel/projects/rt/
  122. endchoice
  123. config ADK_KERNEL_HIGH_RES_TIMERS
  124. bool "Enable high resolution timers"
  125. choice
  126. prompt "tick configuration"
  127. config ADK_KERNEL_NO_HZ_IDLE
  128. bool "no HZ IDLE, dynamic tick"
  129. config ADK_KERNEL_NO_HZ_FULL
  130. bool "no HZ FULL, dynamic tick"
  131. config ADK_KERNEL_HZ_PERIODIC
  132. bool "periodic tick"
  133. endchoice
  134. choice
  135. prompt "HZ"
  136. depends on ADK_KERNEL_HZ_PERIODIC
  137. config ADK_KERNEL_HZ_100
  138. bool "100 HZ"
  139. config ADK_KERNEL_HZ_500
  140. bool "500 HZ"
  141. config ADK_KERNEL_HZ_1000
  142. bool "1000 HZ"
  143. endchoice
  144. config ADK_TARGET_NO_CMDLINE
  145. bool "Do not builtin any kernel cmdline"
  146. help
  147. No kernel command line modifictaion is done.
  148. config ADK_KERNEL_SMP
  149. bool "Enable symmetric multi processing"
  150. depends on ADK_TARGET_WITH_SMP
  151. default y if ADK_TARGET_WITH_SMP
  152. default n
  153. help
  154. Enable symmetric multi processing support.
  155. config ADK_KERNEL_HIGHMEM
  156. bool "Enable high memory"
  157. # produces broken kernel on bcm28xx
  158. depends on !ADK_TARGET_BOARD_BCM28XX
  159. default y if ADK_TARGET_SYSTEM_IBM_X40
  160. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  161. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  162. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  163. default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
  164. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  165. default n
  166. help
  167. Enable high memory support.
  168. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  169. bool "Optimize for size"
  170. # does not boot in qemu-microblaze
  171. depends on !ADK_TARGET_ARCH_MICROBLAZE
  172. default y
  173. choice
  174. prompt "Page size"
  175. depends on ADK_TARGET_ARCH_MIPS64
  176. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  177. default ADK_KERNEL_PAGE_SIZE_4KB
  178. config ADK_KERNEL_PAGE_SIZE_4KB
  179. bool "4kB"
  180. config ADK_KERNEL_PAGE_SIZE_16KB
  181. bool "16kB"
  182. config ADK_KERNEL_PAGE_SIZE_64KB
  183. bool "64kB"
  184. endchoice
  185. endmenu