Config.in 20 KB

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