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 "metag_da.console_poll=1" if ADK_TARGET_SYSTEM_QEMU_METAG
  9. default ""
  10. choice
  11. prompt "Firmware type"
  12. depends on !ADK_TARGET_TOOLCHAIN
  13. default ADK_TARGET_ROOTFS_ARCHIVE
  14. config ADK_TARGET_ROOTFS_INITRAMFS
  15. bool "initramfs filesystem"
  16. depends on \
  17. ADK_TARGET_QEMU || \
  18. ADK_TARGET_ARCH_M68K || \
  19. ADK_TARGET_ARCH_ARM || \
  20. ADK_TARGET_ARCH_MICROBLAZE || \
  21. ADK_TARGET_ARCH_MIPS || \
  22. ADK_TARGET_ARCH_PPC || \
  23. ADK_TARGET_ARCH_SH || \
  24. ADK_TARGET_ARCH_SPARC || \
  25. ADK_TARGET_ARCH_X86 || \
  26. ADK_TARGET_ARCH_X86_64
  27. depends on !ADK_TARGET_VBOX
  28. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  29. select ADK_KERNEL_BLK_DEV_INITRD
  30. help
  31. create an read-only initramfs system.
  32. config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
  33. bool "initramfs filesystem included into kernel image"
  34. select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
  35. depends on \
  36. ADK_TARGET_QEMU || \
  37. ADK_TARGET_SIM || \
  38. ADK_TARGET_SYSTEM_OR1K_SIM || \
  39. ADK_TARGET_ARCH_AARCH64 || \
  40. ADK_TARGET_ARCH_ARC || \
  41. ADK_TARGET_ARCH_ARM || \
  42. ADK_TARGET_ARCH_M68K || \
  43. ADK_TARGET_ARCH_MICROBLAZE || \
  44. ADK_TARGET_ARCH_MIPS || \
  45. ADK_TARGET_ARCH_PPC || \
  46. ADK_TARGET_ARCH_SH || \
  47. ADK_TARGET_ARCH_SPARC || \
  48. ADK_TARGET_ARCH_X86 || \
  49. ADK_TARGET_ARCH_X86_64
  50. depends on !ADK_TARGET_VBOX
  51. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  52. help
  53. create an read-only initramfs system.
  54. config ADK_TARGET_ROOTFS_SQUASHFS
  55. bool "Compressed read-only root filesystem (squashfs)"
  56. select ADK_KERNEL_SQUASHFS
  57. select ADK_HOST_NEED_SQUASHFS
  58. select ADK_HOST_NEED_QEMU if ADK_TARGET_QEMU
  59. depends on ADK_TARGET_WITH_MTD \
  60. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  61. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  62. help
  63. highly compressed read-only filesystem for MTD flash systems.
  64. config ADK_TARGET_ROOTFS_JFFS2
  65. bool "Compressed read-write root filesystem (jffs2)"
  66. select ADK_KERNEL_JFFS2_FS
  67. select ADK_HOST_NEED_MTD_UTILS
  68. depends on ADK_TARGET_WITH_MTD \
  69. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  70. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  71. help
  72. compressed read-write filesystem for MTD flash systems.
  73. config ADK_TARGET_ROOTFS_YAFFS
  74. bool "YAFFS2 root filesystem (NAND)"
  75. select ADK_KERNEL_MISC_FILESYSTEMS
  76. select ADK_KERNEL_YAFFS_FS
  77. select ADK_KERNEL_YAFFS_YAFFS2
  78. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  79. depends on ADK_TARGET_WITH_NAND
  80. help
  81. Root filesystem on NAND flash with YAFFS2.
  82. config ADK_TARGET_ROOTFS_NFSROOT
  83. bool "NFS root"
  84. select ADK_KERNEL_NETWORK_FILESYSTEMS
  85. select ADK_KERNEL_SUNRPC
  86. select ADK_KERNEL_NFS_FS
  87. select ADK_KERNEL_NFS_V3
  88. select ADK_KERNEL_ROOT_NFS
  89. select ADK_KERNEL_NFS_COMMON
  90. select ADK_KERNEL_IP_PNP
  91. select ADK_KERNEL_IP_PNP_DHCP
  92. depends on !ADK_TARGET_QEMU && \
  93. !ADK_TARGET_SIM && \
  94. !ADK_TARGET_VBOX && \
  95. !ADK_TARGET_SYSTEM_ARANYM_M68K && \
  96. !ADK_TARGET_SYSTEM_ARM_FM
  97. help
  98. Root filesystem mounted via NFS. (DHCP)
  99. config ADK_TARGET_ROOTFS_USB
  100. bool "Boot from USB stick"
  101. select ADK_KERNEL_NLS
  102. select ADK_KERNEL_SCSI
  103. select ADK_KERNEL_BLK_DEV_SD
  104. select ADK_KERNEL_USB
  105. select ADK_KERNEL_USB_EHCI_HCD
  106. select ADK_KERNEL_USB_OHCI_HCD
  107. select ADK_KERNEL_USB_UHCI_HCD
  108. select ADK_KERNEL_USB_STORAGE
  109. select ADK_PACKAGE_ADKINSTALL
  110. depends on ADK_TARGET_WITH_USB_BOOT
  111. help
  112. Boot system from USB stick.
  113. config ADK_TARGET_ROOTFS_ISO
  114. bool "ISO image"
  115. select ADK_KERNEL_ISO9660_FS
  116. select ADK_KERNEL_JOLIET
  117. select ADK_KERNEL_SCSI
  118. select ADK_KERNEL_BLK_DEV_SR
  119. select ADK_HOST_NEED_CDRTOOLS
  120. select ADK_HOST_NEED_SYSLINUX
  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. && !ADK_TARGET_SIM
  128. select ADK_KERNEL_BLK_DEV_INITRD
  129. help
  130. Use this option if your planning to create a initramfs.
  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. depends on !ADK_TARGET_SIM
  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