Config.in 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. config ADK_KERNEL_VERSION_3_14_1
  88. prompt "3.14.1"
  89. boolean
  90. config ADK_KERNEL_VERSION_3_13_11
  91. prompt "3.13.11"
  92. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  93. boolean
  94. config ADK_KERNEL_VERSION_3_12_18
  95. prompt "3.12.18"
  96. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  97. boolean
  98. config ADK_KERNEL_VERSION_3_11_10
  99. prompt "3.11.10"
  100. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  101. boolean
  102. config ADK_KERNEL_VERSION_3_10_37
  103. prompt "3.10.37"
  104. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  105. boolean
  106. config ADK_KERNEL_VERSION_3_4_87
  107. prompt "3.4.87"
  108. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  109. depends on !ADK_TARGET_SYSTEM_CUBOX_I
  110. boolean
  111. endchoice
  112. config ADK_KERNEL_VERSION
  113. string
  114. default "3.14.1" if ADK_KERNEL_VERSION_3_14_1
  115. default "3.13.11" if ADK_KERNEL_VERSION_3_13_11
  116. default "3.12.18" if ADK_KERNEL_VERSION_3_12_18
  117. default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
  118. default "3.10.37" if ADK_KERNEL_VERSION_3_10_37
  119. default "3.4.87" if ADK_KERNEL_VERSION_3_4_87
  120. help
  121. config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
  122. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
  123. boolean
  124. select ADK_KERNEL_RD_GZIP
  125. select ADK_KERNEL_KERNEL_GZIP
  126. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  127. default y
  128. choice
  129. prompt "Kernel Compression"
  130. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  131. config ADK_KERNEL_COMP_XZ
  132. prompt "use XZ compression"
  133. boolean
  134. select ADK_KERNEL_RD_XZ
  135. select ADK_KERNEL_KERNEL_XZ
  136. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  137. config ADK_KERNEL_COMP_LZMA
  138. prompt "use LZMA compression"
  139. boolean
  140. select ADK_KERNEL_RD_LZMA
  141. select ADK_KERNEL_KERNEL_LZMA
  142. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  143. config ADK_KERNEL_COMP_LZO
  144. prompt "use LZO compression"
  145. boolean
  146. select ADK_KERNEL_RD_LZO
  147. select ADK_KERNEL_KERNEL_LZO
  148. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  149. config ADK_KERNEL_COMP_GZIP
  150. prompt "use GZIP compression"
  151. boolean
  152. select ADK_KERNEL_RD_GZIP
  153. select ADK_KERNEL_KERNEL_GZIP
  154. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  155. config ADK_KERNEL_COMP_BZIP2
  156. prompt "use BZIP2 compression"
  157. boolean
  158. select ADK_KERNEL_RD_BZIP2
  159. select ADK_KERNEL_KERNEL_BZIP2
  160. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  161. endchoice
  162. config ADK_COMPRESSION_TOOL
  163. string
  164. default "gzip -n9" if ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  165. default "bzip2" if ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  166. default "xz --check=crc32" if ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  167. default "lzma -9" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  168. default "lzop" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  169. default "gzip -n9"
  170. help
  171. source "target/linux/Config.in"
  172. endmenu
  173. source "target/config/Config.in.adk"
  174. source "toolchain/Config.in"