Config.in 17 KB

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