bootstrap: replace fs stub msg handlers with libfs

This commit is contained in:
2026-03-06 20:18:54 +00:00
parent d0abe3333d
commit 5ad1babd03
3 changed files with 110 additions and 34 deletions

View File

@@ -5,10 +5,12 @@ set_property(SOURCE ${arch_sources} PROPERTY LANGUAGE C)
add_executable(bootstrap ${c_sources} ${arch_sources})
target_link_libraries(bootstrap libmango ulibc liblaunch interface::fs)
target_link_libraries(bootstrap
libmango libc-core libc-malloc libfs-static liblaunch
interface::fs)
target_compile_options(bootstrap PRIVATE
-fPIC -pie -fno-stack-protector -nostdlib -ffreestanding)
-fno-stack-protector -nostdlib -ffreestanding)
target_link_options(bootstrap PRIVATE
-fPIC -static -pie -nostdlib -ffreestanding
-T ${CMAKE_CURRENT_SOURCE_DIR}/arch/${TARGET_ARCH}/layout.ld)
-static -nostdlib -ffreestanding)
#-T ${CMAKE_CURRENT_SOURCE_DIR}/arch/${TARGET_ARCH}/layout.ld)