meta: add build system
This commit is contained in:
5
arch/x86_64/QEMU.cmake
Normal file
5
arch/x86_64/QEMU.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
find_program(QEMU qemu-system-${TARGET_ARCH} REQUIRED)
|
||||
|
||||
add_custom_target(run-kernel
|
||||
COMMAND ${QEMU} -kernel $<TARGET_FILE:${kernel_name}>
|
||||
DEPENDS ${kernel_name} ${bsp_name})
|
||||
Reference in New Issue
Block a user