Skip to content

Commit b602e38

Browse files
Bradley Bolenioannisg
Bradley Bolen
authored andcommitted
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 <[email protected]>
1 parent 6dd9412 commit b602e38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/emu/qemu.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
if("${ARCH}" STREQUAL "x86")
44
set_ifndef(QEMU_binary_suffix i386)
5+
elseif(DEFINED QEMU_ARCH)
6+
set_ifndef(QEMU_binary_suffix ${QEMU_ARCH})
57
else()
68
set_ifndef(QEMU_binary_suffix ${ARCH})
79
endif()

0 commit comments

Comments
 (0)