meta: add build system

This commit is contained in:
2026-02-05 09:54:46 +00:00
parent 62c5653d5b
commit 9c8fbc72ac
15 changed files with 694 additions and 0 deletions

5
arch/x86_64/QEMU.cmake Normal file
View 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})