Config.in.target 6.8 KB

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