Config.in 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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 ADK_DEVICE_NO_FPU
  4. bool
  5. config ADK_NATIVE
  6. tristate
  7. config ADK_alix1c
  8. tristate
  9. config ADK_qemu_x86
  10. tristate
  11. config ADK_qemu_mips
  12. tristate
  13. config ADK_qemu_mipsel
  14. tristate
  15. config ADK_qemu_mips64
  16. tristate
  17. config ADK_qemu_mips64el
  18. tristate
  19. config ADK_qemu_cris
  20. tristate
  21. config ADK_rb532
  22. tristate
  23. config ADK_rb411
  24. tristate
  25. config ADK_rb433
  26. tristate
  27. config ADK_zaurus
  28. tristate
  29. config ADK_foxboard
  30. tristate
  31. config ADK_lemote
  32. tristate
  33. config ADK_rescue_x86
  34. tristate
  35. config ADK_rescue_x86_64
  36. tristate
  37. config ADK_rescue_mips
  38. tristate
  39. config ADK_rescue_mipsel
  40. tristate
  41. config ADK_wag54g
  42. tristate
  43. config ADK_DEVICE
  44. string
  45. default "alix1c" if ADK_alix1c
  46. default "qemu-x86" if ADK_qemu_x86
  47. default "qemu-mips" if ADK_qemu_mips
  48. default "qemu-mipsel" if ADK_qemu_mipsel
  49. default "qemu-mips64" if ADK_qemu_mips64
  50. default "qemu-mips64el" if ADK_qemu_mips64el
  51. default "qemu-cris" if ADK_qemu_cris
  52. default "foxboard" if ADK_foxboard
  53. default "native" if ADK_NATIVE
  54. default "rb532" if ADK_rb532
  55. default "rb411" if ADK_rb411
  56. default "rb433" if ADK_rb433
  57. default "zaurus" if ADK_arm
  58. default "lemote" if ADK_lemote
  59. default "wag54g" if ADK_wag54g
  60. default "rescue-x86" if ADK_rescue_x86
  61. default "rescue-x86_64" if ADK_rescue_x86_64
  62. default "rescue-mips" if ADK_rescue_mips
  63. default "rescue-mipsel" if ADK_rescue_mipsel
  64. config ADK_LINUX_MIPS64
  65. bool
  66. default n
  67. menu "Target system"
  68. choice
  69. prompt "Embedded Device"
  70. default ADK_LINUX_NATIVE
  71. config ADK_LINUX_NATIVE
  72. bool "Native platform"
  73. select ADK_NATIVE
  74. help
  75. Make a native build. Use host tools.
  76. No toolchain will be created.
  77. config ADK_LINUX_X86_ALIX1C
  78. bool "PC Engines Alix1C"
  79. select ADK_alix1c
  80. select ADK_KERNEL_SCSI
  81. select ADK_KERNEL_EXT2_FS
  82. select ADK_KERNEL_NETDEVICES
  83. select ADK_KERNEL_NET_PCI
  84. select ADK_KERNEL_NETDEVICES
  85. select ADK_KERNEL_NET_ETHERNET
  86. select ADK_KERNEL_MII
  87. select BUSYBOX_HWCLOCK
  88. help
  89. http://www.pcengines.ch/
  90. config ADK_LINUX_CRIS_FOXBOARD
  91. bool "Foxboard (ETRAX LX100)"
  92. select ADK_foxboard
  93. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  94. help
  95. Foxboard support
  96. config ADK_LINUX_MIPS64_LEMOTE
  97. bool "Lemote Subnotebook"
  98. select ADK_lemote
  99. select ADK_LINUX_MIPS64
  100. help
  101. Lemote Subnotebook
  102. config ADK_LINUX_MIKROTIK
  103. bool "Mikrotik Routerboards"
  104. help
  105. Support for Mikrotik Routerboards
  106. config ADK_LINUX_MIPS_WAG54G
  107. bool "Linksys WAG54G"
  108. select ADK_KERNEL_NETDEVICES
  109. select ADK_KERNEL_NET_PCI
  110. select ADK_KERNEL_NET_ETHERNET
  111. select ADK_KERNEL_MII
  112. select ADK_wag54g
  113. help
  114. Linksys WAG54G DSL router with Wireless
  115. TI AR7 platform
  116. config ADK_LINUX_XSCALE_ZAURUS
  117. bool "Zaurus SL-C3200"
  118. depends on ADK_BROKEN
  119. select ADK_zaurus
  120. select ADK_DEVICE_NO_FPU
  121. help
  122. Support for Sharp Zaurus SL-C3200 (aka Terrier)
  123. config ADK_LINUX_RESCUE
  124. bool "Minimal Linux Rescuesystem"
  125. help
  126. Rescuesystem with can be used to Boot from Disk or USB stick.
  127. config ADK_LINUX_QEMU
  128. bool "Qemu Emulator"
  129. help
  130. Support for Qemu Emulator
  131. endchoice
  132. choice
  133. prompt "Architecture"
  134. depends on ADK_LINUX_RESCUE
  135. config ADK_LINUX_X86_64_RESCUE
  136. bool "x86_64"
  137. select ADK_rescue_x86_64
  138. help
  139. X86 architecture.
  140. config ADK_LINUX_X86_RESCUE
  141. bool "x86"
  142. select ADK_rescue_x86
  143. help
  144. X86 architecture.
  145. config ADK_LINUX_MIPSEL_RESCUE
  146. bool "mips (little endian)"
  147. select ADK_rescue_mipsel
  148. help
  149. MIPS LE architecture.
  150. config ADK_LINUX_MIPS_RESCUE
  151. bool "mips (big endian)"
  152. select ADK_rescue_mips
  153. help
  154. MIPS BE architecture.
  155. endchoice
  156. choice
  157. prompt "Architecture"
  158. depends on ADK_LINUX_QEMU
  159. config ADK_LINUX_X86_QEMU
  160. bool "x86"
  161. select ADK_qemu_x86
  162. select ADK_KPACKAGE_KMOD_NE2K_PCI
  163. select ADK_KERNEL_INPUT_KEYBOARD
  164. help
  165. Qemu support for x86 architecture.
  166. config ADK_LINUX_MIPS_QEMU
  167. bool "mips (big endian)"
  168. select ADK_qemu_mips
  169. help
  170. Qemu support for MIPS BE architecture.
  171. config ADK_LINUX_MIPSEL_QEMU
  172. bool "mipsel (little endian)"
  173. select ADK_qemu_mipsel
  174. help
  175. Qemu support for MIPS LE architecture.
  176. config ADK_LINUX_MIPS64_QEMU
  177. bool "mips64 (big endian)"
  178. select ADK_qemu_mips64
  179. select ADK_LINUX_MIPS64
  180. help
  181. Qemu support for MIPS64 BE architecture.
  182. config ADK_LINUX_MIPS64EL_QEMU
  183. bool "mips64 (little endian)"
  184. select ADK_qemu_mips64el
  185. select ADK_LINUX_MIPS64
  186. help
  187. Qemu support for MIPS64 LE architecture.
  188. config ADK_LINUX_CRIS_QEMU
  189. bool "cris"
  190. select ADK_qemu_cris
  191. help
  192. Qemu support for CRISv32 architecture.
  193. endchoice
  194. choice
  195. prompt "Routerboard model"
  196. default ADK_LINUX_MIPS_RB433
  197. depends on ADK_LINUX_MIKROTIK
  198. config ADK_LINUX_MIPS_RB411
  199. bool "Mikrotik Routerboard 411"
  200. select ADK_rb411
  201. select ADK_KERNEL_NETDEVICES
  202. select ADK_KERNEL_NET_PCI
  203. select ADK_KERNEL_NETDEV_1000
  204. select ADK_KERNEL_NET_ETHERNET
  205. help
  206. Support for Mikrotik RB411.
  207. config ADK_LINUX_MIPS_RB433
  208. bool "Mikrotik Routerboard 433"
  209. select ADK_rb433
  210. select ADK_KERNEL_NETDEVICES
  211. select ADK_KERNEL_NET_PCI
  212. select ADK_KERNEL_NETDEV_1000
  213. select ADK_KERNEL_NET_ETHERNET
  214. help
  215. Support for Mikrotik RB433.
  216. config ADK_LINUX_MIPS_RB532
  217. bool "Mikrotik Routerboard 532"
  218. select ADK_rb532
  219. select ADK_KERNEL_NETDEVICES
  220. select ADK_KERNEL_NET_PCI
  221. select ADK_KERNEL_NET_ETHERNET
  222. select ADK_KERNEL_MII
  223. help
  224. Support for Mikrotik RB532.
  225. endchoice
  226. choice
  227. prompt "Device model"
  228. default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  229. depends on ADK_LINUX_CRIS_FOXBOARD
  230. config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  231. bool "Foxboard classic (4x16)"
  232. help
  233. Foxboard classic with red board.
  234. (4 MB flash size and 16 MB RAM)
  235. config ADK_LINUX_CRIS_FOXBOARD_LX
  236. bool "Foxboard LX (8x32)"
  237. help
  238. Latest Foxboard with green board.
  239. (8 MB flash size and 32 MB RAM)
  240. endchoice
  241. source "target/linux/config/Config.in.kernel"
  242. choice
  243. prompt "Target C library"
  244. depends ! ADK_NATIVE
  245. config ADK_TARGET_LIB_UCLIBC
  246. bool "uClibc embedded C library"
  247. help
  248. http://uclibc.org
  249. config ADK_TARGET_LIB_GLIBC
  250. bool "GNU C library"
  251. depends on ADK_LINUX_X86_QEMU || \
  252. ADK_LINUX_MIPS_QEMU || \
  253. ADK_LINUX_MIPS64_QEMU || \
  254. ADK_LINUX_MIPSEL_QEMU || \
  255. ADK_LINUX_MIPS64EL_QEMU || \
  256. ADK_LINUX_X86_ALIX1C || \
  257. ADK_LINUX_MIPS_RB411 || \
  258. ADK_LINUX_MIPS_RB532 || \
  259. ADK_LINUX_RESCUE || \
  260. ADK_LINUX_MIPS64_LEMOTE
  261. help
  262. http://www.gnu.org/libc
  263. endchoice
  264. choice
  265. prompt "Target Firmware type"
  266. default ADK_TARGET_ROOTFS_EXT2_CF
  267. config ADK_TARGET_ROOTFS_INITRAMFS
  268. bool "initramfs filesystem"
  269. depends on ADK_LINUX_X86_QEMU || \
  270. ADK_LINUX_CRIS_QEMU || \
  271. ADK_LINUX_MIPS_QEMU || \
  272. ADK_LINUX_MIPSEL_QEMU || \
  273. ADK_LINUX_MIPS64_QEMU || \
  274. ADK_LINUX_MIPS64EL_QEMU || \
  275. ADK_LINUX_RESCUE || \
  276. ADK_LINUX_MIPS64_LEMOTE
  277. help
  278. create an read-only initramfs system.
  279. config ADK_TARGET_ROOTFS_SQUASHFS
  280. bool "squashfs read-only root filesystem"
  281. depends on ADK_LINUX_CRIS_FOXBOARD || \
  282. ADK_LINUX_MIPS_WAG54G
  283. help
  284. highly compressed read-only filesystem for flash.
  285. config ADK_TARGET_ROOTFS_YAFFS
  286. bool "YAFFS2 rootfilesystem (NAND)"
  287. depends on ADK_LINUX_MIPS_RB532 || \
  288. ADK_LINUX_MIPS_RB433 || \
  289. ADK_LINUX_MIPS_RB411
  290. help
  291. Root filesystem on NAND.
  292. config ADK_TARGET_ROOTFS_NFSROOT
  293. bool "NFS root"
  294. depends on ADK_LINUX_CRIS_FOXBOARD || \
  295. ADK_LINUX_X86_ALIX1C || \
  296. ADK_LINUX_MIPS_RB532 || \
  297. ADK_LINUX_MIPS_RB433 || \
  298. ADK_LINUX_MIPS_RB411 || \
  299. ADK_LINUX_MIPS_WAG54G || \
  300. ADK_LINUX_MIPS64_LEMOTE
  301. select ADK_KERNEL_NFS_FS
  302. select ADK_KERNEL_NFS_V3
  303. select ADK_KERNEL_ROOT_NFS
  304. select ADK_KERNEL_NFS_COMMON
  305. select ADK_KERNEL_IP_PNP
  306. select ADK_KERNEL_IP_PNP_DHCP
  307. help
  308. Root filesystem mounted via NFS. (DHCP)
  309. config ADK_TARGET_ROOTFS_EXT2_CF
  310. bool "read-write filesystem for compact flash (ext2)"
  311. depends on ADK_LINUX_X86_ALIX1C || ADK_LINUX_MIPS_RB532
  312. select ADK_KERNEL_EXT2_FS
  313. help
  314. Use this option if you have a compact flash
  315. inside your hardware and want to boot from it.
  316. config ADK_TARGET_ROOTFS_EXT2
  317. bool "read-write filesystem for qemu emulator"
  318. depends on ADK_LINUX_QEMU || \
  319. ADK_LINUX_XSCALE_ZAURUS
  320. select ADK_KERNEL_EXT2_FS
  321. help
  322. Use this option if you compile for qemu.
  323. endchoice
  324. config ADK_SSP
  325. bool "Enable Stack Smashing Protection"
  326. default n
  327. depends on ADK_LINUX_X86_ALIX1C || \
  328. ADK_LINUX_CRIS_FOXBOARD
  329. help
  330. Enable Stack Smashing Protection
  331. config ADK_CXX
  332. bool "Enable C++ support"
  333. default n
  334. help
  335. Enable C++ Compiler and Libraries
  336. config ADK_DEBUG
  337. bool "Enable debug support"
  338. default n
  339. help
  340. All packages and libc will be compiled and packaged with debug information.
  341. Mostly useful for NFS root or big USB/CF disk setups.
  342. config ADK_IPV6
  343. bool "Enable IPv6 support"
  344. default n
  345. select ADK_KPACKAGE_KMOD_IPV6
  346. select BUSYBOX_FEATURE_IPV6
  347. select BUSYBOX_FEATURE_IFUPDOWN_IPV6
  348. select BUSYBOX_PING6
  349. help
  350. Enable basic IPv6 support (kmod-ipv6) and
  351. make the IPv6 support options in packages visible.
  352. config ADK_X11
  353. bool "Enable X.org/X11 support"
  354. default n
  355. help
  356. Enable Xorg/X11 server and applications in menu.
  357. Try to compile other packages with X11 support.
  358. (f.e. mplayer)
  359. endmenu