Config.in 20 KB

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