find_program(QEMU qemu-system-${TARGET_ARCH} REQUIRED) add_custom_target(run-kernel COMMAND ${QEMU} -kernel $ DEPENDS ${kernel_name} ${bsp_name})