Sysroot headers can now be built without the build system

This commit is contained in:
2021-08-26 13:29:09 +01:00
parent 30085621f6
commit deb5eb6b1b
2 changed files with 5 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ add_custom_target(crt ALL
DEPENDS ${crt_bin}
COMMENT "Generating CRT files")
set(photon_libc_crt_bin ${crt_bin} PARENT_SCOPE)
file(GLOB platform_sources
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/*.c
${CMAKE_CURRENT_SOURCE_DIR}/photon/libc/sys/${platform}/machine/${machine}/*.c