Config.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  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_LINUX_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_LINUX_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. select ADK_KERNEL_SUNRPC
  479. select ADK_KERNEL_NFS_FS
  480. select ADK_KERNEL_NFS_V3
  481. select ADK_KERNEL_ROOT_NFS
  482. select ADK_KERNEL_NFS_COMMON
  483. select ADK_KERNEL_IP_PNP
  484. select ADK_KERNEL_IP_PNP_DHCP
  485. help
  486. Root filesystem mounted via NFS. (DHCP)
  487. config ADK_TARGET_ROOTFS_USB
  488. bool "Boot from USB stick"
  489. select ADK_KERNEL_NLS
  490. select ADK_KERNEL_SCSI
  491. select ADK_KERNEL_BLK_DEV_SD
  492. select ADK_KERNEL_USB
  493. select ADK_KERNEL_USB_EHCI_HCD
  494. select ADK_KERNEL_USB_UHCI_HCD
  495. select ADK_KERNEL_USB_STORAGE
  496. select ADK_KERNEL_EXT2_FS
  497. depends on ADK_LINUX_X86 || ADK_LINUX_X86_64
  498. depends on !ADK_HARDWARE_QEMU
  499. help
  500. Boot system from USB stick.
  501. config ADK_TARGET_ROOTFS_EXT2_BLOCK
  502. bool "read-write filesystem for block devices with ext2"
  503. depends on ADK_LINUX_X86_ALIX || \
  504. ADK_LINUX_X86_WRAP || \
  505. ADK_LINUX_ARM_FOXG20 || \
  506. ADK_LINUX_MIPS_RB532
  507. select ADK_KERNEL_EXT2_FS
  508. select ADK_KERNEL_SCSI
  509. help
  510. Use this option if you have a compact flash or mmc/sd card
  511. reader inside your hardware and want to boot from it.
  512. config ADK_TARGET_ROOTFS_ARCHIVE
  513. bool "Archive usable for different filesystems"
  514. depends on \
  515. ADK_LINUX_NATIVE || \
  516. ADK_LINUX_ARM || \
  517. ADK_LINUX_AMREL || \
  518. ADK_LINUX_MIPS || \
  519. ADK_LINUX_MIPSEL || \
  520. ADK_LINUX_MIPS64 || \
  521. ADK_LINUX_MIPS64EL || \
  522. ADK_LINUX_PPC || \
  523. ADK_LINUX_PPC64 || \
  524. ADK_LINUX_SPARC || \
  525. ADK_LINUX_SPARC64 || \
  526. ADK_LINUX_QEMU || \
  527. ADK_LINUX_X86 || \
  528. ADK_LINUX_X86_64
  529. help
  530. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  531. config ADK_TARGET_ROOTFS_ENCRYPTED
  532. bool "Encrypted read-write root filesystem"
  533. select ADK_LINUX_INITRAMFS_BUILTIN
  534. select ADK_PACKAGE_CRYPTINIT
  535. select ADK_KERNEL_BLK_DEV_DM
  536. select ADK_KERNEL_DM_CRYPT
  537. select ADK_KERNEL_CRYPTO_AES
  538. select ADK_KERNEL_CRYPTO_CBC
  539. select ADK_KERNEL_CRYPTO_SHA256
  540. select ADK_KERNEL_XFS_FS
  541. depends on ADK_LINUX_X86 || ADK_LINUX_X86_64
  542. depends on !ADK_HARDWARE_QEMU
  543. help
  544. Use this option if you want an encrypted rootfs.
  545. Default is XFS filesystem. Use following commands to setup
  546. your hard disk, after booting via NFS or USB.
  547. Create at least three partitions with fdisk
  548. /dev/sda1 (ext2)
  549. /dev/sda2 (encrypted root)
  550. /dev/sda3 (swap)
  551. mkdir /mnt/{boot,root}
  552. cryptsetup luksFormat /dev/sda2
  553. cryptsetup luksOpen /dev/sda2 root
  554. cryptsetup luksFormat /dev/sda3
  555. cryptsetup luksOpen /dev/sda3 swap
  556. mkswap /dev/mapper/swap
  557. mkfs.xfs /dev/mapper/root
  558. mount /dev/mapper/root /mnt/root
  559. tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
  560. mount /dev/sda1 /mnt/boot
  561. mkdir /mnt/boot/boot
  562. cp lemote-mips-kernel /mnt/boot/boot
  563. mv /mnt/root/boot/boot.cfg /mnt/boot/boot
  564. cd /mnt/root ; mknod -m 644 console c 5 1
  565. endchoice
  566. choice
  567. prompt "Compression method for initramfs and kernel"
  568. depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  569. config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  570. boolean
  571. prompt "lzma"
  572. select ADK_KERNEL_RD_LZMA
  573. select ADK_KERNEL_KERNEL_LZMA
  574. help
  575. Select LZMA compression.
  576. config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  577. boolean
  578. prompt "gzip"
  579. select ADK_KERNEL_RD_GZIP
  580. select ADK_KERNEL_KERNEL_GZIP
  581. help
  582. Select gzip compression.
  583. config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  584. boolean
  585. prompt "bzip2"
  586. select ADK_KERNEL_RD_BZIP2
  587. select ADK_KERNEL_KERNEL_BZIP2
  588. help
  589. Select BZIP2 compression.
  590. #config ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  591. # boolean
  592. # prompt "lzo"
  593. # select ADK_KERNEL_RD_LZO
  594. # select ADK_KERNEL_KERNEL_LZO
  595. # help
  596. # Select LZO compression.
  597. endchoice
  598. choice
  599. prompt "Compression method for Kernel"
  600. depends on !(ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK || ADK_TOOLCHAIN_ONLY || ADK_LINUX_ARM_FOXG20 )
  601. config ADK_TARGET_KERNEL_COMPRESSION_LZMA
  602. boolean
  603. prompt "lzma"
  604. select ADK_KERNEL_KERNEL_LZMA
  605. help
  606. Select LZMA compression for Kernel.
  607. config ADK_TARGET_KERNEL_COMPRESSION_GZIP
  608. boolean
  609. prompt "gzip"
  610. select ADK_KERNEL_KERNEL_GZIP
  611. help
  612. Select gzip compression for Kernel.
  613. config ADK_TARGET_KERNEL_COMPRESSION_BZIP2
  614. boolean
  615. prompt "bzip2"
  616. select ADK_KERNEL_KERNEL_BZIP2
  617. help
  618. Select BZIP2 compression for Kernel.
  619. config ADK_TARGET_KERNEL_COMPRESSION_LZO
  620. boolean
  621. prompt "lzo"
  622. select ADK_KERNEL_KERNEL_LZO
  623. help
  624. Select LZO compression for Kernel.
  625. endchoice
  626. config ADK_COMPRESSION_TOOL
  627. string
  628. default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
  629. default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
  630. default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
  631. default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
  632. help
  633. choice
  634. prompt "Root filesystem type"
  635. depends on ADK_TARGET_ROOTFS_ARCHIVE
  636. default ADK_TARGET_ROOT_EXT2_FS
  637. config ADK_TARGET_ROOT_EXT2
  638. boolean
  639. prompt "EXT2 filesystem"
  640. select ADK_KERNEL_EXT2_FS
  641. help
  642. Compile EXT2 filesystem into kernel and use it as root filesystem.
  643. config ADK_TARGET_ROOT_EXT3
  644. boolean
  645. prompt "EXT3 filesystem"
  646. select ADK_KERNEL_EXT3_FS
  647. help
  648. Compile EXT3 filesystem into kernel and use it as root filesystem.
  649. config ADK_TARGET_ROOT_EXT4
  650. boolean
  651. prompt "EXT4 filesystem"
  652. select ADK_KERNEL_EXT4_FS
  653. help
  654. Compile EXT4 filesystem into kernel and use it as root filesystem.
  655. config ADK_TARGET_ROOT_XFS
  656. boolean
  657. prompt "XFS filesystem"
  658. select ADK_KERNEL_XFS_FS
  659. help
  660. Compile XFS filesystem into kernel and use it as root filesystem.
  661. endchoice
  662. config ADK_TARGET_ROOTFS
  663. string
  664. default "xfs" if ADK_TARGET_ROOT_XFS
  665. default "ext2" if ADK_TARGET_ROOT_EXT2
  666. default "ext3" if ADK_TARGET_ROOT_EXT3
  667. default "ext4" if ADK_TARGET_ROOT_EXT4
  668. help
  669. config ADK_PACKAGE_SUFFIX
  670. string
  671. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  672. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  673. help
  674. choice
  675. prompt "Package backend format"
  676. default ADK_TARGET_PACKAGE_IPKG
  677. config ADK_TARGET_PACKAGE_IPKG
  678. boolean
  679. prompt "ipkg package format"
  680. select BUSYBOX_IPKG
  681. help
  682. Create ipkg packages and use ipkg package management on
  683. the target.
  684. config ADK_TARGET_PACKAGE_TGZ
  685. boolean
  686. prompt "tar archive (no package manager)"
  687. help
  688. Create compressed tar archives of packages.
  689. Pre- and post install scripts will be executed in the target
  690. directory. There will be no package manager installed onto the target.
  691. endchoice
  692. endmenu