diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 15:31:31 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 15:31:31 +0000 |
| commit | 4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd (patch) | |
| tree | 6738e5ab071075c15beccc59b3f79f53477f477d /arch/CMakeLists.txt | |
| parent | 2b8fafa2bddc48ddec047de517115c8e65ee61e8 (diff) | |
| download | teachos-4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd.tar.xz teachos-4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd.zip | |
build: factor out kernel API
Diffstat (limited to 'arch/CMakeLists.txt')
| -rw-r--r-- | arch/CMakeLists.txt | 26 |
1 files changed, 1 insertions, 25 deletions
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) |
