Config.in 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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. choice
  215. prompt "Target firmware type"
  216. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN_ONLY
  217. default ADK_TARGET_ROOTFS_ARCHIVE
  218. config ADK_TARGET_ROOTFS_INITRAMFS
  219. bool "initramfs filesystem"
  220. depends on \
  221. ADK_LINUX_PPC || \
  222. ADK_LINUX_SPARC || \
  223. ADK_LINUX_X86 || \
  224. ADK_LINUX_X86_64 || \
  225. ADK_LINUX_NATIVE
  226. select ADK_KERNEL_BLK_DEV_INITRD
  227. help
  228. create an read-only initramfs system.
  229. config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
  230. bool "initramfs filesystem included into kernel image"
  231. select ADK_LINUX_INITRAMFS_BUILTIN
  232. depends on \
  233. ADK_LINUX_PPC || \
  234. ADK_LINUX_SPARC || \
  235. ADK_LINUX_X86 || \
  236. ADK_LINUX_X86_64 || \
  237. ADK_LINUX_NATIVE
  238. help
  239. create an read-only initramfs system.
  240. config ADK_TARGET_ROOTFS_SQUASHFS
  241. bool "Compressed read-only root filesystem (squashfs)"
  242. select ADK_KERNEL_SQUASHFS
  243. depends on ADK_TARGET_WITH_MTD
  244. help
  245. highly compressed read-only filesystem for MTD flash systems.
  246. config ADK_TARGET_ROOTFS_YAFFS
  247. bool "YAFFS2 root filesystem (NAND)"
  248. select ADK_KERNEL_MISC_FILESYSTEMS
  249. select ADK_KERNEL_YAFFS_FS
  250. select ADK_KERNEL_YAFFS_YAFFS2
  251. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  252. depends on ADK_TARGET_WITH_NAND
  253. help
  254. Root filesystem on NAND flash with YAFFS2.
  255. config ADK_TARGET_ROOTFS_NFSROOT
  256. bool "NFS root"
  257. select ADK_KERNEL_NETWORK_FILESYSTEMS
  258. select ADK_KERNEL_SUNRPC
  259. select ADK_KERNEL_NFS_FS
  260. select ADK_KERNEL_NFS_V3
  261. select ADK_KERNEL_ROOT_NFS
  262. select ADK_KERNEL_NFS_COMMON
  263. select ADK_KERNEL_IP_PNP
  264. select ADK_KERNEL_IP_PNP_DHCP
  265. help
  266. Root filesystem mounted via NFS. (DHCP)
  267. config ADK_TARGET_ROOTFS_USB
  268. bool "Boot from USB stick"
  269. select ADK_KERNEL_NLS
  270. select ADK_KERNEL_SCSI
  271. select ADK_KERNEL_BLK_DEV_SD
  272. select ADK_KERNEL_USB
  273. select ADK_KERNEL_USB_EHCI_HCD
  274. select ADK_KERNEL_USB_OHCI_HCD
  275. select ADK_KERNEL_USB_UHCI_HCD
  276. select ADK_KERNEL_USB_STORAGE
  277. select ADK_KERNEL_EXT2_FS
  278. depends on ADK_TARGET_WITH_USB_BOOT
  279. help
  280. Boot system from USB stick.
  281. config ADK_TARGET_ROOTFS_CF
  282. bool "read-write filesystem for compact flash"
  283. depends on ADK_TARGET_WITH_CF
  284. select ADK_KERNEL_EXT2_FS
  285. select ADK_KERNEL_SCSI
  286. help
  287. Use this option if you have a compact flash based system.
  288. (ext2 filesystem is used.)
  289. config ADK_TARGET_ROOTFS_MMC
  290. bool "read-write filesystem for mmc/sdcard"
  291. depends on ADK_TARGET_WITH_MMC
  292. select ADK_KERNEL_EXT2_FS
  293. select ADK_KERNEL_SCSI
  294. help
  295. Use this option if you have a MMC/SDCARD based system.
  296. (ext2 filesystem is used.)
  297. config ADK_TARGET_ROOTFS_ARCHIVE
  298. bool "Archive usable for different filesystems"
  299. depends on ADK_HARDWARE_QEMU
  300. help
  301. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  302. endchoice
  303. choice
  304. prompt "Root filesystem type"
  305. depends on ADK_TARGET_ROOTFS_ARCHIVE
  306. default ADK_TARGET_ROOT_EXT2_FS
  307. config ADK_TARGET_ROOT_EXT2
  308. boolean
  309. prompt "EXT2 filesystem"
  310. select ADK_KERNEL_EXT2_FS
  311. help
  312. Compile EXT2 filesystem into kernel and use it as root filesystem.
  313. config ADK_TARGET_ROOT_EXT3
  314. boolean
  315. prompt "EXT3 filesystem"
  316. select ADK_KERNEL_EXT3_FS
  317. help
  318. Compile EXT3 filesystem into kernel and use it as root filesystem.
  319. config ADK_TARGET_ROOT_EXT4
  320. boolean
  321. prompt "EXT4 filesystem"
  322. select ADK_KERNEL_EXT4_FS
  323. help
  324. Compile EXT4 filesystem into kernel and use it as root filesystem.
  325. config ADK_TARGET_ROOT_XFS
  326. boolean
  327. prompt "XFS filesystem"
  328. select ADK_KERNEL_XFS_FS
  329. help
  330. Compile XFS filesystem into kernel and use it as root filesystem.
  331. endchoice
  332. config ADK_TARGET_ROOTFS
  333. string
  334. default "xfs" if ADK_TARGET_ROOT_XFS
  335. default "ext2" if ADK_TARGET_ROOT_EXT2
  336. default "ext3" if ADK_TARGET_ROOT_EXT3
  337. default "ext4" if ADK_TARGET_ROOT_EXT4
  338. help
  339. config ADK_PACKAGE_SUFFIX
  340. string
  341. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  342. default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
  343. help
  344. choice
  345. prompt "Target package format"
  346. default ADK_TARGET_PACKAGE_IPKG
  347. depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
  348. config ADK_TARGET_PACKAGE_IPKG
  349. boolean
  350. prompt "ipkg"
  351. select BUSYBOX_IPKG
  352. help
  353. Create ipkg packages and use ipkg package management on the target.
  354. config ADK_TARGET_PACKAGE_TGZ
  355. boolean
  356. prompt "tar archive"
  357. help
  358. Create compressed tar archives of packages.
  359. Pre- and post install scripts will be executed in the target
  360. directory. There will be no package manager installed onto the target.
  361. endchoice
  362. source "target/config/Config.in.tools"