BuildSystem: Base sysroot is now distributed as a tar ball

This allows file and directory permissions work as intended.

cmake is now filled with 'sudo' but with sudo timeout this should be
fine.
This commit is contained in:
Bananymous
2023-08-23 10:35:16 +03:00
parent a74eb357a1
commit b05cf9ef09
36 changed files with 58 additions and 49 deletions

View File

@@ -11,6 +11,7 @@ target_compile_options(stat PUBLIC -O2 -g)
target_link_libraries(stat PUBLIC libc ban)
add_custom_target(stat-install
COMMAND cp ${CMAKE_CURRENT_BINARY_DIR}/stat ${BANAN_BIN}/
COMMAND sudo cp ${CMAKE_CURRENT_BINARY_DIR}/stat ${BANAN_BIN}/
DEPENDS stat
USES_TERMINAL
)