qemu: add architecture dependencies for host qemu
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 6 Feb 2015 08:15:48 +0000 (09:15 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 6 Feb 2015 09:32:03 +0000 (10:32 +0100)
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>
package/qemu/Config.in.host

index a1f05310ecb6c05a9639cc8eee5cbf458e5f75fd..c5c3f05e9f6d2685a1bd77e062c24a788a9ef229 100644 (file)
@@ -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.