Config.in.kernel 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. 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_TARGET_KERNEL_VERSION_4_1 \
  117. || ADK_TARGET_KERNEL_VERSION_4_4
  118. help
  119. Fully Preemptible Kernel (RealTime)
  120. https://www.kernel.org/pub/linux/kernel/projects/rt/
  121. endchoice
  122. config ADK_KERNEL_HIGH_RES_TIMERS
  123. bool "Enable high resolution timers"
  124. choice
  125. prompt "tick configuration"
  126. config ADK_KERNEL_NO_HZ_IDLE
  127. bool "no HZ IDLE, dynamic tick"
  128. config ADK_KERNEL_NO_HZ_FULL
  129. bool "no HZ FULL, dynamic tick"
  130. config ADK_KERNEL_HZ_PERIODIC
  131. bool "periodic tick"
  132. endchoice
  133. choice
  134. prompt "HZ"
  135. depends on ADK_KERNEL_HZ_PERIODIC
  136. config ADK_KERNEL_HZ_100
  137. bool "100 HZ"
  138. config ADK_KERNEL_HZ_500
  139. bool "500 HZ"
  140. config ADK_KERNEL_HZ_1000
  141. bool "1000 HZ"
  142. endchoice
  143. config ADK_TARGET_NO_CMDLINE
  144. bool "Do not builtin any kernel cmdline"
  145. help
  146. No kernel command line modifictaion is done.
  147. config ADK_KERNEL_SMP
  148. bool "Enable symmetric multi processing"
  149. depends on ADK_TARGET_WITH_SMP
  150. default y if ADK_TARGET_WITH_SMP
  151. default n
  152. help
  153. Enable symmetric multi processing support.
  154. config ADK_KERNEL_HIGHMEM
  155. bool "Enable high memory"
  156. # produces broken kernel on bcm28xx
  157. depends on !ADK_TARGET_BOARD_BCM28XX
  158. default y if ADK_TARGET_SYSTEM_IBM_X40
  159. default y if ADK_TARGET_MODEL_CUBOX_I4PRO
  160. default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
  161. default y if ADK_TARGET_MODEL_CUBOX_I2EX
  162. default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
  163. default n
  164. help
  165. Enable high memory support.
  166. config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
  167. bool "Optimize for size"
  168. # does not boot in qemu-microblaze
  169. depends on !ADK_TARGET_ARCH_MICROBLAZE
  170. default y
  171. choice
  172. prompt "Page size"
  173. depends on ADK_TARGET_ARCH_MIPS64
  174. default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  175. default ADK_KERNEL_PAGE_SIZE_4KB
  176. config ADK_KERNEL_PAGE_SIZE_4KB
  177. bool "4kB"
  178. config ADK_KERNEL_PAGE_SIZE_16KB
  179. bool "16kB"
  180. config ADK_KERNEL_PAGE_SIZE_64KB
  181. bool "64kB"
  182. endchoice
  183. endmenu