CMake: Zynq: generic: update to use xil,metal lib
[processor-sdk/open-amp.git] / cmake / platforms / zynqmp_r5_generic.cmake
1 set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "")
2 set (MACHINE                "zynqmp_r5" CACHE STRING "")
3 set (CROSS_PREFIX           "armr5-none-eabi-" CACHE STRING "")
4 set (CMAKE_C_FLAGS          "-mfloat-abi=soft -mcpu=cortex-r5 -O2" CACHE STRING "")
5 set (CMAKE_ASM_FLAGS        "-mfloat-abi=soft -mcpu=cortex-r5" CACHE STRING "")
6 set (PLATFORM_LIB_DEPS      "-lxil -lc -lm" CACHE STRING "")
8 include (cross_generic_gcc)
10 # vim: expandtab:ts=2:sw=2:smartindent