Config.in 17 KB

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