Config.in.target 6.8 KB

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