diff options
| author | Onkar Harsh <onkar.harsh@amd.com> | 2024-02-05 17:56:40 +0530 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-02-07 08:51:58 -0600 |
| commit | 7d719ff7cce9f406eead2639aade01d631764661 (patch) | |
| tree | abbbcb3804743414deaf4943ab5f6af2ca741aa6 /meta-xilinx-standalone | |
| parent | cb4aa8ece7e47020d82f09a0fed1ba20ebcf6a84 (diff) | |
| download | meta-xilinx-7d719ff7cce9f406eead2639aade01d631764661.tar.gz | |
standalone: Add support for Versal Net specific CMAKE variables
CMAKE_MACHINE and CMAKE_SYSTEM_PROCESSOR values are different for Versal Net
than that of Versal. Update the same using the SOC_VARIANT as the SOC_FAMILY is
same for both.
In addition, update the SOC specific flags (defined in-house to segragate execution
of some part of the boot code and the drivers) for versal and versal-net.
Signed-off-by: Onkar Harsh <onkar.harsh@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
| -rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc index 27c19081..62c5a211 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | |||
| @@ -15,6 +15,8 @@ ESW_CFLAGS ?= "" | |||
| 15 | 15 | ||
| 16 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw | 16 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw |
| 17 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" | 17 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" |
| 18 | TUNE_CCARGS:append:versal = " -Dversal" | ||
| 19 | TUNE_CCARGS:append:versal-net = " -DVERSAL_NET" | ||
| 18 | 20 | ||
| 19 | # Make sure all regular recipes are excluded from compatibility | 21 | # Make sure all regular recipes are excluded from compatibility |
| 20 | # Avoid using this for native, nativesdk or cross recipes | 22 | # Avoid using this for native, nativesdk or cross recipes |
