aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2017-11-02 11:45:17 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-11-26 21:31:03 +0100
commit32ea3609e49868d213b1affd5f3973b3b67c94ad (patch)
tree7fb5bd8d6a464d6a10f5a7f5784240af60557a73
parent5a7ffef2398788ad0714a4eadf81b1f41c38ffa4 (diff)
downloadbuildroot-32ea3609e49868d213b1affd5f3973b3b67c94ad.tar.gz
buildroot-32ea3609e49868d213b1affd5f3973b3b67c94ad.tar.bz2
kvm-unit-test: x86-64 variant only available on x86-64 hosts
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> (cherry picked from commit a13029996f25c1fb60ee68a67344b963dee374c1) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/kvm-unit-tests/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kvm-unit-tests/Config.in b/package/kvm-unit-tests/Config.in
index d0d9e2ef96..8b7908eee9 100644
--- a/package/kvm-unit-tests/Config.in
+++ b/package/kvm-unit-tests/Config.in
@@ -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