Config.in 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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. mainmenu "OpenADK Configuration"
  7. config MODULES
  8. bool
  9. default y
  10. config ADK_HAVE_DOT_CONFIG
  11. bool
  12. default y
  13. menu "ADK settings"
  14. config ADK_VENDOR
  15. string "vendor name"
  16. default "openadk"
  17. help
  18. Vendor string is used for toolchain.
  19. config ADK_HOST
  20. string "webserver for packages and distfiles"
  21. default "www.openadk.org"
  22. help
  23. Configure host for IPKG package management.
  24. config ADK_DEVELSYSTEM
  25. bool "Compile a ADK development system"
  26. default n
  27. select ADK_PACKAGE_BASH
  28. select ADK_PACKAGE_BINUTILS
  29. select ADK_PACKAGE_BZIP2
  30. select ADK_PACKAGE_DIFFUTILS
  31. select ADK_PACKAGE_FILE
  32. select ADK_PACKAGE_GAWK
  33. select ADK_PACKAGE_GCC
  34. select ADK_PACKAGE_GIT
  35. select ADK_PACKAGE_GREP
  36. select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC
  37. select ADK_PACKAGE_EGLIBC_DEV if ADK_TARGET_LIB_EGLIBC
  38. select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC
  39. select ADK_PACKAGE_LIBNCURSES
  40. select ADK_PACKAGE_LIBNCURSES_DEV
  41. select ADK_PACKAGE_M4
  42. select ADK_PACKAGE_MAKE
  43. select ADK_PACKAGE_MKSH
  44. select ADK_PACKAGE_PATCH
  45. select ADK_PACKAGE_PKG_CONFIG
  46. select ADK_PACKAGE_MICROPERL
  47. select ADK_PACKAGE_TAR
  48. select ADK_PACKAGE_TSORT
  49. select ADK_PACKAGE_ZLIB
  50. select ADK_PACKAGE_ZLIB_DEV
  51. select ADK_PACKAGE_XZ
  52. help
  53. After bootstrapping a Linux system you might want to
  54. switch to native builds with your target.
  55. If you choose this option, all necessary software needed
  56. for native building will be selected.
  57. config ADK_DEBUG
  58. bool "Enable debug support"
  59. default n
  60. help
  61. All packages and libc will be compiled and packaged with debug information.
  62. Mostly useful for NFS root or big USB/CF or hard disk setups.
  63. config ADK_STATIC
  64. bool "Link applications statically by default"
  65. default n
  66. help
  67. Useful for toolchain only target devices.
  68. config ADK_MAKE_JOBS
  69. int
  70. default 1 if ! ADK_MAKE_PARALLEL
  71. config ADK_MAKE_PARALLEL
  72. prompt "Enable parallel building of packages that claim to support it"
  73. boolean
  74. default n
  75. config ADK_MAKE_JOBS
  76. prompt "How many jobs to use"
  77. int
  78. default 2
  79. depends on ADK_MAKE_PARALLEL
  80. help
  81. The number specified here will be passed to make as N in '-jN'
  82. config ADK_FORCE_PARALLEL
  83. prompt "Force parallel building of all packages (DANGEROUS)"
  84. bool
  85. default n
  86. depends on ADK_MAKE_PARALLEL
  87. help
  88. Do not enable this! It's for testing purposes only.
  89. config ADK_TARGET_IP
  90. prompt "Set target ip address for make check"
  91. string
  92. default "127.0.0.1"
  93. help
  94. choice
  95. prompt "Hostsystem (do not change!)"
  96. config ADK_HOST_LINUX
  97. prompt "Linux"
  98. boolean
  99. config ADK_HOST_FREEBSD
  100. prompt "FreeBSD"
  101. boolean
  102. config ADK_HOST_MIRBSD
  103. prompt "MirBSD"
  104. boolean
  105. config ADK_HOST_OPENBSD
  106. prompt "OpenBSD"
  107. boolean
  108. config ADK_HOST_NETBSD
  109. prompt "NetBSD"
  110. boolean
  111. config ADK_HOST_DARWIN
  112. prompt "Darwin"
  113. boolean
  114. config ADK_HOST_CYGWIN
  115. prompt "Cygwin"
  116. boolean
  117. endchoice
  118. choice
  119. prompt "Hardware profile (autodetection on OpenADK systems)"
  120. config ADK_HARDWARE_NOPROFILE
  121. bool "no profile"
  122. config ADK_HARDWARE_IBMX40
  123. bool "IBM X40 laptop"
  124. select ADK_TARGET_WITH_USB
  125. select ADK_TARGET_WITH_VGA
  126. select ADK_TARGET_WITH_INPUT
  127. select ADK_TARGET_WITH_RTC
  128. select ADK_TARGET_WITH_HDD
  129. select ADK_KERNEL_NLS
  130. select ADK_KERNEL_EXT2_FS
  131. select ADK_KERNEL_SCSI
  132. select ADK_KERNEL_ATA
  133. select ADK_KERNEL_BLK_DEV_SD
  134. select ADK_KERNEL_INPUT_KEYBOARD
  135. select ADK_KERNEL_NETDEVICES
  136. select ADK_KERNEL_NET_PCI
  137. select ADK_KERNEL_NET_ETHERNET
  138. select ADK_KERNEL_MII
  139. select ADK_KERNEL_SWAP
  140. select ADK_KPACKAGE_KMOD_MAC80211
  141. select ADK_KPACKAGE_KMOD_ATH5K
  142. select ADK_KERNEL_MAC80211_LEDS
  143. select ADK_KERNEL_ATH_COMMON
  144. select ADK_KPACKAGE_KMOD_SND
  145. select ADK_KPACKAGE_KMOD_SND_OSSEMUL
  146. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  147. select ADK_KPACKAGE_KMOD_USB
  148. select ADK_KPACKAGE_KMOD_USB_EHCI_HCD
  149. select ADK_KPACKAGE_KMOD_USB_OHCI_HCD
  150. help
  151. Hardware profile for IBM X40 laptop's.
  152. config ADK_HARDWARE_YEELONG
  153. bool "Yeelong laptop"
  154. select ADK_TARGET_WITH_USB
  155. select ADK_TARGET_WITH_VGA
  156. select ADK_TARGET_WITH_INPUT
  157. select ADK_TARGET_WITH_RTC
  158. select ADK_TARGET_WITH_HDD
  159. select ADK_KERNEL_NLS
  160. select ADK_KERNEL_EXT2_FS
  161. select ADK_KERNEL_SCSI
  162. select ADK_KERNEL_ATA
  163. select ADK_KERNEL_BLK_DEV_SD
  164. select ADK_KERNEL_INPUT_KEYBOARD
  165. select ADK_KERNEL_NETDEVICES
  166. select ADK_KERNEL_NET_PCI
  167. select ADK_KERNEL_NET_ETHERNET
  168. select ADK_KERNEL_MII
  169. select ADK_KERNEL_SWAP
  170. select ADK_KPACKAGE_KMOD_MAC80211
  171. select ADK_KPACKAGE_KMOD_EEPROM_93CX6
  172. select ADK_KPACKAGE_KMOD_RTL8187
  173. select ADK_KPACKAGE_KMOD_SND
  174. select ADK_KPACKAGE_KMOD_SND_CS5535AUDIO
  175. select ADK_KPACKAGE_KMOD_SND_OSSEMUL
  176. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  177. select ADK_KPACKAGE_KMOD_USB
  178. select ADK_KPACKAGE_KMOD_USB_EHCI_HCD
  179. select ADK_KPACKAGE_KMOD_USB_OHCI_HCD
  180. help
  181. Hardware profile for Lemotes Yeelong laptop.
  182. Selects drivers for wireless card, usb controller and sound card.
  183. endchoice
  184. endmenu
  185. source "target/Config.in"
  186. menu "Runtime configuration"
  187. config ADK_RUNTIME_HOSTNAME
  188. string "hostname for the embedded system"
  189. default "linux"
  190. help
  191. Set your target hostname.
  192. config ADK_RUNTIME_SSH_PUBKEY
  193. string "SSH public key (root user only)"
  194. default ""
  195. help
  196. Paste your generated SSH public key here and it will be embedded into
  197. the built image, so you can use it to login instantly.
  198. config ADK_RUNTIME_PASSWORD
  199. string "root password for the embedded system"
  200. default "linux123"
  201. help
  202. Predefine the root password enabled in the built image.
  203. config ADK_RUNTIME_TIMEZONE
  204. string "timezone for the embedded system"
  205. default "Europe/Berlin"
  206. help
  207. endmenu
  208. menu "Package selection"
  209. source "package/Config.in.auto.global"
  210. source "package/Config.in.auto"
  211. endmenu
  212. menu "Kernel configuration"
  213. source "target/linux/Config.in"
  214. endmenu