1
0

Config.in 9.3 KB

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