iperf3: bump to version 3.1.2
[buildroot-gz.git] / package / qemu / Config.in
blob082b5eecab3df96a38ffc66a38769c406011626c
1 config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
2         bool
3         # Only tested on these architectures
4         default y if BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel \
5                 || BR2_x86_64
7 comment "QEMU requires a toolchain with wchar, threads"
8         depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
9         depends on BR2_USE_MMU
10         depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR)
12 config BR2_PACKAGE_QEMU
13         bool "QEMU"
14         depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
15         depends on BR2_TOOLCHAIN_HAS_THREADS
16         depends on BR2_USE_WCHAR # gettext
17         depends on BR2_USE_MMU # fork()
18         select BR2_PACKAGE_LIBGLIB2
19         select BR2_PACKAGE_PIXMAN
20         select BR2_PACKAGE_ZLIB
21         help
22           QEMU is a generic and open source machine emulator and virtualizer.
24           When used as a machine emulator, QEMU can run OSes and programs made
25           for one machine (e.g. an ARM board) on a different machine (e.g.
26           your own PC). By using dynamic translation, it achieves very good
27           performance.
29           When used as a virtualizer, QEMU achieves near native performances
30           by executing the guest code directly on the host CPU. QEMU supports
31           virtualization when executing under the Xen hypervisor or using the
32           KVM kernel module in Linux. When using KVM, QEMU can virtualize x86,
33           server and embedded PowerPC, and S390 guests.
35           http://qemu.org/
37 if BR2_PACKAGE_QEMU
39 comment "Emulators selection"
41 config BR2_PACKAGE_QEMU_CUSTOM_TARGETS
42         string "Enable specific targets"
43         help
44           Enter here the list of QEMU targets you want to build. For example:
46             System emulation      | User-land emulation
47             ----------------------+-----------------------
48             i386-softmmu          | i386-linux-user
49             arm-softmmu           | ppc-linux-user
50             x86_64-softmmu        | sparc-bsd-user
51             ...                   | ...
53 config QEMU_FOO
54         bool # To break the indentation
56 if BR2_PACKAGE_QEMU_CUSTOM_TARGETS = ""
58 comment "... or you can select emulator families to enable, below:"
60 config BR2_PACKAGE_QEMU_SYSTEM
61         bool "Enable all systems emulation"
62         depends on !BR2_STATIC_LIBS # dtc
63         select BR2_PACKAGE_QEMU_FDT
64         help
65           Say 'y' to build all system emulators/virtualisers that QEMU supports.
67 comment "systems emulation needs a toolchain w/ dynamic library"
68         depends on BR2_STATIC_LIBS
70 config BR2_PACKAGE_QEMU_LINUX_USER
71         bool "Enable all Linux user-land emulation"
72         help
73           Say 'y' to build all Linux user-land emulators that QEMU supports.
75 # Note: bsd-user can not be build on Linux
77 endif # BR2_PACKAGE_QEMU_CUSTOM_TARGETS == ""
79 config BR2_PACKAGE_QEMU_HAS_EMULS
80         def_bool y
81         depends on BR2_PACKAGE_QEMU_SYSTEM || BR2_PACKAGE_QEMU_LINUX_USER || BR2_PACKAGE_QEMU_CUSTOM_TARGETS != ""
83 if BR2_PACKAGE_QEMU_HAS_EMULS
85 comment "Frontends"
87 config BR2_PACKAGE_QEMU_SDL
88         bool "Enable SDL frontend"
89         select BR2_PACKAGE_SDL
90         help
91           Say 'y' to enable the SDL frontend, that is, a graphical window
92           presenting the VM's display.
94 comment "Misc. features"
96 config BR2_PACKAGE_QEMU_FDT
97         bool "Enable FDT"
98         depends on !BR2_STATIC_LIBS # dtc
99         select BR2_PACKAGE_DTC
100         help
101           Say 'y' here to have QEMU capable of constructing Device Trees,
102           and passing them to the VMs.
104 comment "FDT support needs a toolchain w/ dynamic library"
105         depends on BR2_STATIC_LIBS
107 endif # BR2_PACKAGE_QEMU_HAS_EMULS
109 endif # BR2_PACKAGE_QEMU