Config.in.target 7.1 KB

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