1
0

Config.in 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  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. source "target/config/Config.in.arch"
  4. source "target/config/Config.in.system"
  5. # hardware features
  6. config ADK_TARGET_WITH_USB
  7. boolean
  8. config ADK_TARGET_WITH_PCI
  9. boolean
  10. config ADK_TARGET_WITH_SSB
  11. boolean
  12. config ADK_TARGET_WITH_MINIPCI
  13. boolean
  14. config ADK_TARGET_WITH_VGA
  15. boolean
  16. config ADK_TARGET_WITH_CF
  17. boolean
  18. config ADK_TARGET_WITH_MMC
  19. boolean
  20. config ADK_TARGET_WITH_NAND
  21. boolean
  22. config ADK_TARGET_WITH_MTD
  23. boolean
  24. config ADK_TARGET_WITH_GEODE_CRYPTO
  25. boolean
  26. config ADK_TARGET_WITH_HDD
  27. boolean
  28. config ADK_TARGET_WITH_SATA
  29. boolean
  30. config ADK_TARGET_WITH_INPUT
  31. boolean
  32. config ADK_TARGET_WITH_LEDS
  33. boolean
  34. config ADK_TARGET_WITH_PP
  35. boolean
  36. config ADK_TARGET_WITH_CARDBUS
  37. boolean
  38. config ADK_TARGET_WITH_RTC
  39. boolean
  40. config ADK_TARGET_WITH_WATCHDOG
  41. boolean
  42. config ADK_TARGET_WITH_DSL
  43. boolean
  44. config ADK_TARGET_WITH_USB_BOOT
  45. boolean
  46. # global features
  47. config ADK_TOOLCHAIN_ONLY
  48. boolean
  49. config ADK_TARGET_NO_FPU
  50. boolean
  51. config ADK_EABI
  52. boolean
  53. config ADK_LINUX_64
  54. boolean
  55. config ADK_HARDWARE_QEMU
  56. boolean
  57. # cpu features
  58. config ADK_TARGET_CPU_WITH_VT
  59. boolean
  60. config ADK_TARGET_CPU_WITH_MMX
  61. boolean
  62. config ADK_TARGET_CPU_WITH_MMXEXT
  63. boolean
  64. config ADK_TARGET_CPU_WITH_SSE
  65. boolean
  66. config ADK_TARGET_CPU_WITH_SSE2
  67. boolean
  68. config ADK_TARGET_CPU_WITH_3DNOW
  69. boolean
  70. config ADK_TARGET_CPU_WITH_3DNOWEXT
  71. boolean
  72. # cpu configuration
  73. config ADK_CPU_SPARC_V8
  74. boolean
  75. config ADK_CPU_SPARC_V9
  76. boolean
  77. config ADK_CPU_I486
  78. boolean
  79. config ADK_CPU_I586
  80. boolean
  81. config ADK_CPU_I686
  82. boolean
  83. config ADK_CPU_GEODE
  84. boolean
  85. config ADK_CPU_PENTIUM_M
  86. boolean
  87. config ADK_CPU_AMDFAM10
  88. select ADK_TARGET_CPU_WITH_VT
  89. boolean
  90. config ADK_CPU_LOONGSON2F
  91. boolean
  92. config ADK_CPU_ARMV5
  93. boolean
  94. config ADK_TARGET_CPU_ARCH
  95. string
  96. default "i486" if ADK_CPU_I486
  97. default "i586" if ADK_CPU_I586
  98. default "i686" if ADK_CPU_I686
  99. default "i586" if ADK_CPU_GEODE
  100. default "i686" if ADK_CPU_PENTIUM_M
  101. config ADK_TARGET_CFLAGS
  102. string
  103. default "-march=geode" if ADK_CPU_GEODE
  104. default "-march=i486" if ADK_CPU_I486
  105. default "-march=i586" if ADK_CPU_I586
  106. default "-march=i686" if ADK_CPU_I686
  107. default "-march=pentium-m" if ADK_CPU_PENTIUM_M
  108. default "-march=amdfam10" if ADK_CPU_AMDFAM10
  109. default "-mcpu=v8" if ADK_CPU_SPARC_V8
  110. default "-mcpu=v9" if ADK_CPU_SPARC_V9
  111. default "-march=loongson2f" if ADK_CPU_LOONGSON2F
  112. default "-march=armv5te -mtune=arm926ej-s" if ADK_CPU_ARMV5
  113. config ADK_TARGET_CMDLINE
  114. string
  115. default "console=ttyS0,38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  116. default "console=ttyS0,115200 console=tty0 irqpoll geodewdt.nowayout=1" if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
  117. default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_IBM_X40
  118. default "console=ttyS0,115200"
  119. # c library
  120. config ADK_uclibc
  121. tristate
  122. config ADK_eglibc
  123. tristate
  124. config ADK_glibc
  125. tristate
  126. config ADK_libc
  127. tristate
  128. config ADK_TARGET_LIBC
  129. string
  130. default "uclibc" if ADK_uclibc
  131. default "eglibc" if ADK_eglibc
  132. default "glibc" if ADK_glibc
  133. default "libc" if ADK_libc
  134. source "target/linux/config/Config.in.kernel"
  135. choice
  136. prompt "Target C library"
  137. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  138. config ADK_TARGET_LIB_UCLIBC
  139. bool "uClibc embedded C library"
  140. depends on \
  141. !ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
  142. !ADK_LINUX_SPARC64 && \
  143. !ADK_LINUX_SPARC && \
  144. !ADK_LINUX_PPC64
  145. select ADK_uclibc
  146. help
  147. http://uclibc.org
  148. config ADK_TARGET_LIB_EGLIBC
  149. bool "Embedded GNU C library"
  150. select ADK_eglibc
  151. depends on \
  152. ADK_LINUX_ARM || \
  153. ADK_LINUX_ARMEB || \
  154. ADK_LINUX_MIPS || \
  155. ADK_LINUX_MIPSEL || \
  156. ADK_LINUX_MIPS64 || \
  157. ADK_LINUX_MIPS64EL || \
  158. ADK_LINUX_PPC || \
  159. ADK_LINUX_PPC64 || \
  160. ADK_LINUX_SPARC || \
  161. ADK_LINUX_SPARC64 || \
  162. ADK_LINUX_X86 || \
  163. ADK_LINUX_X86_64
  164. help
  165. http://www.eglibc.org
  166. config ADK_TARGET_LIB_GLIBC
  167. bool "GNU C library"
  168. select ADK_glibc
  169. depends on \
  170. ADK_LINUX_ARM || \
  171. ADK_LINUX_ARMEB || \
  172. ADK_LINUX_MIPS || \
  173. ADK_LINUX_MIPSEL || \
  174. ADK_LINUX_MIPS64 || \
  175. ADK_LINUX_MIPS64EL || \
  176. ADK_LINUX_PPC || \
  177. ADK_LINUX_PPC64 || \
  178. ADK_LINUX_SPARC || \
  179. ADK_LINUX_SPARC64 || \
  180. ADK_LINUX_X86 || \
  181. ADK_LINUX_X86_64
  182. help
  183. http://www.gnu.org/libc
  184. endchoice
  185. config ADK_TARGET_SUFFIX
  186. string
  187. default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
  188. default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
  189. default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
  190. default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
  191. choice
  192. prompt "Target firmware type"
  193. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN_ONLY
  194. default ADK_TARGET_ROOTFS_ARCHIVE
  195. config ADK_TARGET_ROOTFS_INITRAMFS
  196. bool "initramfs filesystem"
  197. depends on \
  198. ADK_LINUX_PPC || \
  199. ADK_LINUX_SPARC || \
  200. ADK_LINUX_X86 || \
  201. ADK_LINUX_X86_64 || \
  202. ADK_LINUX_NATIVE
  203. select ADK_KERNEL_BLK_DEV_INITRD
  204. help
  205. create an read-only initramfs system.
  206. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  207. bool "initramfs filesystem included into kernel image"
  208. select ADK_LINUX_INITRAMFS_BUILTIN
  209. depends on \
  210. ADK_LINUX_PPC || \
  211. ADK_LINUX_SPARC || \
  212. ADK_LINUX_X86 || \
  213. ADK_LINUX_X86_64 || \
  214. ADK_LINUX_NATIVE
  215. help
  216. create an read-only initramfs system.
  217. config ADK_TARGET_ROOTFS_SQUASHFS
  218. bool "Compressed read-only root filesystem (squashfs)"
  219. select ADK_KERNEL_SQUASHFS
  220. depends on ADK_TARGET_WITH_MTD
  221. help
  222. highly compressed read-only filesystem for MTD flash systems.
  223. config ADK_TARGET_ROOTFS_YAFFS
  224. bool "YAFFS2 root filesystem (NAND)"
  225. select ADK_KERNEL_MISC_FILESYSTEMS
  226. select ADK_KERNEL_YAFFS_FS
  227. select ADK_KERNEL_YAFFS_YAFFS2
  228. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  229. depends on ADK_TARGET_WITH_NAND
  230. help
  231. Root filesystem on NAND flash with YAFFS2.
  232. config ADK_TARGET_ROOTFS_NFSROOT
  233. bool "NFS root"
  234. select ADK_KERNEL_NETWORK_FILESYSTEMS
  235. select ADK_KERNEL_SUNRPC
  236. select ADK_KERNEL_NFS_FS
  237. select ADK_KERNEL_NFS_V3
  238. select ADK_KERNEL_ROOT_NFS
  239. select ADK_KERNEL_NFS_COMMON
  240. select ADK_KERNEL_IP_PNP
  241. select ADK_KERNEL_IP_PNP_DHCP
  242. help
  243. Root filesystem mounted via NFS. (DHCP)
  244. config ADK_TARGET_ROOTFS_USB
  245. bool "Boot from USB stick"
  246. select ADK_KERNEL_NLS
  247. select ADK_KERNEL_SCSI
  248. select ADK_KERNEL_BLK_DEV_SD
  249. select ADK_KERNEL_USB
  250. select ADK_KERNEL_USB_EHCI_HCD
  251. select ADK_KERNEL_USB_UHCI_HCD
  252. select ADK_KERNEL_USB_STORAGE
  253. select ADK_KERNEL_EXT2_FS
  254. depends on ADK_TARGET_WITH_USB_BOOT
  255. help
  256. Boot system from USB stick.
  257. config ADK_TARGET_ROOTFS_CF
  258. bool "read-write filesystem for compact flash"
  259. depends on ADK_TARGET_WITH_CF
  260. select ADK_KERNEL_EXT2_FS
  261. select ADK_KERNEL_SCSI
  262. help
  263. Use this option if you have a compact flash based system.
  264. (ext2 filesystem is used.)
  265. config ADK_TARGET_ROOTFS_MMC
  266. bool "read-write filesystem for mmc/sdcard"
  267. depends on ADK_TARGET_WITH_MMC
  268. select ADK_KERNEL_EXT2_FS
  269. select ADK_KERNEL_SCSI
  270. help
  271. Use this option if you have a MMC/SDCARD based system.
  272. (ext2 filesystem is used.)
  273. config ADK_TARGET_ROOTFS_ARCHIVE
  274. bool "Archive usable for different filesystems"
  275. depends on ADK_HARDWARE_QEMU
  276. help
  277. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  278. endchoice
  279. choice
  280. prompt "Root filesystem type"
  281. depends on ADK_TARGET_ROOTFS_ARCHIVE
  282. default ADK_TARGET_ROOT_EXT2_FS
  283. config ADK_TARGET_ROOT_EXT2
  284. boolean
  285. prompt "EXT2 filesystem"
  286. select ADK_KERNEL_EXT2_FS
  287. help
  288. Compile EXT2 filesystem into kernel and use it as root filesystem.
  289. config ADK_TARGET_ROOT_EXT3
  290. boolean
  291. prompt "EXT3 filesystem"
  292. select ADK_KERNEL_EXT3_FS
  293. help
  294. Compile EXT3 filesystem into kernel and use it as root filesystem.
  295. config ADK_TARGET_ROOT_EXT4
  296. boolean
  297. prompt "EXT4 filesystem"
  298. select ADK_KERNEL_EXT4_FS
  299. help
  300. Compile EXT4 filesystem into kernel and use it as root filesystem.
  301. config ADK_TARGET_ROOT_XFS
  302. boolean
  303. prompt "XFS filesystem"
  304. select ADK_KERNEL_XFS_FS
  305. help
  306. Compile XFS filesystem into kernel and use it as root filesystem.
  307. endchoice
  308. config ADK_TARGET_ROOTFS
  309. string
  310. default "xfs" if ADK_TARGET_ROOT_XFS
  311. default "ext2" if ADK_TARGET_ROOT_EXT2
  312. default "ext3" if ADK_TARGET_ROOT_EXT3
  313. default "ext4" if ADK_TARGET_ROOT_EXT4
  314. help
  315. config ADK_PACKAGE_SUFFIX
  316. string
  317. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  318. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  319. help
  320. choice
  321. prompt "Target package format"
  322. default ADK_TARGET_PACKAGE_IPKG
  323. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  324. config ADK_TARGET_PACKAGE_IPKG
  325. boolean
  326. prompt "ipkg"
  327. select BUSYBOX_IPKG
  328. help
  329. Create ipkg packages and use ipkg package management on the target.
  330. config ADK_TARGET_PACKAGE_TGZ
  331. boolean
  332. prompt "tar archive"
  333. help
  334. Create compressed tar archives of packages.
  335. Pre- and post install scripts will be executed in the target
  336. directory. There will be no package manager installed onto the target.
  337. endchoice