Config.in 5.1 KB

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