1
0

Config.in.target 6.9 KB

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