Config.in 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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_ARM
  16. default y if ADK_CHOOSE_TARGET_SYSTEM_AVR32
  17. default y if ADK_CHOOSE_TARGET_SYSTEM_CRIS
  18. default y if ADK_CHOOSE_TARGET_SYSTEM_M68K
  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 "Runtime configuration"
  30. depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
  31. source "target/config/Config.in.runtime"
  32. endmenu
  33. menu "Package collection"
  34. depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
  35. source "target/packages/Config.in"
  36. endmenu
  37. menu "Package selection"
  38. depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
  39. config ADK_LEAVE_ETC_ALONE
  40. boolean "do not install anything into /etc"
  41. default n
  42. help
  43. Enabling this option will prevent the ADK from installing anything
  44. into /etc. This is useful for highly customised setups with custom
  45. base-files packages.
  46. Package Makefiles can override this setting by passing "force_etc" to
  47. the package-template. to a non-empty value. This is useful for
  48. packages traditionally installing non-config stuff into /etc, like
  49. e.g. ca-certificates.
  50. Note that without further customisation, turning this option
  51. on will almost certainly render the resulting system unusable.
  52. config ADK_INSTALL_PACKAGE_INIT_SCRIPTS
  53. boolean "ship custom init-scripts along with packages"
  54. default y
  55. depends on !ADK_LEAVE_ETC_ALONE
  56. help
  57. Turning this option to false will prevent the ADK from
  58. installing init-scripts (i.e. files in /etc/init.d) for
  59. certain daemons and daemon-like applications.
  60. Note that without further customisation, turning this option
  61. off will almost certainly render the resulting system unusable.
  62. config ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS
  63. boolean "ship custom network-scripts along with packages"
  64. default y
  65. depends on !ADK_LEAVE_ETC_ALONE
  66. help
  67. Turning this option to false will prevent the ADK from
  68. installing network-scripts (i.e. files in /etc/network/) for
  69. packages providing any.
  70. Note that without further customisation, turning this option
  71. off will almost certainly render the resulting system unusable.
  72. source "package/Config.in.auto.global"
  73. source "package/Config.in.auto"
  74. endmenu
  75. choice
  76. prompt "Kernel Version"
  77. depends on ADK_TOOLCHAIN_ONLY
  78. config ADK_KERNEL_VERSION_TOOLCHAIN
  79. prompt "3.9.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_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM && ADK_TARGET_KERNEL_CUSTOMISING
  85. choice
  86. prompt "Kernel Version"
  87. config ADK_KERNEL_VERSION_3_11_5
  88. prompt "3.11.5"
  89. boolean
  90. config ADK_KERNEL_VERSION_3_9_11
  91. prompt "3.9.11"
  92. boolean
  93. config ADK_KERNEL_VERSION_3_4_65
  94. prompt "3.4.65"
  95. boolean
  96. endchoice
  97. config ADK_KERNEL_VERSION
  98. string
  99. default "3.11.5" if ADK_KERNEL_VERSION_3_11_5
  100. default "3.9.11" if ADK_KERNEL_VERSION_3_9_11
  101. default "3.4.65" if ADK_KERNEL_VERSION_3_4_65
  102. help
  103. config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
  104. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
  105. boolean
  106. select ADK_KERNEL_RD_GZIP
  107. select ADK_KERNEL_KERNEL_GZIP
  108. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  109. default y
  110. choice
  111. prompt "Kernel Compression"
  112. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  113. config ADK_KERNEL_COMP_XZ
  114. prompt "use XZ compression"
  115. boolean
  116. select ADK_KERNEL_RD_XZ
  117. select ADK_KERNEL_KERNEL_XZ
  118. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  119. depends on !ADK_LINUX_MIPS
  120. config ADK_KERNEL_COMP_LZMA
  121. prompt "use LZMA compression"
  122. boolean
  123. select ADK_KERNEL_RD_LZMA
  124. select ADK_KERNEL_KERNEL_LZMA
  125. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  126. config ADK_KERNEL_COMP_LZO
  127. prompt "use LZO compression"
  128. boolean
  129. select ADK_KERNEL_RD_LZO
  130. select ADK_KERNEL_KERNEL_LZO
  131. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  132. config ADK_KERNEL_COMP_GZIP
  133. prompt "use GZIP compression"
  134. boolean
  135. select ADK_KERNEL_RD_GZIP
  136. select ADK_KERNEL_KERNEL_GZIP
  137. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  138. config ADK_KERNEL_COMP_BZIP2
  139. prompt "use BZIP2 compression"
  140. boolean
  141. select ADK_KERNEL_RD_BZIP2
  142. select ADK_KERNEL_KERNEL_BZIP2
  143. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  144. endchoice
  145. config ADK_COMPRESSION_TOOL
  146. string
  147. default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  148. default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  149. default "xz" if ADK_TARGET_INITRAMFS_COMPRESSION_XZ
  150. default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  151. default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  152. default "gzip -n9"
  153. help
  154. source "target/linux/Config.in"
  155. endmenu
  156. source "target/config/Config.in.adk"
  157. source "toolchain/Config.in"