Config.in.rootfs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. choice
  4. prompt "Firmware type" if !ADK_TARGET_CHOOSE_ARCH
  5. depends on !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_OS_BAREMETAL
  6. default ADK_TARGET_ROOTFS_ARCHIVE
  7. config ADK_TARGET_ROOTFS_INITRAMFS
  8. bool "initramfs filesystem"
  9. depends on \
  10. ADK_TARGET_QEMU || \
  11. ADK_TARGET_ARCH_M68K || \
  12. ADK_TARGET_ARCH_ARM || \
  13. ADK_TARGET_ARCH_MICROBLAZE || \
  14. ADK_TARGET_ARCH_MIPS || \
  15. ADK_TARGET_ARCH_PPC || \
  16. ADK_TARGET_ARCH_SH || \
  17. ADK_TARGET_ARCH_SPARC || \
  18. ADK_TARGET_ARCH_X86 || \
  19. ADK_TARGET_ARCH_X86_64
  20. depends on !ADK_TARGET_VBOX
  21. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  22. depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  23. depends on !ADK_TARGET_SYSTEM_QEMU_METAG
  24. select ADK_KERNEL_BLK_DEV_INITRD
  25. help
  26. create an read-only initramfs system.
  27. config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
  28. bool "initramfs filesystem included into kernel image"
  29. select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
  30. depends on \
  31. ADK_TARGET_QEMU || \
  32. ADK_TARGET_SIM || \
  33. ADK_TARGET_SYSTEM_OR1K_SIM || \
  34. ADK_TARGET_ARCH_AARCH64 || \
  35. ADK_TARGET_ARCH_ARC || \
  36. ADK_TARGET_ARCH_ARM || \
  37. ADK_TARGET_ARCH_M68K || \
  38. ADK_TARGET_ARCH_MICROBLAZE || \
  39. ADK_TARGET_ARCH_MIPS || \
  40. ADK_TARGET_ARCH_PPC || \
  41. ADK_TARGET_ARCH_SH || \
  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. depends on ADK_TARGET_WITH_MTD \
  55. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  56. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  57. help
  58. highly compressed read-only filesystem for MTD flash systems.
  59. config ADK_TARGET_ROOTFS_JFFS2
  60. bool "Compressed read-write root filesystem (jffs2)"
  61. select ADK_KERNEL_JFFS2_FS
  62. select ADK_HOST_NEED_MTD_UTILS
  63. depends on ADK_TARGET_WITH_MTD \
  64. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  65. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  66. help
  67. compressed read-write filesystem for MTD flash systems.
  68. config ADK_TARGET_ROOTFS_YAFFS
  69. bool "YAFFS2 root filesystem (NAND)"
  70. select ADK_KERNEL_MISC_FILESYSTEMS
  71. select ADK_KERNEL_YAFFS_FS
  72. select ADK_KERNEL_YAFFS_YAFFS2
  73. select ADK_KERNEL_YAFFS_AUTO_YAFFS2
  74. depends on ADK_TARGET_WITH_NAND
  75. help
  76. Root filesystem on NAND flash with YAFFS2.
  77. config ADK_TARGET_ROOTFS_NFSROOT
  78. bool "NFS root"
  79. select ADK_KERNEL_NETWORK_FILESYSTEMS
  80. select ADK_KERNEL_SUNRPC
  81. select ADK_KERNEL_NFS_FS
  82. select ADK_KERNEL_NFS_V3
  83. select ADK_KERNEL_ROOT_NFS
  84. select ADK_KERNEL_NFS_COMMON
  85. select ADK_KERNEL_IP_PNP
  86. select ADK_KERNEL_IP_PNP_DHCP
  87. depends on !ADK_TARGET_QEMU && \
  88. !ADK_TARGET_SIM && \
  89. !ADK_TARGET_VBOX && \
  90. !ADK_TARGET_SYSTEM_ARANYM_M68K && \
  91. !ADK_TARGET_SYSTEM_ARM_FM
  92. help
  93. Root filesystem mounted via NFS. (DHCP)
  94. config ADK_TARGET_ROOTFS_USB
  95. bool "Boot from USB stick"
  96. select ADK_KERNEL_NLS
  97. select ADK_KERNEL_SCSI
  98. select ADK_KERNEL_BLK_DEV_SD
  99. select ADK_KERNEL_USB
  100. select ADK_KERNEL_USB_EHCI_HCD
  101. select ADK_KERNEL_USB_OHCI_HCD
  102. select ADK_KERNEL_USB_UHCI_HCD
  103. select ADK_KERNEL_USB_STORAGE
  104. select ADK_PACKAGE_ADKINSTALL
  105. depends on ADK_TARGET_WITH_USB_BOOT
  106. help
  107. Boot system from USB stick.
  108. config ADK_TARGET_ROOTFS_ISO
  109. bool "ISO image"
  110. select ADK_KERNEL_ISO9660_FS
  111. select ADK_KERNEL_JOLIET
  112. select ADK_KERNEL_SCSI
  113. select ADK_KERNEL_BLK_DEV_SR
  114. select ADK_HOST_NEED_CDRTOOLS
  115. select ADK_HOST_NEED_SYSLINUX
  116. depends on ADK_TARGET_ARCH_X86
  117. help
  118. Use this option to create a bootable ISO image.
  119. config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
  120. bool "Archive usable for initramfs creation"
  121. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  122. && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
  123. && !ADK_TARGET_SYSTEM_QEMU_METAG \
  124. && !ADK_TARGET_SIM
  125. select ADK_KERNEL_BLK_DEV_INITRD
  126. help
  127. Use this option if your planning to create a initramfs.
  128. config ADK_TARGET_ROOTFS_ARCHIVE
  129. bool "Archive usable for different filesystems"
  130. select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
  131. select ADK_KERNEL_EXT2_FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
  132. depends on !ADK_TARGET_SIM \
  133. && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
  134. && !ADK_TARGET_SYSTEM_QEMU_METAG
  135. help
  136. Use this option if your root filesystem is ext2/ext3/ext4/xfs.
  137. endchoice
  138. choice
  139. prompt "Root filesystem"
  140. depends on ADK_TARGET_ROOTFS_ARCHIVE || ADK_TARGET_ROOTFS_USB && !ADK_TARGET_QEMU
  141. default ADK_TARGET_ROOT_EXT4
  142. config ADK_TARGET_ROOT_EXT4
  143. bool "EXT4"
  144. select ADK_KERNEL_EXT4_FS
  145. help
  146. Compile EXT4 filesystem into kernel and use it as root filesystem.
  147. config ADK_TARGET_ROOT_XFS
  148. bool "XFS"
  149. select ADK_KERNEL_XFS_FS
  150. help
  151. Compile XFS filesystem into kernel and use it as root filesystem.
  152. config ADK_TARGET_ROOT_EXT2
  153. bool "EXT2"
  154. select ADK_KERNEL_EXT2_FS
  155. help
  156. Compile EXT2 filesystem into kernel and use it as root filesystem.
  157. config ADK_TARGET_ROOT_EXT3
  158. bool "EXT3"
  159. select ADK_KERNEL_EXT3_FS
  160. help
  161. Compile EXT3 filesystem into kernel and use it as root filesystem.
  162. endchoice
  163. config ADK_TARGET_ROOTFS
  164. string
  165. default "xfs" if ADK_TARGET_ROOT_XFS
  166. default "ext2" if ADK_TARGET_ROOT_EXT2
  167. default "ext3" if ADK_TARGET_ROOT_EXT3
  168. default "ext4" if ADK_TARGET_ROOT_EXT4