From 4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 24 Jul 2025 15:31:31 +0000 Subject: build: factor out kernel API --- arch/CMakeLists.txt | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'arch/CMakeLists.txt') diff --git a/arch/CMakeLists.txt b/arch/CMakeLists.txt index 83da439..516bfe9 100644 --- a/arch/CMakeLists.txt +++ b/arch/CMakeLists.txt @@ -1,27 +1,3 @@ -add_library("arch-any" INTERFACE) -add_library("arch::any" ALIAS "arch-any") - -target_sources("arch-any" INTERFACE - FILE_SET HEADERS - BASE_DIRS "include" - FILES - "include/arch/io.hpp" - "include/arch/memory.hpp" - "include/arch/system.hpp" -) - -target_include_directories("arch-any" INTERFACE - "include" -) - -target_link_libraries("arch-any" INTERFACE - "libs::kstd" - - "c" - "gcc" - "stdc++" -) +set(KERNEL_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_SYSTEM_PROCESSOR}/scripts/kernel.ld" PARENT_SCOPE) add_subdirectory("${CMAKE_SYSTEM_PROCESSOR}") - -set(KERNEL_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_SYSTEM_PROCESSOR}/scripts/kernel.ld" PARENT_SCOPE) -- cgit v1.2.3