Config.in 9.1 KB

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