kvm-unit-tests: Fix x86_64 to use host compiler
authorCyril Bur <cyrilbur@gmail.com>
Wed, 26 Oct 2016 03:19:15 +0000 (14:19 +1100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Oct 2016 10:33:31 +0000 (12:33 +0200)
commite1b344070c607f9a3f0a7004650f00c9e6e83c7b
tree21f83b721f9d7d92439347c0b174c635bc97d055
parent76e10967e1fbf2ff28dd70df5e0e8970542ca7df
kvm-unit-tests: Fix x86_64 to use host compiler

kvm-unit-tests requires a multilib compiler for x86_64 as it compiles
32bit boot code.

This patch uses the BR2_HOSTARCH_NEEDS_IA32_COMPILER option to enforce
this and avoids using TARGET_CROSS for x86_64 targets and uses the host
32bit (and 64bit) capable compiler.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[Thomas: reword comment in .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kvm-unit-tests/Config.in
package/kvm-unit-tests/kvm-unit-tests.mk