Skip to content

Commit

Permalink
lib: xlnx: Change Xilinx-AMD based machine names to be SOC agnostic
Browse files Browse the repository at this point in the history
As the various cores on Xilinx-AMD cores can be on multiple SOC's, rename
the CMake machine names from 'SOC-CORE' to 'xlnx-CORE'

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
  • Loading branch information
bentheredonethat committed Jul 16, 2024
1 parent 3aee6be commit 5e1b546
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/system/freertos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_MACHINE})
add_subdirectory(${PROJECT_MACHINE})
endif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_MACHINE})

if ("${PROJECT_MACHINE}" STREQUAL "zynqmp_a53" OR
"${PROJECT_MACHINE}" STREQUAL "zynqmp_a72" OR
"${PROJECT_MACHINE}" STREQUAL "zynqmp_a78" OR
"${PROJECT_MACHINE}" STREQUAL "zynqmp_r5" OR
if ("${PROJECT_MACHINE}" STREQUAL "xlnx_a53" OR
"${PROJECT_MACHINE}" STREQUAL "xlnx_a72" OR
"${PROJECT_MACHINE}" STREQUAL "xlnx_a78" OR
"${PROJECT_MACHINE}" STREQUAL "xlnx_r5" OR
"${PROJECT_MACHINE}" STREQUAL "zynq7")
add_subdirectory(xlnx)
endif()
8 changes: 4 additions & 4 deletions lib/system/generic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ collect (PROJECT_LIB_SOURCES irq.c)
collect (PROJECT_LIB_SOURCES shmem.c)
collect (PROJECT_LIB_SOURCES time.c)

if ("${PROJECT_MACHINE}" STREQUAL "zynqmp_a53" OR
"${PROJECT_MACHINE}" STREQUAL "zynqmp_a72" OR
"${PROJECT_MACHINE}" STREQUAL "zynqmp_a78" OR
"${PROJECT_MACHINE}" STREQUAL "zynqmp_r5" OR
if ("${PROJECT_MACHINE}" STREQUAL "xlnx_a53" OR
"${PROJECT_MACHINE}" STREQUAL "xlnx_a72" OR
"${PROJECT_MACHINE}" STREQUAL "xlnx_a78" OR
"${PROJECT_MACHINE}" STREQUAL "xlnx_r5" OR
"${PROJECT_MACHINE}" STREQUAL "microblaze_generic" OR
"${PROJECT_MACHINE}" STREQUAL "zynq7")
add_subdirectory(xlnx)
Expand Down

0 comments on commit 5e1b546

Please sign in to comment.