mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-02-19 15:39:45 -05:00
* [EGD-4330] file streams ld preload library It is concept library LD_PRELOAD for handle syscalls wrapper to the image fat file. * [EGD-4330] Stdlib implementation * [EGD-4330] Stdio syscalls * [EGD-4330] Dir searching stdlib replacement * [EGD-4330] NL at end of file * [EGD-4261] Working version of library wrapper * [EGD-4330] Script for run emulator on fs image Run phone emulator using filesystem image * [EGD-4261] Missing debug file * [EGD-4330] Not needed to link... * [EGD-4330] Code review fixes #1 iosyscalls * [EGD-4330] Code review fixes round #2 * [EGD-4330] Code review round #3 * Ident fixes * [EGD-4330] Ident fixes * [EGD-4330] Code review round #4 Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
32 lines
856 B
CMake
32 lines
856 B
CMake
set(PROJECT_TARGET "TARGET_Linux" CACHE INTERNAL "")
|
|
|
|
set(TARGET_SOURCES CACHE INTERNAL "")
|
|
|
|
set(TARGET_DIR_INCLUDES ${CMAKE_CURRENT_LIST_DIR}/board/linux CACHE INTERNAL "")
|
|
|
|
set(TARGET_COMPILE_FEATURES CACHE INTERNAL "")
|
|
|
|
set(TARGET_COMPILE_DEFINITIONS CACHE INTERNAL "")
|
|
|
|
|
|
add_compile_options(-funsigned-char)
|
|
|
|
set(TARGET_LIBRARIES
|
|
rt
|
|
pthread
|
|
portaudio
|
|
CACHE INTERNAL "" )
|
|
|
|
|
|
option (LINUX_ENABLE_SANITIZER "Enable address sanitizer for Linux" ON)
|
|
if (LINUX_ENABLE_SANITIZER)
|
|
add_compile_options(-fsanitize=address -static-libasan)
|
|
add_link_options(-fsanitize=address -static-libasan)
|
|
endif (LINUX_ENABLE_SANITIZER)
|
|
|
|
set(CMAKE_STRIP strip CACHE INTERNAL "")
|
|
set(CMAKE_OBJCOPY objcopy CACHE INTERNAL "")
|
|
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/sys)
|
|
file(CREATE_LINK ${CMAKE_BINARY_DIR}/user ${CMAKE_BINARY_DIR}/sys/user SYMBOLIC)
|
|
|