summaryrefslogtreecommitdiffstats
path: root/package/qemu/Config.in.host
diff options
context:
space:
mode:
Diffstat (limited to 'package/qemu/Config.in.host')
-rw-r--r--package/qemu/Config.in.host25
1 files changed, 21 insertions, 4 deletions
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index c5c3f05e9f..227749af0e 100644
--- a/package/qemu/Config.in.host
+++ b/package/qemu/Config.in.host
@@ -1,8 +1,7 @@
config BR2_PACKAGE_HOST_QEMU
bool "host qemu"
- # So far, we only build the user mode emulation, so this list
- # of architecture dependencies only takes into account this
- # emulation mode.
+ select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \
+ if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE
depends on BR2_arm || BR2_armeb || BR2_aarch64 || \
BR2_i386 || BR2_m68k || BR2_microblazeel || \
BR2_microblazebe || BR2_mips || BR2_mipsel || \
@@ -12,6 +11,24 @@ config BR2_PACKAGE_HOST_QEMU
help
QEMU is a generic and open source machine emulator and virtualizer.
- This option builds a user emulator for your selected architecture.
+ This option builds an emulator for your selected architecture.
http://www.qemu.org
+
+if BR2_PACKAGE_HOST_QEMU
+
+comment "Emulators selection"
+
+config BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE
+ bool "Enable system emulation"
+ help
+ Enables the build of the system emulator, which allows to
+ boot an entire system in Qemu.
+
+config BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE
+ bool "Enable Linux user-land emulation"
+ help
+ Enables the build of the user-land emulator, which allows to
+ run user-space applications.
+
+endif
OpenPOWER on IntegriCloud