Config.in.host 3.2 KB

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