Browse Source

qemu: add architecture dependencies for host qemu

The host-qemu package currently builds the user mode emulation, which
isn't available on all architectures, so this commit adds the
necessary architecture dependencies to the Config.in.host file.

Fixes:

  http://autobuild.buildroot.net/results/4298ce40cbe3db50ffe53ecf6856523157df591d/

Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni 10 years ago
parent
commit
aa270ac892
1 changed files with 9 additions and 0 deletions
  1. 9 0
      package/qemu/Config.in.host

+ 9 - 0
package/qemu/Config.in.host

@@ -1,5 +1,14 @@
 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.
+	depends on BR2_arm       || BR2_armeb       || BR2_aarch64      || \
+		BR2_i386         || BR2_m68k        || BR2_microblazeel || \
+		BR2_microblazebe || BR2_mips        || BR2_mipsel       || \
+		BR2_mips64       || BR2_mips64el    || BR2_powerpc      || \
+		BR2_powerpc64    || BR2_powerpc64le || BR2_sh           || \
+		BR2_sparc        || BR2_x86_64
 	help
 	  QEMU is a generic and open source machine emulator and virtualizer.