Config.in.target 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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. config ADK_TARGET_CMDLINE
  4. string
  5. default "fbcon=rotate:1" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
  6. default "geodewdt.nowayout=1" if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
  7. default ""
  8. choice
  9. prompt "Firmware type"
  10. depends on !ADK_TARGET_TOOLCHAIN
  11. default ADK_TARGET_ROOTFS_ARCHIVE
  12. config ADK_TARGET_ROOTFS_INITRAMFS
  13. boolean "initramfs filesystem"
  14. depends on \
  15. ADK_TARGET_QEMU || \
  16. ADK_TARGET_ARCH_M68K || \
  17. ADK_TARGET_ARCH_ARM || \
  18. ADK_TARGET_ARCH_MICROBLAZE || \
  19. ADK_TARGET_ARCH_MIPS || \
  20. ADK_TARGET_ARCH_PPC || \
  21. ADK_TARGET_ARCH_SPARC || \
  22. ADK_TARGET_ARCH_X86 || \
  23. ADK_TARGET_ARCH_X86_64
  24. depends on !ADK_TARGET_VBOX
  25. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  26. select ADK_KERNEL_BLK_DEV_INITRD
  27. help
  28. create an read-only initramfs system.
  29. config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
  30. boolean "initramfs filesystem included into kernel image"
  31. select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
  32. depends on \
  33. ADK_TARGET_QEMU || \
  34. ADK_TARGET_ARCH_AARCH64 || \
  35. ADK_TARGET_ARCH_ARM || \
  36. ADK_TARGET_ARCH_M68K || \
  37. ADK_TARGET_ARCH_MICROBLAZE || \
  38. ADK_TARGET_ARCH_MIPS || \
  39. ADK_TARGET_ARCH_PPC || \
  40. ADK_TARGET_ARCH_SPARC || \
  41. ADK_TARGET_ARCH_X86 || \
  42. ADK_TARGET_ARCH_X86_64
  43. depends on !ADK_TARGET_VBOX
  44. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  45. help
  46. create an read-only initramfs system.
  47. config ADK_TARGET_ROOTFS_SQUASHFS
  48. boolean "Compressed read-only root filesystem (squashfs)"
  49. select ADK_KERNEL_SQUASHFS
  50. select ADK_HOST_NEED_SQUASHFS
  51. select ADK_HOST_NEED_QEMU if ADK_TARGET_QEMU
  52. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
  53. depends on ADK_TARGET_WITH_MTD || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE
  54. help
  55. highly compressed read-only filesystem for MTD flash systems.
  56. config ADK_TARGET_ROOTFS_JFFS2
  57. boolean "Compressed read-write root filesystem (jffs2)"
  58. select ADK_KERNEL_JFFS2_FS
  59. select ADK_HOST_NEED_MTD_UTILS
  60. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
  61. depends on ADK_TARGET_WITH_MTD || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE
  62. help
  63. compressed read-write filesystem for MTD flash systems.
  64. config ADK_TARGET_ROOTFS_YAFFS
  65. boolean "YAFFS2 root filesystem (NAND)"
  66. select ADK_KERNEL_MISC_FILESYSTEMS
  67. select ADK_KERNEL_YAFFS_FS
  68. select ADK_KERNEL_YAFFS_YAFFS2
  69. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  70. depends on ADK_TARGET_WITH_NAND
  71. help
  72. Root filesystem on NAND flash with YAFFS2.
  73. config ADK_TARGET_ROOTFS_NFSROOT
  74. boolean "NFS root"
  75. select ADK_KERNEL_NETWORK_FILESYSTEMS
  76. select ADK_KERNEL_SUNRPC
  77. select ADK_KERNEL_NFS_FS
  78. select ADK_KERNEL_NFS_V3
  79. select ADK_KERNEL_ROOT_NFS
  80. select ADK_KERNEL_NFS_COMMON
  81. select ADK_KERNEL_IP_PNP
  82. select ADK_KERNEL_IP_PNP_DHCP
  83. depends on !ADK_TARGET_QEMU && \
  84. !ADK_TARGET_VBOX && \
  85. !ADK_TARGET_SYSTEM_ARANYM_M68K && \
  86. !ADK_TARGET_SYSTEM_ARM_FM
  87. help
  88. Root filesystem mounted via NFS. (DHCP)
  89. config ADK_TARGET_ROOTFS_USB
  90. boolean "Boot from USB stick"
  91. select ADK_KERNEL_NLS
  92. select ADK_KERNEL_SCSI
  93. select ADK_KERNEL_BLK_DEV_SD
  94. select ADK_KERNEL_USB
  95. select ADK_KERNEL_USB_EHCI_HCD
  96. select ADK_KERNEL_USB_OHCI_HCD
  97. select ADK_KERNEL_USB_UHCI_HCD
  98. select ADK_KERNEL_USB_STORAGE
  99. select ADK_PACKAGE_ADKINSTALL
  100. depends on ADK_TARGET_WITH_USB_BOOT
  101. help
  102. Boot system from USB stick.
  103. config ADK_TARGET_ROOTFS_ISO
  104. boolean "ISO image"
  105. select ADK_KERNEL_ISO9660_FS
  106. select ADK_KERNEL_JOLIET
  107. select ADK_KERNEL_SCSI
  108. select ADK_KERNEL_BLK_DEV_SR
  109. select ADK_HOST_NEED_CDRTOOLS
  110. select ADK_HOST_NEED_SYSLINUX
  111. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
  112. depends on ADK_HOST_LINUX
  113. depends on ADK_TARGET_ARCH_X86
  114. help
  115. Use this option to create a bootable ISO image.
  116. config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
  117. boolean "Archive usable for initramfs creation"
  118. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  119. select ADK_KERNEL_BLK_DEV_INITRD
  120. help
  121. Use this option if your planning to create a initramfs,
  122. useful for adk-test-framework.
  123. config ADK_TARGET_ROOTFS_ARCHIVE
  124. boolean "Archive usable for different filesystems"
  125. select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
  126. select ADK_KERNEL_EXT2_FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
  127. select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
  128. help
  129. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  130. endchoice
  131. config ADK_TARGET_ROOT_EXT4_RASPBERRY_PI
  132. boolean
  133. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI && ADK_TARGET_ROOTFS_ARCHIVE
  134. select ADK_KERNEL_EXT4_FS
  135. default y
  136. help
  137. Compile EXT4 filesystem into kernel and use it as root filesystem.
  138. choice
  139. prompt "Root filesystem type"
  140. depends on ADK_TARGET_ROOTFS_ARCHIVE || ADK_TARGET_ROOTFS_USB && !ADK_TARGET_SYSTEM_RASPBERRY_PI && !ADK_TARGET_QEMU
  141. default ADK_TARGET_ROOT_EXT4
  142. config ADK_TARGET_ROOT_EXT4
  143. boolean
  144. prompt "EXT4 filesystem"
  145. select ADK_KERNEL_EXT4_FS
  146. help
  147. Compile EXT4 filesystem into kernel and use it as root filesystem.
  148. config ADK_TARGET_ROOT_XFS
  149. boolean
  150. prompt "XFS filesystem"
  151. select ADK_KERNEL_XFS_FS
  152. help
  153. Compile XFS filesystem into kernel and use it as root filesystem.
  154. config ADK_TARGET_ROOT_EXT2
  155. boolean
  156. prompt "EXT2 filesystem"
  157. select ADK_KERNEL_EXT2_FS
  158. help
  159. Compile EXT2 filesystem into kernel and use it as root filesystem.
  160. config ADK_TARGET_ROOT_EXT3
  161. boolean
  162. prompt "EXT3 filesystem"
  163. select ADK_KERNEL_EXT3_FS
  164. help
  165. Compile EXT3 filesystem into kernel and use it as root filesystem.
  166. endchoice
  167. config ADK_TARGET_ROOTFS
  168. string
  169. default "xfs" if ADK_TARGET_ROOT_XFS
  170. default "ext2" if ADK_TARGET_ROOT_EXT2
  171. default "ext3" if ADK_TARGET_ROOT_EXT3
  172. default "ext4" if ADK_TARGET_ROOT_EXT4
  173. help
  174. config ADK_PACKAGE_SUFFIX
  175. string
  176. default "ipk" if ADK_TARGET_PACKAGE_IPKG
  177. default "ipk" if ADK_TARGET_PACKAGE_OPKG
  178. default "tar.xz" if ADK_TARGET_PACKAGE_TXZ
  179. help
  180. choice
  181. prompt "Package format"
  182. default ADK_TARGET_PACKAGE_TXZ
  183. config ADK_TARGET_PACKAGE_TXZ
  184. boolean
  185. prompt "xz compressed tar archive"
  186. help
  187. Create compressed tar archives of packages.
  188. Pre- and post install scripts will be executed in the target
  189. directory. There will be no package manager installed onto the target.
  190. config ADK_TARGET_PACKAGE_IPKG
  191. boolean
  192. prompt "ipkg"
  193. select BUSYBOX_IPKG
  194. help
  195. Create ipkg packages and use ipkg package management on the target.
  196. config ADK_TARGET_PACKAGE_OPKG
  197. boolean
  198. prompt "opkg"
  199. select ADK_PACKAGE_OPKG
  200. help
  201. Create opkg packages and use opkg package management on the target.
  202. endchoice
  203. choice
  204. prompt "GPU memory size"
  205. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI || ADK_TARGET_SYSTEM_RASPBERRY_PI2
  206. default ADK_TARGET_GPU_MEM_128 if ADK_PACKAGE_KODI
  207. config ADK_TARGET_GPU_MEM_16
  208. prompt "16"
  209. boolean
  210. help
  211. use minimal 16 MB.
  212. config ADK_TARGET_GPU_MEM_64
  213. prompt "64"
  214. boolean
  215. help
  216. use 64 MB.
  217. config ADK_TARGET_GPU_MEM_128
  218. prompt "128"
  219. boolean
  220. help
  221. use 128 MB.
  222. config ADK_TARGET_GPU_MEM_256
  223. prompt "256"
  224. boolean
  225. help
  226. use 256 MB.
  227. endchoice
  228. config ADK_TARGET_GPU_MEM
  229. int
  230. default 16 if ADK_TARGET_GPU_MEM_16
  231. default 64 if ADK_TARGET_GPU_MEM_64
  232. default 128 if ADK_TARGET_GPU_MEM_128
  233. default 256 if ADK_TARGET_GPU_MEM_256
  234. depends on ADK_TARGET_SYSTEM_RASPBERRY_PI || ADK_TARGET_SYSTEM_RASPBERRY_PI2