Config.in 12 KB

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