emulation: fix path of ELF binary when running with xt-sim
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
4b8419e420
commit
7708ff8bf6
1 changed files with 2 additions and 2 deletions
|
@ -21,12 +21,12 @@ ifneq ($(QEMU_PIPE),)
|
||||||
# $(QEMU_PIPE).in and $(QEMU_PIPE).out. The extensions are implicit
|
# $(QEMU_PIPE).in and $(QEMU_PIPE).out. The extensions are implicit
|
||||||
# in QEMU's -seral pipe:.... argument.
|
# in QEMU's -seral pipe:.... argument.
|
||||||
# 2) A PID file so that sanitycheck can kill the emulator
|
# 2) A PID file so that sanitycheck can kill the emulator
|
||||||
${Q} ${XTRUN} ${XTRUN_FLAGS} ${XTRUN_EXTRA_FLAGS} ${KERNEL_ELF_NAME} \
|
${Q} ${XTRUN} ${XTRUN_FLAGS} ${XTRUN_EXTRA_FLAGS} ${O}/${KERNEL_ELF_NAME} \
|
||||||
< ${QEMU_PIPE}.in > ${QEMU_PIPE}.out & echo $$! > qemu.pid
|
< ${QEMU_PIPE}.in > ${QEMU_PIPE}.out & echo $$! > qemu.pid
|
||||||
# Wait until the emulator terminates (for any reason)
|
# Wait until the emulator terminates (for any reason)
|
||||||
$(Q) cat qemu.pid | xargs $(srctree)/scripts/waitpid
|
$(Q) cat qemu.pid | xargs $(srctree)/scripts/waitpid
|
||||||
else
|
else
|
||||||
${Q} ${XTRUN} ${XTRUN_FLAGS} ${XTRUN_EXTRA_FLAGS} ${KERNEL_ELF_NAME}
|
${Q} ${XTRUN} ${XTRUN_FLAGS} ${XTRUN_EXTRA_FLAGS} ${O}/${KERNEL_ELF_NAME}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue