posix: native: support native runner

This adds support of 'make run' to the native port allowing us to run
applications natively on the host instead of qemu.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-12-21 16:43:54 -05:00 committed by Anas Nashif
commit e32a656962

6
cmake/emu/native.cmake Normal file
View file

@ -0,0 +1,6 @@
add_custom_target(run
COMMAND
${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}
WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
USES_TERMINAL
)