Config.in 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047
  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_TARGET_WITH_USB
  7. bool
  8. config ADK_TARGET_WITH_PCI
  9. bool
  10. config ADK_TARGET_WITH_MINIPCI
  11. bool
  12. config ADK_TARGET_WITH_VGA
  13. bool
  14. config ADK_TARGET_WITH_INPUT
  15. bool
  16. config ADK_TARGET_WITH_LEDS
  17. bool
  18. config ADK_TARGET_WITH_PP
  19. bool
  20. config ADK_TARGET_WITH_CARDBUS
  21. bool
  22. config ADK_TARGET_WITH_WATCHDOG
  23. bool
  24. config ADK_TOOLCHAIN_ONLY
  25. bool
  26. config ADK_TARGET_NO_FPU
  27. bool
  28. config ADK_EABI
  29. bool
  30. config ADK_LINUX_64
  31. bool
  32. config ADK_NATIVE
  33. tristate
  34. config ADK_alix1c
  35. tristate
  36. config ADK_alix2d
  37. tristate
  38. config ADK_alix2d13
  39. tristate
  40. config ADK_wrap
  41. tristate
  42. config ADK_arm_toolchain
  43. tristate
  44. config ADK_armel_toolchain
  45. tristate
  46. config ADK_mips_toolchain
  47. tristate
  48. config ADK_mipsel_toolchain
  49. tristate
  50. config ADK_ppc_toolchain
  51. tristate
  52. config ADK_sparc_toolchain
  53. tristate
  54. config ADK_x86_toolchain
  55. tristate
  56. config ADK_x86_64_toolchain
  57. tristate
  58. config ADK_arm_qemu
  59. tristate
  60. config ADK_mips_qemu
  61. tristate
  62. config ADK_mipsel_qemu
  63. tristate
  64. config ADK_mips64_qemu
  65. tristate
  66. config ADK_mips64el_qemu
  67. tristate
  68. config ADK_cris_qemu
  69. tristate
  70. config ADK_x86_qemu
  71. tristate
  72. config ADK_x86_64_qemu
  73. tristate
  74. config ADK_rb532
  75. tristate
  76. config ADK_rb411
  77. tristate
  78. config ADK_rb433
  79. tristate
  80. config ADK_zaurus
  81. tristate
  82. config ADK_foxboard
  83. tristate
  84. config ADK_lemote
  85. tristate
  86. config ADK_x86_rescue
  87. tristate
  88. config ADK_x86_64_rescue
  89. tristate
  90. config ADK_mips_rescue
  91. tristate
  92. config ADK_mipsel_rescue
  93. tristate
  94. config ADK_ag241
  95. tristate
  96. config ADK_wag54g
  97. tristate
  98. config ADK_shuttle
  99. tristate
  100. config ADK_TARGET
  101. string
  102. default "alix1c" if ADK_alix1c
  103. default "alix2d" if ADK_alix2d
  104. default "alix2d13" if ADK_alix2d13
  105. default "wrap" if ADK_wrap
  106. default "toolchain-arm" if ADK_arm_toolchain
  107. default "toolchain-armel" if ADK_armel_toolchain
  108. default "toolchain-mips" if ADK_mips_toolchain
  109. default "toolchain-mipsel" if ADK_mipsel_toolchain
  110. default "toolchain-ppc" if ADK_ppc_toolchain
  111. default "toolchain-sparc" if ADK_sparc_toolchain
  112. default "toolchain-x86" if ADK_x86_toolchain
  113. default "toolchain-x86_64" if ADK_x86_64_toolchain
  114. default "qemu-arm" if ADK_arm_qemu
  115. default "qemu-cris" if ADK_cris_qemu
  116. default "qemu-mips" if ADK_mips_qemu
  117. default "qemu-mipsel" if ADK_mipsel_qemu
  118. default "qemu-x86" if ADK_x86_qemu
  119. default "qemu-x86_64" if ADK_x86_64_qemu
  120. default "foxboard" if ADK_foxboard
  121. default "native" if ADK_NATIVE
  122. default "rb532" if ADK_rb532
  123. default "rb411" if ADK_rb411
  124. default "rb433" if ADK_rb433
  125. default "zaurus" if ADK_arm
  126. default "lemote" if ADK_lemote
  127. default "wag54g" if ADK_wag54g
  128. default "ag241" if ADK_ag241
  129. default "rescue-x86" if ADK_x86_rescue
  130. default "rescue-x86_64" if ADK_x86_64_rescue
  131. default "rescue-mips" if ADK_mips_rescue
  132. default "rescue-mipsel" if ADK_mipsel_rescue
  133. default "shuttle" if ADK_shuttle
  134. # c library
  135. config ADK_uclibc
  136. tristate
  137. config ADK_eglibc
  138. tristate
  139. config ADK_glibc
  140. tristate
  141. config ADK_LIBC
  142. string
  143. default "uclibc" if ADK_uclibc
  144. default "eglibc" if ADK_eglibc
  145. default "glibc" if ADK_glibc
  146. default "native" if ADK_NATIVE
  147. menu "Target system"
  148. choice
  149. prompt "Embedded Device or Emulator"
  150. default ADK_LINUX_NATIVE
  151. config ADK_LINUX_NATIVE
  152. bool "Native platform"
  153. select ADK_NATIVE
  154. depends on ADK_HOST_LINUX
  155. help
  156. Make a native build. Use host tools.
  157. No toolchain will be created.
  158. config ADK_LINUX_ALIX
  159. bool "ALIX and WRAP boards"
  160. help
  161. Support for Alix and Wrap boards.
  162. http://www.pcengines.ch
  163. config ADK_LINUX_CRIS_FOXBOARD
  164. bool "Foxboard (ETRAX LX100)"
  165. select ADK_foxboard
  166. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  167. select ADK_KERNEL_NLS
  168. select ADK_TARGET_WITH_USB
  169. help
  170. Support for Foxboard targets.
  171. http://foxlx.acmesystems.it/
  172. Status: stable
  173. config ADK_LINUX_MIPS64_LEMOTE
  174. bool "Lemote Subnotebook Yeeloong"
  175. select ADK_lemote
  176. select ADK_LINUX_64
  177. select ADK_KERNEL_BLK_DEV_SD
  178. select ADK_KERNEL_INPUT_KEYBOARD
  179. select ADK_KERNEL_NETDEVICES
  180. select ADK_KERNEL_NET_PCI
  181. select ADK_KERNEL_NET_ETHERNET
  182. select ADK_KERNEL_MII
  183. select ADK_KERNEL_SWAP
  184. select ADK_TARGET_WITH_USB
  185. select ADK_TARGET_WITH_VGA
  186. select ADK_TARGET_WITH_INPUT
  187. help
  188. Lemote Subnotebook.
  189. http://www.lemote.com/english/index.html
  190. http://www.tekmote.nl/
  191. Status: testing
  192. config ADK_LINUX_MIKROTIK
  193. bool "Mikrotik Routerboards"
  194. help
  195. Support for Mikrotik Routerboards
  196. http://www.mikrotik.com
  197. http://www.routerboards.com
  198. #config ADK_LINUX_MIPS_WAG54G
  199. # bool "Linksys WAG54G"
  200. # select ADK_KERNEL_NETDEVICES
  201. # select ADK_KERNEL_NET_PCI
  202. # select ADK_KERNEL_NET_ETHERNET
  203. # select ADK_KERNEL_MII
  204. # select ADK_wag54g
  205. # help
  206. # Linksys WAG54G DSL router with Wireless.
  207. # (Texas Instruments AR7 platform)
  208. config ADK_LINUX_MIPS_AG241
  209. bool "Linksys AG241v2"
  210. select ADK_KERNEL_NETDEVICES
  211. select ADK_KERNEL_NET_PCI
  212. select ADK_KERNEL_NET_ETHERNET
  213. select ADK_KERNEL_MII
  214. select ADK_PACKAGE_KMOD_SANGAM_ATM
  215. select ADK_KPACKAGE_KMOD_ATM_BR2684
  216. select ADK_PACKAGE_BR2684CTL
  217. select ADK_ag241
  218. help
  219. Linksys AG241 DSL router.
  220. (Texas Instruments AR7 platform)
  221. Status: stable
  222. config ADK_LINUX_XSCALE_ZAURUS
  223. bool "Zaurus SL-C3200"
  224. select ADK_zaurus
  225. select ADK_TARGET_NO_FPU
  226. select ADK_TARGET_WITH_INPUT
  227. depends on ADK_BROKEN
  228. help
  229. Support for Sharp Zaurus SL-C3200 (aka Terrier)
  230. Status: development
  231. config ADK_LINUX_RESCUE
  232. bool "Minimal Linux Rescuesystem"
  233. select ADK_KERNEL_INPUT_KEYBOARD
  234. select ADK_TARGET_WITH_INPUT
  235. help
  236. Rescuesystem with can be used to Boot from Disk or USB stick.
  237. Status: development
  238. config ADK_LINUX_QEMU
  239. bool "Qemu Emulator"
  240. select ADK_KERNEL_NET_PCI
  241. select ADK_KERNEL_NETDEVICES
  242. select ADK_KERNEL_MII
  243. select ADK_KERNEL_NET_ETHERNET
  244. select ADK_TARGET_WITH_INPUT
  245. help
  246. Support for Qemu Emulator
  247. config ADK_LINUX_TOOLCHAIN
  248. bool "Toolchain only support"
  249. help
  250. Toolchain only support
  251. config ADK_LINUX_X86_64_SHUTTLE
  252. bool "Shuttle PC"
  253. select ADK_shuttle
  254. select ADK_TARGET_WITH_USB
  255. select ADK_TARGET_WITH_VGA
  256. select ADK_TARGET_WITH_PCI
  257. select ADK_TARGET_WITH_INPUT
  258. select ADK_TARGET_WITH_PP
  259. select ADK_KERNEL_INPUT_KEYBOARD
  260. select ADK_KERNEL_SCSI
  261. select ADK_KERNEL_NETDEVICES
  262. select ADK_KERNEL_NET_PCI
  263. select ADK_KERNEL_NET_ETHERNET
  264. select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE
  265. select ADK_KERNEL_BLK_DEV_SD if ADK_TARGET_ROOTFS_ARCHIVE
  266. select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE
  267. select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE
  268. select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE
  269. select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  270. select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  271. select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  272. select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  273. help
  274. Support for a nice and fast shuttle xpc with AMD quad-core CPU.
  275. Status: development
  276. endchoice
  277. choice
  278. prompt "Architecture"
  279. depends on ADK_LINUX_RESCUE
  280. config ADK_LINUX_X86_64_RESCUE
  281. bool "x86_64"
  282. select ADK_x86_64_rescue
  283. help
  284. X86 architecture.
  285. config ADK_LINUX_X86_RESCUE
  286. bool "x86"
  287. select ADK_x86_rescue
  288. help
  289. X86 architecture.
  290. config ADK_LINUX_MIPSEL_RESCUE
  291. bool "mips (little endian)"
  292. select ADK_mipsel_rescue
  293. depends on ADK_BROKEN
  294. help
  295. MIPS LE architecture.
  296. config ADK_LINUX_MIPS_RESCUE
  297. bool "mips (big endian)"
  298. select ADK_mips_rescue
  299. depends on ADK_BROKEN
  300. help
  301. MIPS BE architecture.
  302. endchoice
  303. choice
  304. prompt "Architecture"
  305. depends on ADK_LINUX_TOOLCHAIN
  306. config ADK_LINUX_ARM_TOOLCHAIN
  307. bool "ARM BE Toolchain"
  308. select ADK_arm_toolchain
  309. select ADK_TARGET_NO_FPU
  310. select ADK_EABI
  311. select ADK_TOOLCHAIN_ONLY
  312. help
  313. Status: toolchain only
  314. config ADK_LINUX_ARMEL_TOOLCHAIN
  315. bool "ARM LE Toolchain"
  316. select ADK_armel_toolchain
  317. select ADK_TARGET_NO_FPU
  318. select ADK_EABI
  319. select ADK_TOOLCHAIN_ONLY
  320. help
  321. Status: toolchain only
  322. config ADK_LINUX_MIPS_TOOLCHAIN
  323. bool "MIPS BE Toolchain (32 Bit)"
  324. select ADK_mips_toolchain
  325. select ADK_TOOLCHAIN_ONLY
  326. help
  327. Status: toolchain only
  328. config ADK_LINUX_MIPSEL_TOOLCHAIN
  329. bool "MIPS EL Toolchain (32 Bit)"
  330. select ADK_mipsel_toolchain
  331. select ADK_TOOLCHAIN_ONLY
  332. help
  333. Status: toolchain only
  334. config ADK_LINUX_PPC_TOOLCHAIN
  335. bool "PPC Toolchain (32 Bit)"
  336. select ADK_ppc_toolchain
  337. select ADK_TOOLCHAIN_ONLY
  338. help
  339. Status: toolchain only
  340. config ADK_LINUX_SPARC_TOOLCHAIN
  341. bool "SPARC Toolchain (32 Bit)"
  342. select ADK_sparc_toolchain
  343. select ADK_TOOLCHAIN_ONLY
  344. help
  345. Status: toolchain only
  346. config ADK_LINUX_X86_TOOLCHAIN
  347. bool "X86 Toolchain (32 Bit)"
  348. select ADK_x86_toolchain
  349. select ADK_TOOLCHAIN_ONLY
  350. help
  351. Status: toolchain only
  352. config ADK_LINUX_X86_64_TOOLCHAIN
  353. bool "X86 Toolchain (64 Bit)"
  354. select ADK_x86_64_toolchain
  355. select ADK_TOOLCHAIN_ONLY
  356. help
  357. Status: toolchain only
  358. endchoice
  359. choice
  360. prompt "Target Optimization"
  361. depends on ADK_LINUX_ARMEL_TOOLCHAIN || ADK_LINUX_ARM_TOOLCHAIN
  362. config ADK_LINUX_ARM_V5TE
  363. bool "armv5te"
  364. help
  365. config ADK_LINUX_ARM_V4T
  366. bool "armv4t"
  367. help
  368. endchoice
  369. config ADK_TARGET_ARCH_OPTIMIZATION
  370. string
  371. default "armv5te" if ADK_LINUX_ARM_V5TE
  372. default "armv4t" if ADK_LINUX_ARM_V4T
  373. choice
  374. prompt "Architecture"
  375. depends on ADK_LINUX_QEMU
  376. config ADK_LINUX_ARM_QEMU
  377. bool "arm"
  378. select ADK_arm_qemu
  379. select ADK_EABI
  380. help
  381. Qemu support for ARM architecture.
  382. Right now this is optimized for Zaurus PDA spitz.
  383. Status: development
  384. config ADK_LINUX_MIPS_QEMU
  385. bool "mips (big endian)"
  386. select ADK_mips_qemu
  387. help
  388. Qemu support for MIPS BE architecture.
  389. Status: stable
  390. config ADK_LINUX_MIPSEL_QEMU
  391. bool "mipsel (little endian)"
  392. select ADK_mipsel_qemu
  393. help
  394. Qemu support for MIPS LE architecture.
  395. Status: stable
  396. config ADK_LINUX_MIPS64_QEMU
  397. bool "mips64 (big endian)"
  398. select ADK_mips64_qemu
  399. select ADK_LINUX_64
  400. depends on ADK_BROKEN
  401. help
  402. Qemu support for MIPS64 BE architecture.
  403. Status: development
  404. config ADK_LINUX_MIPS64EL_QEMU
  405. bool "mips64 (little endian)"
  406. select ADK_mips64el_qemu
  407. select ADK_LINUX_64
  408. depends on ADK_BROKEN
  409. help
  410. Qemu support for MIPS64 LE architecture.
  411. Status: development
  412. config ADK_LINUX_CRIS_QEMU
  413. bool "cris"
  414. select ADK_cris_qemu
  415. depends on ADK_BROKEN
  416. help
  417. Qemu support for CRISv32 architecture.
  418. config ADK_LINUX_X86_QEMU
  419. bool "x86"
  420. select ADK_x86_qemu
  421. select ADK_KPACKAGE_KMOD_8139CP
  422. select ADK_KERNEL_INPUT_KEYBOARD
  423. select ADK_KERNEL_SCSI
  424. select ADK_KERNEL_ATA
  425. select ADK_KERNEL_BLK_DEV_SD
  426. select ADK_KERNEL_CRC32
  427. select ADK_TARGET_WITH_VGA
  428. help
  429. Qemu support for x86 architecture.
  430. Status: stable
  431. config ADK_LINUX_X86_64_QEMU
  432. bool "x86_64"
  433. select ADK_x86_64_qemu
  434. select ADK_KPACKAGE_KMOD_8139CP
  435. select ADK_KERNEL_INPUT_KEYBOARD
  436. select ADK_KERNEL_SCSI
  437. select ADK_KERNEL_ATA
  438. select ADK_KERNEL_BLK_DEV_SD
  439. select ADK_TARGET_WITH_VGA
  440. help
  441. Qemu support for x86_64 architecture.
  442. Status: stable
  443. endchoice
  444. choice
  445. prompt "Alix/Wrap model"
  446. default ADK_LINUX_X86_ALIX1C
  447. depends on ADK_LINUX_ALIX
  448. config ADK_LINUX_X86_ALIX1C
  449. bool "PC Engines Alix1C"
  450. select ADK_alix1c
  451. select ADK_KERNEL_SCSI
  452. select ADK_KERNEL_ATA
  453. select ADK_KERNEL_BLK_DEV_SD
  454. select ADK_KERNEL_EXT2_FS
  455. select ADK_KERNEL_NET_PCI
  456. select ADK_KERNEL_NETDEVICES
  457. select ADK_KERNEL_NET_ETHERNET
  458. select ADK_KERNEL_MII
  459. select BUSYBOX_HWCLOCK
  460. select ADK_TARGET_WITH_USB
  461. select ADK_TARGET_WITH_VGA
  462. select ADK_TARGET_WITH_MINIPCI
  463. select ADK_TARGET_WITH_INPUT
  464. help
  465. Support for ALIX1C boards.
  466. http://www.pcengines.ch/
  467. Status: stable
  468. config ADK_LINUX_X86_ALIX2D
  469. bool "PC Engines Alix2D"
  470. select ADK_alix2d
  471. select ADK_KERNEL_SCSI
  472. select ADK_KERNEL_ATA
  473. select ADK_KERNEL_BLK_DEV_SD
  474. select ADK_KERNEL_EXT2_FS
  475. select ADK_KERNEL_NET_PCI
  476. select ADK_KERNEL_NETDEVICES
  477. select ADK_KERNEL_NET_ETHERNET
  478. select ADK_KERNEL_MII
  479. select BUSYBOX_HWCLOCK
  480. select ADK_TARGET_WITH_USB
  481. select ADK_TARGET_WITH_MINIPCI
  482. select ADK_TARGET_WITH_LEDS
  483. select ADK_TARGET_WITH_WATCHDOG
  484. help
  485. Support for ALIX2D boards.
  486. http://www.pcengines.ch/
  487. Status: stable
  488. config ADK_LINUX_X86_ALIX2D13
  489. bool "PC Engines Alix2D13"
  490. select ADK_alix2d13
  491. select ADK_KERNEL_SCSI
  492. select ADK_KERNEL_ATA
  493. select ADK_KERNEL_BLK_DEV_SD
  494. select ADK_KERNEL_EXT2_FS
  495. select ADK_KERNEL_NET_PCI
  496. select ADK_KERNEL_NETDEVICES
  497. select ADK_KERNEL_NEW_LEDS
  498. select ADK_KERNEL_NET_ETHERNET
  499. select ADK_KERNEL_MII
  500. select BUSYBOX_HWCLOCK
  501. select ADK_TARGET_WITH_USB
  502. select ADK_TARGET_WITH_MINIPCI
  503. select ADK_TARGET_WITH_LEDS
  504. help
  505. Support for ALIX2D13 boards.
  506. http://www.pcengines.ch/
  507. Status: stable
  508. config ADK_LINUX_X86_WRAP
  509. bool "PC Engines WRAP"
  510. select ADK_wrap
  511. select ADK_KERNEL_SCSI
  512. select ADK_KERNEL_ATA
  513. select ADK_KERNEL_BLK_DEV_SD
  514. select ADK_KERNEL_EXT2_FS
  515. select ADK_KERNEL_NET_PCI
  516. select ADK_KERNEL_NETDEVICES
  517. select ADK_KERNEL_NET_ETHERNET
  518. select ADK_KERNEL_MII
  519. select BUSYBOX_HWCLOCK
  520. help
  521. End of life, but I still have one board.
  522. http://www.pcengines.ch/
  523. Status: stable
  524. endchoice
  525. choice
  526. prompt "Routerboard model"
  527. default ADK_LINUX_MIPS_RB532
  528. depends on ADK_LINUX_MIKROTIK
  529. config ADK_LINUX_MIPS_RB411
  530. bool "Mikrotik Routerboard 411"
  531. select ADK_rb411
  532. select ADK_KERNEL_NETDEVICES
  533. select ADK_KERNEL_NET_PCI
  534. select ADK_KERNEL_NETDEV_1000
  535. select ADK_KERNEL_NET_ETHERNET
  536. select ADK_TARGET_WITH_MINIPCI
  537. depends on ADK_BROKEN
  538. help
  539. Support for Mikrotik RB411.
  540. Status: development
  541. config ADK_LINUX_MIPS_RB433
  542. bool "Mikrotik Routerboard 433"
  543. select ADK_rb433
  544. select ADK_KERNEL_NETDEVICES
  545. select ADK_KERNEL_NET_PCI
  546. select ADK_KERNEL_NETDEV_1000
  547. select ADK_KERNEL_NET_ETHERNET
  548. select ADK_TARGET_WITH_MINIPCI
  549. depends on ADK_BROKEN
  550. help
  551. Support for Mikrotik RB433.
  552. Status: development
  553. config ADK_LINUX_MIPS_RB532
  554. bool "Mikrotik Routerboard 532"
  555. select ADK_rb532
  556. select ADK_KERNEL_NETDEVICES
  557. select ADK_KERNEL_NET_PCI
  558. select ADK_KERNEL_NET_ETHERNET
  559. select ADK_KERNEL_MII
  560. select ADK_KERNEL_ATA
  561. select ADK_KERNEL_BLK_DEV_SD
  562. select ADK_KERNEL_SCSI
  563. select ADK_KERNEL_EXT2_FS
  564. select ADK_TARGET_WITH_MINIPCI
  565. select ADK_TARGET_WITH_WATCHDOG
  566. help
  567. Support for Mikrotik RB532.
  568. Status: stable
  569. endchoice
  570. choice
  571. prompt "Device model"
  572. default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  573. depends on ADK_LINUX_CRIS_FOXBOARD
  574. config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  575. bool "Foxboard classic (4x16)"
  576. help
  577. Foxboard classic with red board.
  578. (4 MB flash size and 16 MB RAM)
  579. config ADK_LINUX_CRIS_FOXBOARD_LX
  580. bool "Foxboard LX (8x32)"
  581. help
  582. Latest Foxboard with green board.
  583. (8 MB flash size and 32 MB RAM)
  584. endchoice
  585. source "target/linux/config/Config.in.kernel"
  586. choice
  587. prompt "Target C library"
  588. depends on ! ADK_NATIVE
  589. config ADK_TARGET_LIB_UCLIBC
  590. bool "uClibc embedded C library"
  591. # broken, because of 16kB pagesize
  592. depends on !ADK_LINUX_MIPS64_LEMOTE
  593. select ADK_uclibc
  594. help
  595. http://uclibc.org
  596. config ADK_TARGET_LIB_EGLIBC
  597. bool "Embedded GNU C library"
  598. select ADK_eglibc
  599. depends on ADK_LINUX_X86_QEMU || \
  600. ADK_LINUX_ARM_QEMU || \
  601. ADK_LINUX_MIPS_QEMU || \
  602. ADK_LINUX_MIPS64_QEMU || \
  603. ADK_LINUX_MIPSEL_QEMU || \
  604. ADK_LINUX_MIPS64EL_QEMU || \
  605. ADK_LINUX_X86_64_QEMU || \
  606. ADK_LINUX_X86_ALIX1C || \
  607. ADK_LINUX_X86_ALIX2D || \
  608. ADK_LINUX_X86_ALIX2D13 || \
  609. ADK_LINUX_X86_WRAP || \
  610. ADK_LINUX_MIPS_RB411 || \
  611. ADK_LINUX_MIPS_RB433 || \
  612. ADK_LINUX_MIPS_RB532 || \
  613. ADK_LINUX_RESCUE || \
  614. ADK_LINUX_X86_64_SHUTTLE || \
  615. ADK_LINUX_ARM_TOMTOM || \
  616. ADK_LINUX_ARM_G1 || \
  617. ADK_LINUX_MIPS64_LEMOTE || \
  618. ADK_LINUX_TOOLCHAIN
  619. help
  620. http://www.eglibc.org
  621. config ADK_TARGET_LIB_GLIBC
  622. bool "GNU C library"
  623. select ADK_glibc
  624. depends on ADK_LINUX_X86_QEMU || \
  625. ADK_LINUX_ARM_QEMU || \
  626. ADK_LINUX_MIPS_QEMU || \
  627. ADK_LINUX_MIPS64_QEMU || \
  628. ADK_LINUX_MIPSEL_QEMU || \
  629. ADK_LINUX_MIPS64EL_QEMU || \
  630. ADK_LINUX_X86_64_QEMU || \
  631. ADK_LINUX_X86_ALIX1C || \
  632. ADK_LINUX_X86_ALIX2D || \
  633. ADK_LINUX_X86_ALIX2D13 || \
  634. ADK_LINUX_X86_WRAP || \
  635. ADK_LINUX_MIPS_RB411 || \
  636. ADK_LINUX_MIPS_RB433 || \
  637. ADK_LINUX_RESCUE || \
  638. ADK_LINUX_X86_64_SHUTTLE || \
  639. ADK_LINUX_ARM_TOMTOM || \
  640. ADK_LINUX_ARM_G1 || \
  641. ADK_LINUX_MIPS64_LEMOTE || \
  642. ADK_LINUX_TOOLCHAIN
  643. help
  644. http://www.gnu.org/libc
  645. endchoice
  646. config ADK_TARGET_SUFFIX
  647. string
  648. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  649. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  650. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  651. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  652. choice
  653. prompt "Target Firmware type"
  654. depends on !ADK_TOOLCHAIN_ONLY
  655. default ADK_TARGET_ROOTFS_ARCHIVE
  656. config ADK_TARGET_ROOTFS_INITRAMFS
  657. bool "initramfs filesystem"
  658. depends on \
  659. ADK_LINUX_QEMU || \
  660. ADK_LINUX_NATIVE || \
  661. ADK_LINUX_RESCUE
  662. select ADK_KERNEL_BLK_DEV_INITRD
  663. help
  664. create an read-only initramfs system.
  665. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  666. bool "initramfs filesystem included into kernel image"
  667. select ADK_LINUX_INITRAMFS_BUILTIN
  668. depends on \
  669. ADK_LINUX_QEMU || \
  670. ADK_LINUX_X86_64_SHUTTLE || \
  671. ADK_LINUX_NATIVE || \
  672. ADK_LINUX_RESCUE
  673. help
  674. create an read-only initramfs system.
  675. config ADK_TARGET_ROOTFS_SQUASHFS
  676. bool "Compressed read-only root filesystem (squashfs)"
  677. select ADK_KERNEL_SQUASHFS
  678. depends on \
  679. ADK_LINUX_CRIS_FOXBOARD || \
  680. ADK_LINUX_MIPS_AG241 || \
  681. ADK_LINUX_MIPS_WAG54G
  682. help
  683. highly compressed read-only filesystem for flash.
  684. config ADK_TARGET_ROOTFS_YAFFS
  685. bool "YAFFS2 rootfilesystem (NAND)"
  686. depends on \
  687. ADK_LINUX_MIPS_RB532 || \
  688. ADK_LINUX_MIPS_RB433 || \
  689. ADK_LINUX_MIPS_RB411
  690. help
  691. Root filesystem on NAND.
  692. config ADK_TARGET_ROOTFS_NFSROOT
  693. bool "NFS root"
  694. depends on \
  695. ADK_LINUX_CRIS_FOXBOARD || \
  696. ADK_LINUX_X86_ALIX1C || \
  697. ADK_LINUX_X86_ALIX2D || \
  698. ADK_LINUX_X86_ALIX2D13 || \
  699. ADK_LINUX_X86_WRAP || \
  700. ADK_LINUX_MIPS_RB532 || \
  701. ADK_LINUX_MIPS_RB433 || \
  702. ADK_LINUX_MIPS_RB411 || \
  703. ADK_LINUX_MIPS_WAG54G || \
  704. ADK_LINUX_MIPS_AG241 || \
  705. ADK_LINUX_MIPS64_LEMOTE
  706. select ADK_KERNEL_SUNRPC
  707. select ADK_KERNEL_NFS_FS
  708. select ADK_KERNEL_NFS_V3
  709. select ADK_KERNEL_ROOT_NFS
  710. select ADK_KERNEL_NFS_COMMON
  711. select ADK_KERNEL_IP_PNP
  712. select ADK_KERNEL_IP_PNP_DHCP
  713. help
  714. Root filesystem mounted via NFS. (DHCP)
  715. config ADK_TARGET_ROOTFS_EXT2_CF
  716. bool "read-write filesystem for compact flash (ext2)"
  717. depends on \
  718. ADK_LINUX_X86_ALIX1C || \
  719. ADK_LINUX_X86_ALIX2D || \
  720. ADK_LINUX_X86_ALIX2D13 || \
  721. ADK_LINUX_X86_WRAP || \
  722. ADK_LINUX_MIPS_RB532
  723. select ADK_KERNEL_EXT2_FS
  724. select ADK_KERNEL_SCSI
  725. help
  726. Use this option if you have a compact flash reader
  727. inside your hardware and want to boot from it.
  728. config ADK_TARGET_ROOTFS_ARCHIVE
  729. bool "Archive usable for different filesystems"
  730. depends on \
  731. ADK_LINUX_QEMU || \
  732. ADK_LINUX_XSCALE_ZAURUS || \
  733. ADK_LINUX_MIPS64_LEMOTE || \
  734. ADK_LINUX_X86_64_SHUTTLE
  735. help
  736. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  737. config ADK_TARGET_ROOTFS_ENCRYPTED
  738. bool "Encrypted read-write root filesystem"
  739. depends on ADK_LINUX_MIPS64_LEMOTE
  740. select ADK_LINUX_INITRAMFS_BUILTIN
  741. select ADK_PACKAGE_CRYPTINIT
  742. select ADK_KERNEL_BLK_DEV_DM
  743. select ADK_KERNEL_DM_CRYPT
  744. select ADK_KERNEL_CRYPTO_AES
  745. select ADK_KERNEL_CRYPTO_CBC
  746. select ADK_KERNEL_CRYPTO_SHA256
  747. select ADK_KERNEL_XFS_FS
  748. help
  749. Use this option if you want an encrypted rootfs.
  750. Default is XFS filesystem. Use following commands to setup
  751. your hard disk, after booting via NFS or USB.
  752. Create at least three partitions with fdisk
  753. /dev/sda1 (ext2)
  754. /dev/sda2 (encrypted root)
  755. /dev/sda3 (swap)
  756. mkdir /mnt/{boot,root}
  757. cryptsetup luksFormat /dev/sda2
  758. cryptsetup luksOpen /dev/sda2 root
  759. cryptsetup luksFormat /dev/sda3
  760. cryptsetup luksOpen /dev/sda3 swap
  761. mkswap /dev/mapper/swap
  762. mkfs.xfs /dev/mapper/root
  763. mount /dev/mapper/root /mnt/root
  764. tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
  765. mount /dev/sda1 /mnt/boot
  766. mkdir /mnt/boot/boot
  767. cp lemote-mips-kernel /mnt/boot/boot
  768. mv /mnt/root/boot/boot.cfg /mnt/boot/boot
  769. cd /mnt/root ; mknod -m 644 console c 5 1
  770. endchoice
  771. choice
  772. prompt "Compression method for initramfs and kernel"
  773. depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  774. config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  775. boolean
  776. prompt "gzip"
  777. select ADK_KERNEL_RD_GZIP
  778. select ADK_KERNEL_KERNEL_GZIP
  779. help
  780. Select gzip compression.
  781. config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  782. boolean
  783. prompt "bzip2"
  784. select ADK_KERNEL_RD_BZIP2
  785. select ADK_KERNEL_KERNEL_BZIP2
  786. help
  787. Select BZIP2 compression.
  788. config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  789. boolean
  790. prompt "lzma"
  791. select ADK_KERNEL_RD_LZMA
  792. select ADK_KERNEL_KERNEL_LZMA
  793. help
  794. Select LZMA compression.
  795. endchoice
  796. choice
  797. prompt "Compression method for Kernel"
  798. depends on ADK_LINUX_QEMU || ADK_LINUX_ALIX
  799. config ADK_TARGET_KERNEL_COMPRESSION_GZIP
  800. boolean
  801. prompt "gzip"
  802. select ADK_KERNEL_KERNEL_GZIP
  803. help
  804. Select gzip compression for Kernel.
  805. config ADK_TARGET_KERNEL_COMPRESSION_BZIP2
  806. boolean
  807. prompt "bzip2"
  808. select ADK_KERNEL_KERNEL_BZIP2
  809. help
  810. Select BZIP2 compression for Kernel.
  811. config ADK_TARGET_KERNEL_COMPRESSION_LZMA
  812. boolean
  813. prompt "lzma"
  814. select ADK_KERNEL_KERNEL_LZMA
  815. help
  816. Select LZMA compression for Kernel.
  817. endchoice
  818. config ADK_COMPRESSION_TOOL
  819. string
  820. default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  821. default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  822. default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  823. help
  824. choice
  825. prompt "Root filesystem type"
  826. depends on ADK_TARGET_ROOTFS_ARCHIVE
  827. default ADK_TARGET_ROOT_XFS
  828. config ADK_TARGET_ROOT_XFS
  829. boolean
  830. prompt "XFS filesystem"
  831. select ADK_KERNEL_XFS_FS
  832. help
  833. Compile XFS filesystem into kernel and use it as root filesystem.
  834. config ADK_TARGET_ROOT_EXT2
  835. boolean
  836. prompt "EXT2 filesystem"
  837. select ADK_KERNEL_EXT2_FS
  838. help
  839. Compile EXT2 filesystem into kernel and use it as root filesystem.
  840. config ADK_TARGET_ROOT_EXT3
  841. boolean
  842. prompt "EXT3 filesystem"
  843. select ADK_KERNEL_EXT3_FS
  844. help
  845. Compile EXT3 filesystem into kernel and use it as root filesystem.
  846. config ADK_TARGET_ROOT_EXT4
  847. boolean
  848. prompt "EXT4 filesystem"
  849. select ADK_KERNEL_EXT4_FS
  850. help
  851. Compile EXT4 filesystem into kernel and use it as root filesystem.
  852. endchoice
  853. config ADK_TARGET_ROOTFS
  854. string
  855. default "xfs" if ADK_TARGET_ROOT_XFS
  856. default "ext2" if ADK_TARGET_ROOT_EXT2
  857. default "ext3" if ADK_TARGET_ROOT_EXT3
  858. default "ext4" if ADK_TARGET_ROOT_EXT4
  859. help
  860. config ADK_PACKAGE_SUFFIX
  861. string
  862. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  863. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  864. # default "rpm" if ADK_TARGET_PACKAGE_RPM
  865. help
  866. choice
  867. prompt "Package backend format"
  868. default ADK_TARGET_PACKAGE_TGZ
  869. config ADK_TARGET_PACKAGE_IPKG
  870. boolean
  871. prompt "ipkg package format"
  872. select BUSYBOX_IPKG
  873. help
  874. Create ipkg packages and use ipkg package management on
  875. the target.
  876. config ADK_TARGET_PACKAGE_TGZ
  877. boolean
  878. prompt "tar archive (no package manager)"
  879. help
  880. Create compressed tar archives of packages.
  881. Pre- and post install scripts will be executed in the target
  882. directory. There will be no package manager installed onto the target.
  883. #config ADK_TARGET_PACKAGE_RPM
  884. # boolean
  885. # prompt "rpm package format"
  886. # help
  887. # Create rpm packages and use rpm package management on the
  888. # target. WARNING: NOT YET IMPLEMENTED
  889. endchoice
  890. endmenu