Config.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  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
  47. tristate
  48. config ADK_armel
  49. tristate
  50. config ADK_mips
  51. tristate
  52. config ADK_mipsel
  53. tristate
  54. config ADK_mips64
  55. tristate
  56. config ADK_mips64el
  57. tristate
  58. config ADK_ppc
  59. tristate
  60. config ADK_sparc
  61. tristate
  62. config ADK_sparc64
  63. tristate
  64. config ADK_rb532
  65. tristate
  66. config ADK_rb4xx
  67. tristate
  68. config ADK_zaurus
  69. tristate
  70. config ADK_foxg20
  71. tristate
  72. config ADK_foxboard
  73. tristate
  74. config ADK_brcm
  75. tristate
  76. config ADK_ag241
  77. tristate
  78. config ADK_x86_64
  79. tristate
  80. config ADK_x86
  81. tristate
  82. config ADK_qemu
  83. boolean
  84. config ADK_ibm_x40
  85. boolean
  86. config ADK_lemote_yeelong
  87. boolean
  88. config ADK_shuttle_sa76g2
  89. boolean
  90. config ADK_HW
  91. string
  92. default "qemu" if ADK_qemu
  93. default "ibm-x40" if ADK_ibm_x40
  94. default "shuttle-sa76g2" if ADK_shuttle_sa76g2
  95. default "lemote-yeelong" if ADK_lemote_yeelong
  96. config ADK_TARGET
  97. string
  98. default "arm" if ADK_arm
  99. default "armel" if ADK_armel
  100. default "mips" if ADK_mips
  101. default "mipsel" if ADK_mipsel
  102. default "mips64" if ADK_mips64
  103. default "mips64el" if ADK_mips64el
  104. default "ppc" if ADK_ppc
  105. default "sparc" if ADK_sparc
  106. default "sparc64" if ADK_sparc64
  107. default "x86" if ADK_x86
  108. default "x86_64" if ADK_x86_64
  109. default "alix" if ADK_alix
  110. default "wrap" if ADK_wrap
  111. default "brcm" if ADK_brcm
  112. default "foxboard" if ADK_foxboard
  113. default "foxg20" if ADK_foxg20
  114. default "rb532" if ADK_rb532
  115. default "rb4xx" if ADK_rb4xx
  116. default "ag241" if ADK_ag241
  117. default "native" if ADK_NATIVE
  118. config ADK_HARDWARE_QEMU
  119. boolean
  120. config ADK_CPU_SPARC_V8
  121. boolean
  122. config ADK_CPU_SPARC_V9
  123. boolean
  124. config ADK_CPU_I686
  125. boolean
  126. config ADK_CPU_PENTIUM_M
  127. boolean
  128. config ADK_CPU_AMDFAM10
  129. boolean
  130. config ADK_CPU_LOONGSON2F
  131. boolean
  132. config ADK_TARGET_CFLAGS
  133. string
  134. default "-march=i686" if ADK_CPU_I686
  135. default "-march=pentium-m" if ADK_CPU_PENTIUM_M
  136. default "-march=amdfam10" if ADK_CPU_AMDFAM10
  137. default "-mcpu=v8" if ADK_CPU_SPARC_V8
  138. default "-mcpu=v9" if ADK_CPU_SPARC_V9
  139. default "-march=loongson2f" if ADK_CPU_LOONGSON2F
  140. # c library
  141. config ADK_uclibc
  142. tristate
  143. config ADK_eglibc
  144. tristate
  145. config ADK_glibc
  146. tristate
  147. config ADK_libc
  148. tristate
  149. config ADK_LIBC
  150. string
  151. default "uclibc" if ADK_uclibc
  152. default "eglibc" if ADK_eglibc
  153. default "glibc" if ADK_glibc
  154. default "libc" if ADK_libc
  155. menu "Target system"
  156. choice
  157. prompt "Embedded devices or architecture"
  158. config ADK_TARGET_CHOICE
  159. bool "embedded devices"
  160. help
  161. choose between specific embedded devices.
  162. config ADK_ARCH_CHOICE
  163. bool "architectures"
  164. help
  165. choose between architectures and hardware profiles.
  166. endchoice
  167. choice
  168. prompt "Architectures and hardware profiles"
  169. depends on ADK_ARCH_CHOICE
  170. default ADK_LINUX_X86
  171. config ADK_LINUX_NATIVE
  172. bool "native build"
  173. select ADK_libc
  174. select ADK_NATIVE
  175. select ADK_TARGET_WITH_VGA
  176. select ADK_TARGET_WITH_USB
  177. depends on ADK_HOST_LINUX
  178. help
  179. Make a native build. Use host tools.
  180. No toolchain will be created.
  181. config ADK_LINUX_ARM
  182. bool "arm system (big endian)"
  183. select ADK_arm
  184. help
  185. Support for arm big endian systems.
  186. config ADK_LINUX_ARMEL
  187. bool "arm system (little endian)"
  188. select ADK_armel
  189. help
  190. Support for arm little endian systems.
  191. config ADK_LINUX_MIPS
  192. bool "mips system (big endian)"
  193. select ADK_mips
  194. help
  195. Support for mips big endian systems.
  196. config ADK_LINUX_MIPSEL
  197. bool "mips system (little endian)"
  198. select ADK_mipsel
  199. help
  200. Support for mips little endian systems.
  201. config ADK_LINUX_MIPS64
  202. bool "mips64 system (big endian)"
  203. select ADK_mips64
  204. help
  205. Support for mips64 big endian systems.
  206. config ADK_LINUX_MIPS64EL
  207. bool "mips64 system (little endian)"
  208. select ADK_mips64el
  209. help
  210. Support for mips64 little endian systems.
  211. config ADK_LINUX_PPC
  212. bool "ppc system"
  213. select ADK_ppc
  214. help
  215. Support for powerpc systems.
  216. config ADK_LINUX_SPARC
  217. bool "sparc system"
  218. select ADK_sparc
  219. help
  220. Support for sparc systems.
  221. config ADK_LINUX_SPARC64
  222. bool "sparc64 system"
  223. select ADK_sparc64
  224. help
  225. Support for sparc64 systems.
  226. config ADK_LINUX_X86
  227. bool "x86 system"
  228. select ADK_x86
  229. help
  230. Support for x86 systems.
  231. config ADK_LINUX_X86_64
  232. bool "x86_64 system"
  233. select ADK_x86_64
  234. help
  235. Support for x86_64/amd64 systems.
  236. endchoice
  237. choice
  238. prompt "Embedded Devices"
  239. depends on ADK_TARGET_CHOICE
  240. config ADK_LINUX_X86_ALIX
  241. bool "PC Engines ALIX boards"
  242. select ADK_alix
  243. help
  244. Support for Alix boards.
  245. http://www.pcengines.ch
  246. Status: stable
  247. config ADK_LINUX_X86_WRAP
  248. bool "PC Engines WRAP boards"
  249. select ADK_wrap
  250. select ADK_KERNEL_SCSI
  251. select ADK_KERNEL_ATA
  252. select ADK_KERNEL_BLK_DEV_SD
  253. select ADK_KERNEL_EXT2_FS
  254. select ADK_KERNEL_NET_PCI
  255. select ADK_KERNEL_NETDEVICES
  256. select ADK_KERNEL_NET_ETHERNET
  257. select ADK_KERNEL_MII
  258. select ADK_TARGET_WITH_WATCHDOG
  259. select ADK_TARGET_WITH_RTC
  260. help
  261. End of life.
  262. http://www.pcengines.ch/
  263. Status: stable
  264. config ADK_LINUX_ARM_FOXG20
  265. bool "Foxboard (FOXG20)"
  266. select ADK_foxg20
  267. select ADK_EABI
  268. select ADK_KERNEL_NLS
  269. select ADK_KERNEL_EXT2_FS
  270. select ADK_KERNEL_USB
  271. select ADK_KPACKAGE_KMOD_VFAT_FS
  272. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  273. select ADK_KERNEL_NETDEVICES
  274. select ADK_KERNEL_NET_PCI
  275. select ADK_KERNEL_NET_ETHERNET
  276. select ADK_KERNEL_MII
  277. select ADK_TARGET_WITH_USB
  278. help
  279. Support for Foxboard target (foxg20).
  280. http://foxg20.acmesystems.it/doku.php
  281. Status: stable
  282. config ADK_LINUX_CRIS_FOXBOARD
  283. bool "Foxboard (ETRAX LX100)"
  284. select ADK_foxboard
  285. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  286. select ADK_KERNEL_USB
  287. select ADK_KERNEL_NLS
  288. select ADK_KERNEL_NETDEVICES
  289. select ADK_TARGET_WITH_USB
  290. help
  291. Support for Foxboard targets.
  292. http://foxlx.acmesystems.it/
  293. Status: stable
  294. config ADK_LINUX_MIKROTIK
  295. bool "Mikrotik Routerboards"
  296. help
  297. Support for Mikrotik Routerboards
  298. http://www.mikrotik.com
  299. http://www.routerboards.com
  300. config ADK_LINUX_MIPS_AG241
  301. bool "Linksys AG241v2"
  302. select ADK_KERNEL_NETDEVICES
  303. select ADK_KERNEL_NET_PCI
  304. select ADK_KERNEL_NET_ETHERNET
  305. select ADK_KERNEL_MII
  306. select ADK_PACKAGE_KMOD_SANGAM_ATM
  307. select ADK_KPACKAGE_KMOD_ATM_BR2684
  308. select ADK_PACKAGE_BR2684CTL
  309. select ADK_TARGET_WITH_DSL
  310. select ADK_TARGET_WITH_WATCHDOG
  311. select ADK_ag241
  312. help
  313. Linksys AG241 DSL router.
  314. (Texas Instruments AR7 platform)
  315. Status: stable
  316. config ADK_LINUX_MIPS_BRCM
  317. bool "Broadcom BCM47xx based routers"
  318. select ADK_brcm
  319. select ADK_TARGET_WITH_SSB
  320. select ADK_KERNEL_NETDEVICES
  321. select ADK_KERNEL_NET_PCI
  322. select ADK_KERNEL_NET_ETHERNET
  323. select ADK_KERNEL_MII
  324. help
  325. Broadcom bcm47xx based router.
  326. Status: development
  327. endchoice
  328. source "target/Config.in.alix"
  329. source "target/Config.in.mikrotik"
  330. source "target/Config.in.arm"
  331. source "target/Config.in.armel"
  332. source "target/Config.in.mips"
  333. source "target/Config.in.mipsel"
  334. source "target/Config.in.mips64"
  335. source "target/Config.in.mips64el"
  336. source "target/Config.in.ppc"
  337. source "target/Config.in.ppc64"
  338. source "target/Config.in.sparc"
  339. source "target/Config.in.sparc64"
  340. source "target/Config.in.x86"
  341. source "target/Config.in.x86_64"
  342. choice
  343. prompt "Device model"
  344. default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  345. depends on ADK_LINUX_CRIS_FOXBOARD
  346. config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  347. bool "Foxboard classic (4x16)"
  348. help
  349. Foxboard classic with red board.
  350. (4 MB flash size and 16 MB RAM)
  351. config ADK_LINUX_CRIS_FOXBOARD_LX
  352. bool "Foxboard LX (8x32)"
  353. help
  354. Latest Foxboard with green board.
  355. (8 MB flash size and 32 MB RAM)
  356. endchoice
  357. source "target/linux/config/Config.in.kernel"
  358. choice
  359. prompt "Target C library"
  360. depends on ! ADK_NATIVE
  361. config ADK_TARGET_LIB_UCLIBC
  362. bool "uClibc embedded C library"
  363. depends on \
  364. !ADK_HARDWARE_LEMOTE_YEELONG && \
  365. !ADK_LINUX_SPARC64
  366. select ADK_uclibc
  367. help
  368. http://uclibc.org
  369. config ADK_TARGET_LIB_EGLIBC
  370. bool "Embedded GNU C library"
  371. select ADK_eglibc
  372. depends on ADK_LINUX_QEMU || \
  373. ADK_LINUX_ARM || \
  374. ADK_LINUX_ARMEL || \
  375. ADK_LINUX_MIPS || \
  376. ADK_LINUX_MIPSEL || \
  377. ADK_LINUX_MIPS64 || \
  378. ADK_LINUX_MIPS64EL || \
  379. ADK_LINUX_PPC || \
  380. ADK_LINUX_SPARC || \
  381. ADK_LINUX_SPARC64 || \
  382. ADK_LINUX_X86 || \
  383. ADK_LINUX_X86_64 || \
  384. ADK_LINUX_ARM_FOXG20 || \
  385. ADK_LINUX_X86_ALIX || \
  386. ADK_LINUX_X86_WRAP || \
  387. ADK_LINUX_MIPS_RB4XX || \
  388. ADK_LINUX_MIPS_RB532
  389. help
  390. http://www.eglibc.org
  391. config ADK_TARGET_LIB_GLIBC
  392. bool "GNU C library"
  393. select ADK_glibc
  394. depends on ADK_LINUX_QEMU || \
  395. ADK_LINUX_ARM || \
  396. ADK_LINUX_ARMEL || \
  397. ADK_LINUX_MIPS || \
  398. ADK_LINUX_MIPSEL || \
  399. ADK_LINUX_MIPS64 || \
  400. ADK_LINUX_MIPS64EL || \
  401. ADK_LINUX_PPC || \
  402. ADK_LINUX_SPARC || \
  403. ADK_LINUX_SPARC64 || \
  404. ADK_LINUX_X86 || \
  405. ADK_LINUX_X86_64 || \
  406. ADK_LINUX_X86_ALIX || \
  407. ADK_LINUX_X86_WRAP || \
  408. ADK_LINUX_MIPS_RB532 || \
  409. ADK_LINUX_MIPS_RB4XX
  410. help
  411. http://www.gnu.org/libc
  412. endchoice
  413. config ADK_TARGET_SUFFIX
  414. string
  415. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  416. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  417. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  418. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  419. choice
  420. prompt "Target Firmware type"
  421. depends on !ADK_TOOLCHAIN_ONLY
  422. default ADK_TARGET_ROOTFS_ARCHIVE
  423. config ADK_TARGET_ROOTFS_INITRAMFS
  424. bool "initramfs filesystem"
  425. depends on \
  426. ADK_LINUX_X86 || \
  427. ADK_LINUX_X86_64 || \
  428. ADK_LINUX_PPC || \
  429. ADK_LINUX_SPARC || \
  430. ADK_LINUX_X86_ALIX || \
  431. ADK_HARDWARE_QEMU || \
  432. ADK_LINUX_NATIVE
  433. select ADK_KERNEL_BLK_DEV_INITRD
  434. help
  435. create an read-only initramfs system.
  436. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  437. bool "initramfs filesystem included into kernel image"
  438. select ADK_LINUX_INITRAMFS_BUILTIN
  439. depends on \
  440. ADK_LINUX_X86_ALIX || \
  441. ADK_LINUX_PPC || \
  442. ADK_LINUX_SPARC || \
  443. ADK_HARDWARE_QEMU || \
  444. ADK_LINUX_X86 || \
  445. ADK_LINUX_X86_64 || \
  446. ADK_LINUX_NATIVE
  447. help
  448. create an read-only initramfs system.
  449. config ADK_TARGET_ROOTFS_SQUASHFS
  450. bool "Compressed read-only root filesystem (squashfs)"
  451. select ADK_KERNEL_SQUASHFS
  452. depends on \
  453. ADK_LINUX_CRIS_FOXBOARD || \
  454. ADK_LINUX_MIPS_AG241
  455. help
  456. highly compressed read-only filesystem for flash.
  457. config ADK_TARGET_ROOTFS_YAFFS
  458. bool "YAFFS2 rootfilesystem (NAND)"
  459. select ADK_KERNEL_MISC_FILESYSTEMS
  460. select ADK_KERNEL_YAFFS_FS
  461. select ADK_KERNEL_YAFFS_YAFFS2
  462. depends on \
  463. ADK_LINUX_MIPS_RB532 || \
  464. ADK_LINUX_MIPS_RB4XX
  465. help
  466. Root filesystem on NAND.
  467. config ADK_TARGET_ROOTFS_NFSROOT
  468. bool "NFS root"
  469. depends on \
  470. ADK_LINUX_CRIS_FOXBOARD || \
  471. ADK_LINUX_ARM_FOXG20 || \
  472. ADK_LINUX_X86_ALIX || \
  473. ADK_LINUX_X86_WRAP || \
  474. ADK_LINUX_MIPS_BRCM || \
  475. ADK_LINUX_MIPS_RB532 || \
  476. ADK_LINUX_MIPS_RB4XX || \
  477. ADK_LINUX_MIPS_AG241 || \
  478. ADK_LINUX_NATIVE
  479. select ADK_KERNEL_SUNRPC
  480. select ADK_KERNEL_NFS_FS
  481. select ADK_KERNEL_NFS_V3
  482. select ADK_KERNEL_ROOT_NFS
  483. select ADK_KERNEL_NFS_COMMON
  484. select ADK_KERNEL_IP_PNP
  485. select ADK_KERNEL_IP_PNP_DHCP
  486. help
  487. Root filesystem mounted via NFS. (DHCP)
  488. config ADK_TARGET_ROOTFS_USB
  489. bool "Boot from USB stick"
  490. select ADK_KERNEL_NLS
  491. select ADK_KERNEL_SCSI
  492. select ADK_KERNEL_BLK_DEV_SD
  493. select ADK_KERNEL_USB
  494. select ADK_KERNEL_USB_EHCI_HCD
  495. select ADK_KERNEL_USB_UHCI_HCD
  496. select ADK_KERNEL_USB_STORAGE
  497. select ADK_KERNEL_EXT2_FS
  498. depends on ADK_LINUX_X86 || ADK_LINUX_X86_64
  499. depends on !ADK_HARDWARE_QEMU
  500. help
  501. Boot system from USB stick.
  502. config ADK_TARGET_ROOTFS_EXT2_BLOCK
  503. bool "read-write filesystem for block devices with ext2"
  504. depends on ADK_LINUX_X86_ALIX || \
  505. ADK_LINUX_X86_WRAP || \
  506. ADK_LINUX_ARM_FOXG20 || \
  507. ADK_LINUX_MIPS_RB532
  508. select ADK_KERNEL_EXT2_FS
  509. select ADK_KERNEL_SCSI
  510. help
  511. Use this option if you have a compact flash or mmc/sd card
  512. reader inside your hardware and want to boot from it.
  513. config ADK_TARGET_ROOTFS_ARCHIVE
  514. bool "Archive usable for different filesystems"
  515. depends on \
  516. ADK_LINUX_NATIVE || \
  517. ADK_LINUX_ARM || \
  518. ADK_LINUX_ARMEL || \
  519. ADK_LINUX_MIPS || \
  520. ADK_LINUX_MIPSEL || \
  521. ADK_LINUX_MIPS64 || \
  522. ADK_LINUX_MIPS64EL || \
  523. ADK_LINUX_PPC || \
  524. ADK_LINUX_PPC64 || \
  525. ADK_LINUX_SPARC || \
  526. ADK_LINUX_SPARC64 || \
  527. ADK_LINUX_QEMU || \
  528. ADK_LINUX_X86 || \
  529. ADK_LINUX_X86_64
  530. help
  531. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  532. config ADK_TARGET_ROOTFS_ENCRYPTED
  533. bool "Encrypted read-write root filesystem"
  534. select ADK_LINUX_INITRAMFS_BUILTIN
  535. select ADK_PACKAGE_CRYPTINIT
  536. select ADK_KERNEL_BLK_DEV_DM
  537. select ADK_KERNEL_DM_CRYPT
  538. select ADK_KERNEL_CRYPTO_AES
  539. select ADK_KERNEL_CRYPTO_CBC
  540. select ADK_KERNEL_CRYPTO_SHA256
  541. select ADK_KERNEL_XFS_FS
  542. depends on ADK_LINUX_X86 || ADK_LINUX_X86_64
  543. depends on !ADK_HARDWARE_QEMU
  544. help
  545. Use this option if you want an encrypted rootfs.
  546. Default is XFS filesystem. Use following commands to setup
  547. your hard disk, after booting via NFS or USB.
  548. Create at least three partitions with fdisk
  549. /dev/sda1 (ext2)
  550. /dev/sda2 (encrypted root)
  551. /dev/sda3 (swap)
  552. mkdir /mnt/{boot,root}
  553. cryptsetup luksFormat /dev/sda2
  554. cryptsetup luksOpen /dev/sda2 root
  555. cryptsetup luksFormat /dev/sda3
  556. cryptsetup luksOpen /dev/sda3 swap
  557. mkswap /dev/mapper/swap
  558. mkfs.xfs /dev/mapper/root
  559. mount /dev/mapper/root /mnt/root
  560. tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
  561. mount /dev/sda1 /mnt/boot
  562. mkdir /mnt/boot/boot
  563. cp lemote-mips-kernel /mnt/boot/boot
  564. mv /mnt/root/boot/boot.cfg /mnt/boot/boot
  565. cd /mnt/root ; mknod -m 644 console c 5 1
  566. endchoice
  567. choice
  568. prompt "Compression method for initramfs and kernel"
  569. depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  570. config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  571. boolean
  572. prompt "lzma"
  573. select ADK_KERNEL_RD_LZMA
  574. select ADK_KERNEL_KERNEL_LZMA
  575. help
  576. Select LZMA compression.
  577. config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  578. boolean
  579. prompt "gzip"
  580. select ADK_KERNEL_RD_GZIP
  581. select ADK_KERNEL_KERNEL_GZIP
  582. help
  583. Select gzip compression.
  584. config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  585. boolean
  586. prompt "bzip2"
  587. select ADK_KERNEL_RD_BZIP2
  588. select ADK_KERNEL_KERNEL_BZIP2
  589. help
  590. Select BZIP2 compression.
  591. #config ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  592. # boolean
  593. # prompt "lzo"
  594. # select ADK_KERNEL_RD_LZO
  595. # select ADK_KERNEL_KERNEL_LZO
  596. # help
  597. # Select LZO compression.
  598. endchoice
  599. choice
  600. prompt "Compression method for Kernel"
  601. depends on !(ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK || ADK_TOOLCHAIN_ONLY || ADK_LINUX_ARM_FOXG20 )
  602. config ADK_TARGET_KERNEL_COMPRESSION_LZMA
  603. boolean
  604. prompt "lzma"
  605. select ADK_KERNEL_KERNEL_LZMA
  606. help
  607. Select LZMA compression for Kernel.
  608. config ADK_TARGET_KERNEL_COMPRESSION_GZIP
  609. boolean
  610. prompt "gzip"
  611. select ADK_KERNEL_KERNEL_GZIP
  612. help
  613. Select gzip compression for Kernel.
  614. config ADK_TARGET_KERNEL_COMPRESSION_BZIP2
  615. boolean
  616. prompt "bzip2"
  617. select ADK_KERNEL_KERNEL_BZIP2
  618. help
  619. Select BZIP2 compression for Kernel.
  620. config ADK_TARGET_KERNEL_COMPRESSION_LZO
  621. boolean
  622. prompt "lzo"
  623. select ADK_KERNEL_KERNEL_LZO
  624. help
  625. Select LZO compression for Kernel.
  626. endchoice
  627. config ADK_COMPRESSION_TOOL
  628. string
  629. default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  630. default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  631. default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  632. default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  633. help
  634. choice
  635. prompt "Root filesystem type"
  636. depends on ADK_TARGET_ROOTFS_ARCHIVE
  637. default ADK_TARGET_ROOT_EXT2_FS
  638. config ADK_TARGET_ROOT_EXT2
  639. boolean
  640. prompt "EXT2 filesystem"
  641. select ADK_KERNEL_EXT2_FS
  642. help
  643. Compile EXT2 filesystem into kernel and use it as root filesystem.
  644. config ADK_TARGET_ROOT_EXT3
  645. boolean
  646. prompt "EXT3 filesystem"
  647. select ADK_KERNEL_EXT3_FS
  648. help
  649. Compile EXT3 filesystem into kernel and use it as root filesystem.
  650. config ADK_TARGET_ROOT_EXT4
  651. boolean
  652. prompt "EXT4 filesystem"
  653. select ADK_KERNEL_EXT4_FS
  654. help
  655. Compile EXT4 filesystem into kernel and use it as root filesystem.
  656. config ADK_TARGET_ROOT_XFS
  657. boolean
  658. prompt "XFS filesystem"
  659. select ADK_KERNEL_XFS_FS
  660. help
  661. Compile XFS filesystem into kernel and use it as root filesystem.
  662. endchoice
  663. config ADK_TARGET_ROOTFS
  664. string
  665. default "xfs" if ADK_TARGET_ROOT_XFS
  666. default "ext2" if ADK_TARGET_ROOT_EXT2
  667. default "ext3" if ADK_TARGET_ROOT_EXT3
  668. default "ext4" if ADK_TARGET_ROOT_EXT4
  669. help
  670. config ADK_PACKAGE_SUFFIX
  671. string
  672. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  673. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  674. help
  675. choice
  676. prompt "Package backend format"
  677. default ADK_TARGET_PACKAGE_IPKG
  678. config ADK_TARGET_PACKAGE_IPKG
  679. boolean
  680. prompt "ipkg package format"
  681. select BUSYBOX_IPKG
  682. help
  683. Create ipkg packages and use ipkg package management on
  684. the target.
  685. config ADK_TARGET_PACKAGE_TGZ
  686. boolean
  687. prompt "tar archive (no package manager)"
  688. help
  689. Create compressed tar archives of packages.
  690. Pre- and post install scripts will be executed in the target
  691. directory. There will be no package manager installed onto the target.
  692. endchoice
  693. endmenu