2021-11-15 19:23:22 +01:00
|
|
|
# Copyright (C) 2021 fef <owo@fef.moe>. All rights reserved.
|
2021-09-19 04:50:24 +02:00
|
|
|
|
|
|
|
add_library(gay_kernel STATIC)
|
|
|
|
target_include_directories(gay_kernel PRIVATE ${GAY_INCLUDE_DIRS})
|
2021-09-20 02:03:01 +02:00
|
|
|
target_compile_definitions(gay_kernel INTERFACE ${GAY_KERNEL_DEFINITIONS})
|
2021-09-19 04:50:24 +02:00
|
|
|
|
2021-10-07 19:16:21 +02:00
|
|
|
target_link_libraries(gay_kernel PRIVATE c gay_arch)
|
2021-09-19 04:50:24 +02:00
|
|
|
|
|
|
|
target_sources(gay_kernel PRIVATE
|
2021-10-23 00:56:49 +02:00
|
|
|
bits.c
|
2021-09-20 02:03:01 +02:00
|
|
|
clist.c
|
2021-10-07 19:16:21 +02:00
|
|
|
irq.c
|
2021-09-19 04:50:24 +02:00
|
|
|
kprintf.c
|
2021-11-04 06:06:31 +01:00
|
|
|
kqueue.c
|
2021-09-19 04:50:24 +02:00
|
|
|
main.c
|
2021-10-16 04:00:22 +02:00
|
|
|
mutex.c
|
2021-11-01 23:54:55 +01:00
|
|
|
panic.c
|
2021-10-15 00:01:47 +02:00
|
|
|
sched.c
|
2021-09-19 04:50:24 +02:00
|
|
|
)
|
|
|
|
|
2021-09-21 18:25:54 +02:00
|
|
|
add_subdirectory(mm)
|