OpenAMP / libmetal

An abstraction layer across RTOS, baremetal, and user-space Linux environments
https://www.openampproject.org/
Other
263 stars 170 forks source link

How can i build libmetal for a barametal soc? #308

Closed kikuyuchanj closed 1 month ago

kikuyuchanj commented 2 months ago

I want to build libmetal and openamp for a barametal system, which is not Xillinx. But when I build cmake with newlib toolchain, I meet this problem: -- Found Threads: TRUE CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find LibRt (missing: LIBRT_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindLibRt.cmake:36 (find_package_handle_standard_args) cmake/depends.cmake:24 (find_package) CMakeLists.txt:24 (include)