Config.in 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  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_DEVICE_NO_FPU
  7. bool
  8. config ADK_LINUX_64
  9. bool
  10. config ADK_NATIVE
  11. tristate
  12. config ADK_alix1c
  13. tristate
  14. config ADK_qemu_x86
  15. tristate
  16. config ADK_qemu_mips
  17. tristate
  18. config ADK_qemu_mipsel
  19. tristate
  20. config ADK_qemu_mips64
  21. tristate
  22. config ADK_qemu_mips64el
  23. tristate
  24. config ADK_qemu_cris
  25. tristate
  26. config ADK_rb532
  27. tristate
  28. config ADK_rb411
  29. tristate
  30. config ADK_rb433
  31. tristate
  32. config ADK_zaurus
  33. tristate
  34. config ADK_foxboard
  35. tristate
  36. config ADK_lemote
  37. tristate
  38. config ADK_rescue_x86
  39. tristate
  40. config ADK_rescue_x86_64
  41. tristate
  42. config ADK_rescue_mips
  43. tristate
  44. config ADK_rescue_mipsel
  45. tristate
  46. config ADK_wag54g
  47. tristate
  48. config ADK_DEVICE
  49. string
  50. default "alix1c" if ADK_alix1c
  51. default "qemu-x86" if ADK_qemu_x86
  52. default "qemu-mips" if ADK_qemu_mips
  53. default "qemu-mipsel" if ADK_qemu_mipsel
  54. default "qemu-mips64" if ADK_qemu_mips64
  55. default "qemu-mips64el" if ADK_qemu_mips64el
  56. default "qemu-cris" if ADK_qemu_cris
  57. default "foxboard" if ADK_foxboard
  58. default "native" if ADK_NATIVE
  59. default "rb532" if ADK_rb532
  60. default "rb411" if ADK_rb411
  61. default "rb433" if ADK_rb433
  62. default "zaurus" if ADK_arm
  63. default "lemote" if ADK_lemote
  64. default "wag54g" if ADK_wag54g
  65. default "rescue-x86" if ADK_rescue_x86
  66. default "rescue-x86_64" if ADK_rescue_x86_64
  67. default "rescue-mips" if ADK_rescue_mips
  68. default "rescue-mipsel" if ADK_rescue_mipsel
  69. menu "Target system"
  70. choice
  71. prompt "Embedded Device"
  72. default ADK_LINUX_NATIVE
  73. config ADK_LINUX_NATIVE
  74. bool "Native platform"
  75. select ADK_NATIVE
  76. help
  77. Make a native build. Use host tools.
  78. No toolchain will be created.
  79. config ADK_LINUX_X86_ALIX1C
  80. bool "PC Engines Alix1C"
  81. select ADK_alix1c
  82. select ADK_KERNEL_SCSI
  83. select ADK_KERNEL_EXT2_FS
  84. select ADK_KERNEL_NETDEVICES
  85. select ADK_KERNEL_NET_PCI
  86. select ADK_KERNEL_NETDEVICES
  87. select ADK_KERNEL_NET_ETHERNET
  88. select ADK_KERNEL_MII
  89. select BUSYBOX_HWCLOCK
  90. help
  91. http://www.pcengines.ch/
  92. config ADK_LINUX_CRIS_FOXBOARD
  93. bool "Foxboard (ETRAX LX100)"
  94. select ADK_foxboard
  95. select ADK_PACKAGE_KMOD_USB_CONTROLLER
  96. help
  97. Foxboard support
  98. config ADK_LINUX_MIPS64_LEMOTE
  99. bool "Lemote Subnotebook Yeeloong"
  100. select ADK_lemote
  101. select ADK_LINUX_64
  102. select ADK_KERNEL_BLK_DEV_SD
  103. select ADK_KERNEL_INPUT_KEYBOARD
  104. select ADK_KERNEL_NETDEVICES
  105. select ADK_KERNEL_NET_PCI
  106. select ADK_KERNEL_NET_ETHERNET
  107. select ADK_KERNEL_MII
  108. select ADK_KERNEL_SWAP
  109. help
  110. Lemote Subnotebook
  111. config ADK_LINUX_MIKROTIK
  112. bool "Mikrotik Routerboards"
  113. help
  114. Support for Mikrotik Routerboards
  115. config ADK_LINUX_MIPS_WAG54G
  116. bool "Linksys WAG54G"
  117. select ADK_KERNEL_NETDEVICES
  118. select ADK_KERNEL_NET_PCI
  119. select ADK_KERNEL_NET_ETHERNET
  120. select ADK_KERNEL_MII
  121. select ADK_wag54g
  122. help
  123. Linksys WAG54G DSL router with Wireless
  124. TI AR7 platform
  125. config ADK_LINUX_XSCALE_ZAURUS
  126. bool "Zaurus SL-C3200"
  127. depends on ADK_BROKEN
  128. select ADK_zaurus
  129. select ADK_DEVICE_NO_FPU
  130. help
  131. Support for Sharp Zaurus SL-C3200 (aka Terrier)
  132. config ADK_LINUX_RESCUE
  133. bool "Minimal Linux Rescuesystem"
  134. help
  135. Rescuesystem with can be used to Boot from Disk or USB stick.
  136. config ADK_LINUX_QEMU
  137. bool "Qemu Emulator"
  138. help
  139. Support for Qemu Emulator
  140. endchoice
  141. choice
  142. prompt "Architecture"
  143. depends on ADK_LINUX_RESCUE
  144. config ADK_LINUX_X86_64_RESCUE
  145. bool "x86_64"
  146. select ADK_rescue_x86_64
  147. select ADK_LINUX_64
  148. help
  149. X86 architecture.
  150. config ADK_LINUX_X86_RESCUE
  151. bool "x86"
  152. select ADK_rescue_x86
  153. help
  154. X86 architecture.
  155. config ADK_LINUX_MIPSEL_RESCUE
  156. bool "mips (little endian)"
  157. select ADK_rescue_mipsel
  158. help
  159. MIPS LE architecture.
  160. config ADK_LINUX_MIPS_RESCUE
  161. bool "mips (big endian)"
  162. select ADK_rescue_mips
  163. help
  164. MIPS BE architecture.
  165. endchoice
  166. choice
  167. prompt "Architecture"
  168. depends on ADK_LINUX_QEMU
  169. config ADK_LINUX_X86_QEMU
  170. bool "x86"
  171. select ADK_qemu_x86
  172. select ADK_KPACKAGE_KMOD_NE2K_PCI
  173. select ADK_KERNEL_INPUT_KEYBOARD
  174. help
  175. Qemu support for x86 architecture.
  176. config ADK_LINUX_MIPS_QEMU
  177. bool "mips (big endian)"
  178. select ADK_qemu_mips
  179. help
  180. Qemu support for MIPS BE architecture.
  181. config ADK_LINUX_MIPSEL_QEMU
  182. bool "mipsel (little endian)"
  183. select ADK_qemu_mipsel
  184. help
  185. Qemu support for MIPS LE architecture.
  186. config ADK_LINUX_MIPS64_QEMU
  187. bool "mips64 (big endian)"
  188. select ADK_qemu_mips64
  189. select ADK_LINUX_64
  190. help
  191. Qemu support for MIPS64 BE architecture.
  192. config ADK_LINUX_MIPS64EL_QEMU
  193. bool "mips64 (little endian)"
  194. select ADK_qemu_mips64el
  195. select ADK_LINUX_64
  196. help
  197. Qemu support for MIPS64 LE architecture.
  198. config ADK_LINUX_CRIS_QEMU
  199. bool "cris"
  200. select ADK_qemu_cris
  201. # select ADK_BROKEN
  202. help
  203. Qemu support for CRISv32 architecture.
  204. endchoice
  205. choice
  206. prompt "Routerboard model"
  207. default ADK_LINUX_MIPS_RB433
  208. depends on ADK_LINUX_MIKROTIK
  209. config ADK_LINUX_MIPS_RB411
  210. bool "Mikrotik Routerboard 411"
  211. select ADK_rb411
  212. select ADK_KERNEL_NETDEVICES
  213. select ADK_KERNEL_NET_PCI
  214. select ADK_KERNEL_NETDEV_1000
  215. select ADK_KERNEL_NET_ETHERNET
  216. help
  217. Support for Mikrotik RB411.
  218. config ADK_LINUX_MIPS_RB433
  219. bool "Mikrotik Routerboard 433"
  220. select ADK_rb433
  221. select ADK_KERNEL_NETDEVICES
  222. select ADK_KERNEL_NET_PCI
  223. select ADK_KERNEL_NETDEV_1000
  224. select ADK_KERNEL_NET_ETHERNET
  225. help
  226. Support for Mikrotik RB433.
  227. config ADK_LINUX_MIPS_RB532
  228. bool "Mikrotik Routerboard 532"
  229. select ADK_rb532
  230. select ADK_KERNEL_NETDEVICES
  231. select ADK_KERNEL_NET_PCI
  232. select ADK_KERNEL_NET_ETHERNET
  233. select ADK_KERNEL_MII
  234. help
  235. Support for Mikrotik RB532.
  236. endchoice
  237. choice
  238. prompt "Device model"
  239. default ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  240. depends on ADK_LINUX_CRIS_FOXBOARD
  241. config ADK_LINUX_CRIS_FOXBOARD_CLASSIC
  242. bool "Foxboard classic (4x16)"
  243. help
  244. Foxboard classic with red board.
  245. (4 MB flash size and 16 MB RAM)
  246. config ADK_LINUX_CRIS_FOXBOARD_LX
  247. bool "Foxboard LX (8x32)"
  248. help
  249. Latest Foxboard with green board.
  250. (8 MB flash size and 32 MB RAM)
  251. endchoice
  252. source "target/linux/config/Config.in.kernel"
  253. choice
  254. prompt "Target C library"
  255. depends on ! ADK_NATIVE
  256. config ADK_TARGET_LIB_UCLIBC
  257. bool "uClibc embedded C library"
  258. # broken, because of 16kB pagesize
  259. depends on !ADK_LINUX_MIPS64_LEMOTE
  260. help
  261. http://uclibc.org
  262. config ADK_TARGET_LIB_EGLIBC
  263. bool "Embedded GNU C library"
  264. depends on ADK_LINUX_X86_QEMU || \
  265. ADK_LINUX_MIPS_QEMU || \
  266. ADK_LINUX_MIPS64_QEMU || \
  267. ADK_LINUX_MIPSEL_QEMU || \
  268. ADK_LINUX_MIPS64EL_QEMU || \
  269. ADK_LINUX_X86_ALIX1C || \
  270. ADK_LINUX_MIPS_RB411 || \
  271. ADK_LINUX_MIPS_RB532 || \
  272. ADK_LINUX_RESCUE || \
  273. ADK_LINUX_MIPS64_LEMOTE
  274. help
  275. http://www.eglibc.org
  276. config ADK_TARGET_LIB_GLIBC
  277. bool "GNU C library"
  278. depends on ADK_LINUX_X86_QEMU || \
  279. ADK_LINUX_MIPS_QEMU || \
  280. ADK_LINUX_MIPS64_QEMU || \
  281. ADK_LINUX_MIPSEL_QEMU || \
  282. ADK_LINUX_MIPS64EL_QEMU || \
  283. ADK_LINUX_X86_ALIX1C || \
  284. ADK_LINUX_MIPS_RB411 || \
  285. ADK_LINUX_RESCUE || \
  286. ADK_LINUX_MIPS64_LEMOTE
  287. help
  288. http://www.gnu.org/libc
  289. endchoice
  290. choice
  291. prompt "Target Firmware type"
  292. default ADK_TARGET_ROOTFS_EXT2_CF
  293. config ADK_TARGET_ROOTFS_INITRAMFS
  294. bool "initramfs filesystem"
  295. depends on ADK_LINUX_X86_QEMU || \
  296. ADK_LINUX_CRIS_QEMU || \
  297. ADK_LINUX_MIPS_QEMU || \
  298. ADK_LINUX_MIPSEL_QEMU || \
  299. ADK_LINUX_MIPS64_QEMU || \
  300. ADK_LINUX_MIPS64EL_QEMU || \
  301. ADK_LINUX_NATIVE || \
  302. ADK_LINUX_RESCUE
  303. select ADK_KERNEL_BLK_DEV_INITRD
  304. help
  305. create an read-only initramfs system.
  306. config ADK_TARGET_ROOTFS_SQUASHFS
  307. bool "squashfs read-only root filesystem"
  308. depends on ADK_LINUX_CRIS_FOXBOARD || \
  309. ADK_LINUX_MIPS_WAG54G
  310. help
  311. highly compressed read-only filesystem for flash.
  312. config ADK_TARGET_ROOTFS_YAFFS
  313. bool "YAFFS2 rootfilesystem (NAND)"
  314. depends on ADK_LINUX_MIPS_RB532 || \
  315. ADK_LINUX_MIPS_RB433 || \
  316. ADK_LINUX_MIPS_RB411
  317. help
  318. Root filesystem on NAND.
  319. config ADK_TARGET_ROOTFS_NFSROOT
  320. bool "NFS root"
  321. depends on ADK_LINUX_CRIS_FOXBOARD || \
  322. ADK_LINUX_X86_ALIX1C || \
  323. ADK_LINUX_MIPS_RB532 || \
  324. ADK_LINUX_MIPS_RB433 || \
  325. ADK_LINUX_MIPS_RB411 || \
  326. ADK_LINUX_MIPS_WAG54G || \
  327. ADK_LINUX_MIPS64_LEMOTE
  328. select ADK_KERNEL_NFS_FS
  329. select ADK_KERNEL_NFS_V3
  330. select ADK_KERNEL_ROOT_NFS
  331. select ADK_KERNEL_NFS_COMMON
  332. select ADK_KERNEL_IP_PNP
  333. select ADK_KERNEL_IP_PNP_DHCP
  334. help
  335. Root filesystem mounted via NFS. (DHCP)
  336. config ADK_TARGET_ROOTFS_EXT2_CF
  337. bool "read-write filesystem for compact flash (ext2)"
  338. depends on ADK_LINUX_X86_ALIX1C || ADK_LINUX_MIPS_RB532
  339. select ADK_KERNEL_EXT2_FS
  340. select ADK_KERNEL_SCSI
  341. select ADK_KERNEL_BLK_DEV_SD
  342. help
  343. Use this option if you have a compact flash
  344. inside your hardware and want to boot from it.
  345. config ADK_TARGET_ROOTFS_EXT2
  346. bool "Ext2 read-write filesystem"
  347. depends on ADK_LINUX_QEMU || \
  348. ADK_LINUX_XSCALE_ZAURUS || \
  349. ADK_LINUX_MIPS64_LEMOTE
  350. select ADK_KERNEL_EXT2_FS
  351. help
  352. Use this option if your rootfs is ext2.
  353. config ADK_TARGET_ROOTFS_ENCRYPTED
  354. bool "Encrypted read-write root filesystem"
  355. depends on ADK_LINUX_MIPS64_LEMOTE
  356. select ADK_LINUX_INITRAMFS_BUILTIN
  357. select ADK_PACKAGE_CRYPTINIT
  358. select ADK_KERNEL_BLK_DEV_DM
  359. select ADK_KERNEL_DM_CRYPT
  360. select ADK_KERNEL_CRYPTO_AES
  361. select ADK_KERNEL_CRYPTO_CBC
  362. select ADK_KERNEL_CRYPTO_SHA256
  363. select ADK_KERNEL_XFS_FS
  364. help
  365. Use this option if you want an encrypted rootfs.
  366. Default is XFS filesystem. Use following commands to setup
  367. your hard disk, after booting via NFS or USB.
  368. Create at least three partitions with fdisk
  369. /dev/sda1 (ext2)
  370. /dev/sda2 (encrypted root)
  371. /dev/sda3 (swap)
  372. mkdir /mnt/{boot,root}
  373. cryptsetup luksFormat /dev/sda2
  374. cryptsetup luksOpen /dev/sda2 root
  375. cryptsetup luksFormat /dev/sda3
  376. cryptsetup luksOpen /dev/sda3 swap
  377. mkswap /dev/mapper/swap
  378. mkfs.xfs /dev/mapper/root
  379. mount /dev/mapper/root /mnt/root
  380. tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root
  381. mount /dev/sda1 /mnt/boot
  382. mkdir /mnt/boot/boot
  383. cp lemote-mips-kernel /mnt/boot/boot
  384. mv /mnt/root/boot/boot.cfg /mnt/boot/boot
  385. cd /mnt/root ; mknod -m 644 console c 5 1
  386. endchoice
  387. config ADK_SSP
  388. bool "Enable Stack Smashing Protection"
  389. default n
  390. depends on ADK_LINUX_X86_ALIX1C || \
  391. ADK_LINUX_CRIS_FOXBOARD
  392. help
  393. Enable Stack Smashing Protection
  394. config ADK_CXX
  395. bool "Enable C++ support"
  396. default n
  397. help
  398. Enable C++ Compiler and Libraries
  399. config ADK_DEBUG
  400. bool "Enable debug support"
  401. default n
  402. help
  403. All packages and libc will be compiled and packaged with debug information.
  404. Mostly useful for NFS root or big USB/CF disk setups.
  405. config ADK_IPV6
  406. bool "Enable IPv6 support"
  407. default n
  408. select ADK_KPACKAGE_KMOD_IPV6
  409. select BUSYBOX_FEATURE_IPV6
  410. select BUSYBOX_FEATURE_IFUPDOWN_IPV6
  411. select BUSYBOX_PING6
  412. help
  413. Enable basic IPv6 support (kmod-ipv6) and
  414. make the IPv6 support options in packages visible.
  415. config ADK_X11
  416. bool "Enable X.org/X11 support"
  417. default n
  418. help
  419. Enable Xorg/X11 server and applications in menu.
  420. Try to compile other packages with X11 support.
  421. (f.e. mplayer)
  422. config ADK_DEVELSYSTEM
  423. bool "Compile a OpenADK development system"
  424. default n
  425. select ADK_PACKAGE_BASH
  426. select ADK_PACKAGE_MAKE
  427. select ADK_PACKAGE_PATCH
  428. select ADK_PACKAGE_GCC
  429. select ADK_PACKAGE_BINUTILS
  430. select ADK_PACKAGE_TAR
  431. select ADK_PACKAGE_BZIP2
  432. select ADK_PACKAGE_GAWK
  433. help
  434. After bootstrapping a Linux system you might want to
  435. switch to native builds with your target.
  436. If you choose this option, all necessary software needed
  437. for native building will be selected.
  438. endmenu