1
0

Config.in 5.4 KB

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