kvm-unit-test: x86-64 variant only available on x86-64 hosts
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 2 Nov 2017 10:45:17 +0000 (11:45 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 5 Nov 2017 20:32:31 +0000 (21:32 +0100)
We use the host compiler for x86-64 builds, so ensure it is only available
on x86-64 hosts.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/kvm-unit-tests/Config.in

index d0d9e2ef9647807a8c8105b3b6c974389055c0b7..8b7908eee996a39f66d6b5608b38678b8e7d282e 100644 (file)
@@ -15,6 +15,7 @@ config BR2_PACKAGE_KVM_UNIT_TESTS
        # x86-64 we use the host gcc (see .mk file for details)
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || !BR2_i386
        depends on BR2_HOST_GCC_AT_LEAST_4_5 || !BR2_x86_64
+       depends on BR2_HOSTARCH = "x86_64" || !BR2_x86_64
        select BR2_HOSTARCH_NEEDS_IA32_COMPILER if BR2_x86_64=y
        help
          kvm-unit-tests is a project as old as KVM. As its name