Config.in 21 KB

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