-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
5c36d6b
commit c97dab1
Showing
8 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
set (CMAKE_SYSTEM_PROCESSOR "aarch64" 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 "") | ||
|
||
include (cross-freertos-gcc) | ||
|
2 changes: 1 addition & 1 deletion
2
cmake/platforms/zynqmp-a53-generic.cmake → cmake/platforms/xlnx-a53-generic.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
set (CMAKE_SYSTEM_PROCESSOR "arm" 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 "") | ||
|
||
include (cross-freertos-gcc) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set (CMAKE_SYSTEM_PROCESSOR "arm" CACHE STRING "") | ||
set (MACHINE "xlnx_r5" CACHE STRING "") | ||
set (CROSS_PREFIX "armr5-none-eabi-" CACHE STRING "") | ||
set (PROJECT_VENDOR "xlnx" CACHE STRING "") | ||
|
||
# Xilinx SDK version earlier than 2017.2 use mfloat-abi=soft by default to generate libxil | ||
set (CMAKE_C_FLAGS "-mfloat-abi=hard -mfpu=vfpv3-d16 -mcpu=cortex-r5" CACHE STRING "") | ||
|
||
include (cross-generic-gcc) | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.