Skip to content

Commit

Permalink
cmake: platforms: xlnx: Update machine from 'zynqmp_' to 'xlnx_'
Browse files Browse the repository at this point in the history
Match update so that the cmake platform files are coupled to vendor and not
SOC which is previously 'zynqmp_'.

Signed-off-by: Ben Levinsky <[email protected]>
  • Loading branch information
bentheredonethat committed Aug 15, 2024
1 parent 5c36d6b commit b15c31d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/platforms/zynqmp-a53-freertos.cmake
Original file line number Diff line number Diff line change
@@ -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 "")
Expand Down
2 changes: 1 addition & 1 deletion cmake/platforms/zynqmp-a53-generic.cmake
Original file line number Diff line number Diff line change
@@ -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 "")
Expand Down
2 changes: 1 addition & 1 deletion cmake/platforms/zynqmp-r5-freertos.cmake
Original file line number Diff line number Diff line change
@@ -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 "")
Expand Down
2 changes: 1 addition & 1 deletion cmake/platforms/zynqmp-r5-generic.cmake
Original file line number Diff line number Diff line change
@@ -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 "")

Expand Down

0 comments on commit b15c31d

Please sign in to comment.