CMake: generic: ZynqMP R5: udpate to use libxil, libmetal
authorWendy Liang <jliang@xilinx.com>
Tue, 16 Aug 2016 05:31:23 +0000 (22:31 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:49 +0000 (22:01 -0700)
Update ZynqMP R5 generic CMake toolchain file to use libxil, libmetal
libraries.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
cmake/platforms/zynqmp_r5_generic.cmake

index b46592186e909c2e949c08d03fd822f8ac2cab68..5961796df7393a7906fa4dc93e718f5613a44d31 100644 (file)
@@ -1,9 +1,7 @@
 set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "")
 set (MACHINE                "zynqmp_r5" CACHE STRING "")
 set (CROSS_PREFIX           "armr5-none-eabi-" CACHE STRING "")
-set (CMAKE_C_FLAGS          "-mfloat-abi=soft -mcpu=cortex-r5 -O2" CACHE STRING "")
-set (CMAKE_ASM_FLAGS        "-mfloat-abi=soft -mcpu=cortex-r5" CACHE STRING "")
-set (PLATFORM_LIB_DEPS      "-lxil -lc -lm" CACHE STRING "")
+set (CMAKE_C_FLAGS          "-mfloat-abi=soft -mcpu=cortex-r5 -Os" CACHE STRING "")
 
 include (cross_generic_gcc)