Config.in 5.3 KB

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