aboutsummaryrefslogtreecommitdiff
path: root/arch/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'arch/CMakeLists.txt')
-rw-r--r--arch/CMakeLists.txt26
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)