Config.in 17 KB

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