1set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") 2set (MACHINE "zynqmp_r5" CACHE STRING "") 3set (CROSS_PREFIX "armr5-none-eabi-" CACHE STRING "") 4 5# Xilinx SDK version earlier than 2017.2 use mfloat-abi=soft by default to generate libxil 6set (CMAKE_C_FLAGS "-mfloat-abi=hard -mfpu=vfpv3-d16 -mcpu=cortex-r5" CACHE STRING "") 7 8include (cross_generic_gcc) 9