Commit 6a61d5f8 authored by Sebastian Bøe's avatar Sebastian Bøe Committed by Kumar Gala
Browse files

cmake: Fix the dependency between qemu and the elf file

I can't explain why "make run" worked before, but after this patch it
should definitely work.

Signed-off-by: default avatarSebastian Bøe <sebastian.boe@nordicsemi.no>
parent 494e1734
Loading
Loading
Loading
Loading
+1 −0
Changes for cmake/qemu/CMakeLists.txt: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -159,6 +159,7 @@ if(EMU_PLATFORM)
      ${QEMU_EXTRA_FLAGS}
      ${MORE_FLAGS_FOR_${target}}
      -kernel $<TARGET_FILE:${logical_target_for_zephyr_elf}>
      DEPENDS ${logical_target_for_zephyr_elf}
      WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
      COMMENT "${QEMU_PIPE_COMMENT}[QEMU] CPU: ${QEMU_CPU_TYPE_${ARCH}}"
      USES_TERMINAL