From b15c31d440872d28f5ec0b385847016b5e4f441c Mon Sep 17 00:00:00 2001 From: Ben Levinsky Date: Thu, 15 Aug 2024 06:33:36 -0700 Subject: [PATCH] cmake: platforms: xlnx: Update machine from 'zynqmp_' to 'xlnx_' Match update so that the cmake platform files are coupled to vendor and not SOC which is previously 'zynqmp_'. Signed-off-by: Ben Levinsky --- cmake/platforms/zynqmp-a53-freertos.cmake | 2 +- cmake/platforms/zynqmp-a53-generic.cmake | 2 +- cmake/platforms/zynqmp-r5-freertos.cmake | 2 +- cmake/platforms/zynqmp-r5-generic.cmake | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/platforms/zynqmp-a53-freertos.cmake b/cmake/platforms/zynqmp-a53-freertos.cmake index b911b17d..21a4124c 100644 --- a/cmake/platforms/zynqmp-a53-freertos.cmake +++ b/cmake/platforms/zynqmp-a53-freertos.cmake @@ -1,5 +1,5 @@ set (CMAKE_SYSTEM_PROCESSOR "aarch64" CACHE STRING "") -set (MACHINE "zynqmp_a53" CACHE STRING "") +set (MACHINE "xlnx_a53" CACHE STRING "") set (PROJECT_VENDOR "xlnx" CACHE STRING "") set (CROSS_PREFIX "aarch64-none-elf-" CACHE STRING "") set (CMAKE_C_FLAGS "" CACHE STRING "") diff --git a/cmake/platforms/zynqmp-a53-generic.cmake b/cmake/platforms/zynqmp-a53-generic.cmake index 02309609..91d11959 100644 --- a/cmake/platforms/zynqmp-a53-generic.cmake +++ b/cmake/platforms/zynqmp-a53-generic.cmake @@ -1,5 +1,5 @@ set (CMAKE_SYSTEM_PROCESSOR "aarch64" CACHE STRING "") -set (MACHINE "zynqmp_a53" CACHE STRING "") +set (MACHINE "xlnx_a53" CACHE STRING "") set (PROJECT_VENDOR "xlnx" CACHE STRING "") set (CROSS_PREFIX "aarch64-none-elf-" CACHE STRING "") set (CMAKE_C_FLAGS "" CACHE STRING "") diff --git a/cmake/platforms/zynqmp-r5-freertos.cmake b/cmake/platforms/zynqmp-r5-freertos.cmake index b7e3e652..642f56f6 100644 --- a/cmake/platforms/zynqmp-r5-freertos.cmake +++ b/cmake/platforms/zynqmp-r5-freertos.cmake @@ -1,5 +1,5 @@ set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") -set (MACHINE "zynqmp_r5" CACHE STRING "") +set (MACHINE "xlnx_r5" CACHE STRING "") set (PROJECT_VENDOR "xlnx" CACHE STRING "") set (CROSS_PREFIX "armr5-none-eabi-" CACHE STRING "") set (CMAKE_C_FLAGS "-mfloat-abi=soft -mcpu=cortex-r5" CACHE STRING "") diff --git a/cmake/platforms/zynqmp-r5-generic.cmake b/cmake/platforms/zynqmp-r5-generic.cmake index a2264771..b11dabfb 100644 --- a/cmake/platforms/zynqmp-r5-generic.cmake +++ b/cmake/platforms/zynqmp-r5-generic.cmake @@ -1,5 +1,5 @@ set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") -set (MACHINE "zynqmp_r5" CACHE STRING "") +set (MACHINE "xlnx_r5" CACHE STRING "") set (CROSS_PREFIX "armr5-none-eabi-" CACHE STRING "") set (PROJECT_VENDOR "xlnx" CACHE STRING "")