[Buildroot] [git commit] kvm-unit-test: x86-64 variant only available on x86-64 hosts

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Sun Nov 5 20:32:31 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=a13029996f25c1fb60ee68a67344b963dee374c1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/kvm-unit-tests/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kvm-unit-tests/Config.in b/package/kvm-unit-tests/Config.in
index d0d9e2e..8b7908e 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


More information about the buildroot mailing list