Config.in.kernel 4.8 KB

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