Config.in 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. 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_11_10
  89. prompt "3.11.10"
  90. boolean
  91. config ADK_KERNEL_VERSION_3_4_71
  92. prompt "3.4.71"
  93. boolean
  94. endchoice
  95. config ADK_KERNEL_VERSION
  96. string
  97. default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
  98. default "3.4.71" if ADK_KERNEL_VERSION_3_4_71
  99. help
  100. config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
  101. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
  102. boolean
  103. select ADK_KERNEL_RD_GZIP
  104. select ADK_KERNEL_KERNEL_GZIP
  105. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  106. default y
  107. choice
  108. prompt "Kernel Compression"
  109. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  110. config ADK_KERNEL_COMP_XZ
  111. prompt "use XZ compression"
  112. boolean
  113. select ADK_KERNEL_RD_XZ
  114. select ADK_KERNEL_KERNEL_XZ
  115. select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  116. depends on !ADK_LINUX_MIPS
  117. config ADK_KERNEL_COMP_LZMA
  118. prompt "use LZMA compression"
  119. boolean
  120. select ADK_KERNEL_RD_LZMA
  121. select ADK_KERNEL_KERNEL_LZMA
  122. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  123. config ADK_KERNEL_COMP_LZO
  124. prompt "use LZO compression"
  125. boolean
  126. select ADK_KERNEL_RD_LZO
  127. select ADK_KERNEL_KERNEL_LZO
  128. select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  129. config ADK_KERNEL_COMP_GZIP
  130. prompt "use GZIP compression"
  131. boolean
  132. select ADK_KERNEL_RD_GZIP
  133. select ADK_KERNEL_KERNEL_GZIP
  134. select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  135. config ADK_KERNEL_COMP_BZIP2
  136. prompt "use BZIP2 compression"
  137. boolean
  138. select ADK_KERNEL_RD_BZIP2
  139. select ADK_KERNEL_KERNEL_BZIP2
  140. select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  141. endchoice
  142. config ADK_COMPRESSION_TOOL
  143. string
  144. default "gzip -n9" if ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
  145. default "bzip2" if ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
  146. default "xz --check=crc32" if ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
  147. default "lzma -9" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
  148. default "lzop" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
  149. default "gzip -n9"
  150. help
  151. source "target/linux/Config.in"
  152. endmenu
  153. source "target/config/Config.in.adk"
  154. source "toolchain/Config.in"