diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2016-11-20 14:50:05 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-11-20 15:46:54 +0100 |
| commit | 4d907c71d469359452ea307aef7ad27632f64176 (patch) | |
| tree | 644c651b97521f744faa1ec9f0b1acbc40e15153 /package/kvm-unit-tests | |
| parent | 59d047fa58edadb985ac3ccc4d16fcd0b6f58731 (diff) | |
| download | buildroot-4d907c71d469359452ea307aef7ad27632f64176.tar.gz buildroot-4d907c71d469359452ea307aef7ad27632f64176.zip | |
kvm-unit-tests: pass the --processor configure argument
The configure script uses this to set the -mcpu option. If nothing is
passed, it defaults to -mcpu=cortex-a15 for arm, and -mcpu=cortex-a57
for aarch64, which may conflict with the actual architecture.
The --processor option is only really used for arm and aarch64, but it
doesn't hurt to also pass it for the other arches.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kvm-unit-tests')
| -rw-r--r-- | package/kvm-unit-tests/kvm-unit-tests.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kvm-unit-tests/kvm-unit-tests.mk b/package/kvm-unit-tests/kvm-unit-tests.mk index 6e1c2dfcfb..0ddb017802 100644 --- a/package/kvm-unit-tests/kvm-unit-tests.mk +++ b/package/kvm-unit-tests/kvm-unit-tests.mk @@ -28,6 +28,7 @@ endif KVM_UNIT_TESTS_CONF_OPTS =\ --arch="$(KVM_UNIT_TESTS_ARCH)" \ + --processor="$(call qstrip,$(BR2_GCC_TARGET_CPU))" \ --endian="$(KVM_UNIT_TESTS_ENDIAN)" # For all architectures but x86-64, we use the target |

