cmake: emu: Allow overriding the qemu binary
The xlnx-zcu102 qemu machine is the only one that supports a Cortex-R processor. However, its main CPUs are Cortex A53s which requires the aarch64 qemu binary to run. Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
parent
6dd94127ca
commit
b602e38396
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
if("${ARCH}" STREQUAL "x86")
|
||||
set_ifndef(QEMU_binary_suffix i386)
|
||||
elseif(DEFINED QEMU_ARCH)
|
||||
set_ifndef(QEMU_binary_suffix ${QEMU_ARCH})
|
||||
else()
|
||||
set_ifndef(QEMU_binary_suffix ${ARCH})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue