Config.in.target 6.7 KB

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