Config.in.host 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_arm
  4. default y if BR2_armeb
  5. default y if BR2_aarch64
  6. default y if BR2_i386
  7. default y if BR2_m68k
  8. default y if BR2_microblazeel
  9. default y if BR2_microblazebe
  10. default y if BR2_mips
  11. default y if BR2_mipsel
  12. default y if BR2_or1k
  13. default y if BR2_powerpc
  14. default y if BR2_powerpc64
  15. default y if BR2_powerpc64le
  16. default y if BR2_riscv
  17. default y if BR2_s390x
  18. default y if BR2_sh
  19. default y if BR2_sparc
  20. default y if BR2_sparc64
  21. default y if BR2_xtensa
  22. default y if BR2_x86_64
  23. depends on !BR2_x86_steamroller && !BR2_x86_core_avx2
  24. depends on !BR2_powerpc_620 && !BR2_powerpc_630
  25. config BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS
  26. bool
  27. default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
  28. default y if BR2_mips64
  29. default y if BR2_mips64el
  30. config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
  31. bool
  32. default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
  33. comment "host-qemu needs a host gcc >= 8"
  34. depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \
  35. BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT
  36. depends on !BR2_HOST_GCC_AT_LEAST_8
  37. config BR2_PACKAGE_HOST_QEMU
  38. bool "host qemu"
  39. depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
  40. depends on BR2_HOST_GCC_AT_LEAST_8
  41. select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \
  42. if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE && BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
  43. select BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE \
  44. if !BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
  45. help
  46. QEMU is a generic and open source machine emulator and
  47. virtualizer.
  48. This option builds an emulator for your selected architecture.
  49. http://www.qemu.org
  50. if BR2_PACKAGE_HOST_QEMU
  51. comment "Emulators selection"
  52. config BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE
  53. bool "Enable system emulation"
  54. depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS
  55. help
  56. Enables the build of the system emulator, which allows to
  57. boot an entire system in Qemu.
  58. config BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE
  59. bool "Enable Linux user-land emulation"
  60. depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
  61. help
  62. Enables the build of the user-land emulator, which allows to
  63. run user-space applications.
  64. Note that system calls made by the emulated user-land are
  65. serviced by the running host kernel. Therefore, if the
  66. kernel headers used by your target are more recent than
  67. the running host kernel, you may run into invalid system
  68. calls, which may yield surprising effects.
  69. config BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS
  70. string
  71. default "-cpu Nehalem,check=false" if BR2_x86_corei7
  72. config BR2_PACKAGE_HOST_QEMU_VDE2
  73. bool "VDE2 support"
  74. help
  75. Enables VDE2 support. VDE2 stands for Virtual Distributed
  76. Ethernet and can be used to create virtual switches to
  77. "plug" both physical and virtual machines in them.
  78. config BR2_PACKAGE_HOST_QEMU_VIRTFS
  79. bool "Virtual filesystem support"
  80. depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE
  81. help
  82. Enables support for virtual filesystem in Qemu allowing
  83. shared filesystem between Qemu and its emulated target.
  84. config BR2_PACKAGE_HOST_QEMU_USB
  85. bool "USB passthrough support"
  86. help
  87. Enables USB passthrough support from guest to host.
  88. endif