Config.in.kernel 4.5 KB

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