Config.in 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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 ADKVERSION
  4. string
  5. option env="ADKVERSION"
  6. config MODULES
  7. bool
  8. default y
  9. config ADK_HAVE_DOT_CONFIG
  10. bool
  11. default y
  12. mainmenu "OpenADK Configuration"
  13. config ADK_CHOOSE_TARGET_SYSTEM
  14. boolean
  15. default y if ADK_CHOOSE_TARGET_SYSTEM_AARCH64
  16. default y if ADK_CHOOSE_TARGET_SYSTEM_ARM
  17. default y if ADK_CHOOSE_TARGET_SYSTEM_M68K
  18. default y if ADK_CHOOSE_TARGET_SYSTEM_MICROBLAZE
  19. default y if ADK_CHOOSE_TARGET_SYSTEM_MIPS
  20. default y if ADK_CHOOSE_TARGET_SYSTEM_PPC
  21. default y if ADK_CHOOSE_TARGET_SYSTEM_PPC64
  22. default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC
  23. default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC64
  24. default y if ADK_CHOOSE_TARGET_SYSTEM_SH
  25. default y if ADK_CHOOSE_TARGET_SYSTEM_X86
  26. default y if ADK_CHOOSE_TARGET_SYSTEM_X86_64
  27. default n
  28. source "target/config/Config.in"
  29. menu "Package collection"
  30. depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
  31. source "target/packages/Config.in"
  32. endmenu
  33. menu "Package selection"
  34. depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
  35. config ADK_LEAVE_ETC_ALONE
  36. boolean "do not install anything into /etc"
  37. default n
  38. help
  39. Enabling this option will prevent the ADK from installing anything
  40. into /etc. This is useful for highly customised setups with custom
  41. base-files packages.
  42. Package Makefiles can override this setting by passing "force_etc" to
  43. the package-template. to a non-empty value. This is useful for
  44. packages traditionally installing non-config stuff into /etc, like
  45. e.g. ca-certificates.
  46. Note that without further customisation, turning this option
  47. on will almost certainly render the resulting system unusable.
  48. config ADK_INSTALL_PACKAGE_INIT_SCRIPTS
  49. boolean "ship custom init-scripts along with packages"
  50. default y
  51. depends on !ADK_LEAVE_ETC_ALONE
  52. help
  53. Turning this option to false will prevent the ADK from
  54. installing init-scripts (i.e. files in /etc/init.d) for
  55. certain daemons and daemon-like applications.
  56. Note that without further customisation, turning this option
  57. off will almost certainly render the resulting system unusable.
  58. config ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS
  59. boolean "ship custom network-scripts along with packages"
  60. default y
  61. depends on !ADK_LEAVE_ETC_ALONE
  62. help
  63. Turning this option to false will prevent the ADK from
  64. installing network-scripts (i.e. files in /etc/network/) for
  65. packages providing any.
  66. Note that without further customisation, turning this option
  67. off will almost certainly render the resulting system unusable.
  68. source "package/Config.in.auto.global"
  69. source "package/Config.in.auto"
  70. endmenu
  71. menu "Runtime configuration"
  72. depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
  73. source "target/config/Config.in.runtime"
  74. endmenu
  75. choice
  76. prompt "Kernel Version"
  77. depends on ADK_TOOLCHAIN_ONLY
  78. config ADK_KERNEL_VERSION_TOOLCHAIN
  79. prompt "3.13.11"
  80. boolean
  81. depends on ADK_TOOLCHAIN_ONLY
  82. endchoice
  83. menu "Kernel configuration"
  84. depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM && ADK_TARGET_KERNEL_CUSTOMISING
  85. choice
  86. prompt "Kernel Version"
  87. default ADK_KERNEL_VERSION_3_13_11
  88. config ADK_KERNEL_VERSION_3_14_1
  89. prompt "3.14.1"
  90. boolean
  91. config ADK_KERNEL_VERSION_3_13_11
  92. prompt "3.13.11"
  93. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  94. boolean
  95. config ADK_KERNEL_VERSION_3_12_18
  96. prompt "3.12.18"
  97. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  98. boolean
  99. config ADK_KERNEL_VERSION_3_11_10
  100. prompt "3.11.10"
  101. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  102. boolean
  103. config ADK_KERNEL_VERSION_3_10_37
  104. prompt "3.10.37"
  105. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  106. boolean
  107. config ADK_KERNEL_VERSION_3_4_87
  108. prompt "3.4.87"
  109. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  110. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  111. boolean
  112. endchoice
  113. config ADK_KERNEL_VERSION
  114. string
  115. default "3.14.1" if ADK_KERNEL_VERSION_3_14_1
  116. default "3.13.11" if ADK_KERNEL_VERSION_3_13_11
  117. default "3.12.18" if ADK_KERNEL_VERSION_3_12_18
  118. default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
  119. default "3.10.37" if ADK_KERNEL_VERSION_3_10_37
  120. default "3.4.87" if ADK_KERNEL_VERSION_3_4_87
  121. help
  122. config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
  123. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
  124. boolean
  125. select ADK_KERNEL_RD_GZIP
  126. select ADK_KERNEL_KERNEL_GZIP
  127. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  128. default y
  129. choice
  130. prompt "Kernel Compression"
  131. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  132. config ADK_KERNEL_COMP_XZ
  133. prompt "use XZ compression"
  134. boolean
  135. select ADK_KERNEL_RD_XZ
  136. select ADK_KERNEL_KERNEL_XZ
  137. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  138. config ADK_KERNEL_COMP_LZMA
  139. prompt "use LZMA compression"
  140. boolean
  141. select ADK_KERNEL_RD_LZMA
  142. select ADK_KERNEL_KERNEL_LZMA
  143. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  144. config ADK_KERNEL_COMP_LZO
  145. prompt "use LZO compression"
  146. boolean
  147. select ADK_KERNEL_RD_LZO
  148. select ADK_KERNEL_KERNEL_LZO
  149. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  150. config ADK_KERNEL_COMP_GZIP
  151. prompt "use GZIP compression"
  152. boolean
  153. select ADK_KERNEL_RD_GZIP
  154. select ADK_KERNEL_KERNEL_GZIP
  155. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  156. config ADK_KERNEL_COMP_BZIP2
  157. prompt "use BZIP2 compression"
  158. boolean
  159. select ADK_KERNEL_RD_BZIP2
  160. select ADK_KERNEL_KERNEL_BZIP2
  161. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  162. endchoice
  163. config ADK_COMPRESSION_TOOL
  164. string
  165. default "gzip -n9" if ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  166. default "bzip2" if ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  167. default "xz --check=crc32" if ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  168. default "lzma -9" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  169. default "lzop" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  170. default "gzip -n9"
  171. help
  172. source "target/linux/Config.in"
  173. endmenu
  174. source "target/config/Config.in.adk"
  175. source "toolchain/Config.in"