37 lines
901 B
CMake
37 lines
901 B
CMake
# See the end of this file for copyright and license terms.
|
|
|
|
add_library(ardix_kernel STATIC)
|
|
target_link_libraries(ardix INTERFACE ardix_kernel)
|
|
|
|
target_compile_options(ardix_kernel PRIVATE ${ARDIX_COMPILE_OPTIONS})
|
|
target_include_directories(ardix_kernel PRIVATE ${ARDIX_INCLUDE_DIRS})
|
|
|
|
add_subdirectory(fs)
|
|
|
|
target_sources(ardix_kernel PRIVATE
|
|
device.c
|
|
dma.c
|
|
io.c
|
|
kent.c
|
|
kevent.c
|
|
main.c
|
|
mm.c
|
|
mutex.c
|
|
ringbuf.c
|
|
sched.c
|
|
serial.c
|
|
syscall.c
|
|
task.c
|
|
userspace.c
|
|
)
|
|
|
|
# This file is part of Ardix.
|
|
# Copyright (c) 2021 Felix Kopp <owo@fef.moe>.
|
|
#
|
|
# Ardix is non-violent software: you may only use, redistribute,
|
|
# and/or modify it under the terms of the CNPLv6+ as found in
|
|
# the LICENSE file in the source code root directory or at
|
|
# <https://git.pixie.town/thufie/CNPL>.
|
|
#
|
|
# Ardix comes with ABSOLUTELY NO WARRANTY, to the extent
|
|
# permitted by applicable law. See the CNPLv6+ for details.
|