Kernel: Add klibc for kernel

Now building same source as libc is not needed and libc doesn't
have to do hacks to allow kernel compilation
This commit is contained in:
2024-02-14 15:00:04 +02:00
parent b165340662
commit 198dde8365
4 changed files with 250 additions and 7 deletions

View File

@@ -141,9 +141,9 @@ set(BAN_SOURCES
../BAN/BAN/Time.cpp
)
set(LIBC_SOURCES
../libc/ctype.cpp
../libc/string.cpp
set(KLIBC_SOURCES
klibc/ctype.cpp
klibc/string.cpp
)
set(LIBELF_SOURCES
@@ -154,7 +154,7 @@ set(KERNEL_SOURCES
${KERNEL_SOURCES}
${LAI_SOURCES}
${BAN_SOURCES}
${LIBC_SOURCES}
${KLIBC_SOURCES}
${LIBELF_SOURCES}
)