Config.in 5.7 KB

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