Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Bradley Bolen authored and ioannisg committed Jul 31, 2019
1 parent 6dd9412 commit b602e383968864347f46d8acfd08f2d706c8d615
Showing with 2 additions and 0 deletions.
  1. +2 −0 cmake/emu/qemu.cmake
@@ -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()

0 comments on commit b602e38

Please sign in to comment.
You can’t perform that action at this time.