feat: moved boot code

This commit is contained in:
2023-09-29 22:27:28 +02:00
parent 85a9336218
commit f79e6e10ac
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ if (${USE_DEBUG})
endif ()
if (${USE_LIMINE})
add_definitions(-DUSE_LIMINE)
file(GLOB LIMINE_KERNEL_SOURCES src/rt/limine/*.c)
file(GLOB LIMINE_KERNEL_SOURCES src/rt/boot/limine/*.c)
endif ()
if (NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/${CMAKE_SYSTEM_PROCESSOR})
message(FATAL_ERROR "Unknown architecture ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/${CMAKE_SYSTEM_PROCESSOR}")
@@ -94,4 +94,4 @@ set(KERNEL_SOURCE_FILES
# Define executable
add_executable(yak.elf ${CRTI} ${KERNEL_SOURCE_FILES} ${CRTN})
target_link_libraries(yak.elf PRIVATE ${BUILTINS_LIB})
target_include_directories(yak.elf PRIVATE include ../limine/include ${printf_library_SOURCE_DIR}/src)# ${printf_library_SOURCE_DIR}/src)
target_include_directories(yak.elf PRIVATE include ../limine/include ${printf_library_SOURCE_DIR}/src)