kvm-unit-tests: only enable for ARM on Cortex-A{7,12,15,17}
authorArnout Vandecappelle <arnout@mind.be>
Sun, 20 Nov 2016 13:50:06 +0000 (14:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Nov 2016 14:48:10 +0000 (15:48 +0100)
commit592188e34b8790ecdb249803318270857dab1d13
tree7bb65adcb2a4a9da220549cd90a57f6c85be3bfb
parent4d907c71d469359452ea307aef7ad27632f64176
kvm-unit-tests: only enable for ARM on Cortex-A{7,12,15,17}

The library uses the hypervisor instruction HVC, which is only
available on ARMv7-A with Hypervisor extensions. This is limited to
Cortex-A{7,12,15,17}.

In addition the build unconditionally passes -marm so it also needs
ARM instructions to be available, but that is already implied by the
CPU selection.

Implicitly fixes
http://autobuild.buildroot.net/results/53d109fd9055fd20387bb857aced5f89cf3086fd
though it is still not clear why ld doesn't accept the -Ttext=...
option there.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: A12 and A17 also have the virtualization extensions.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kvm-unit-tests/Config.in