summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
diff options
context:
space:
mode:
authorOnkar Harsh <onkar.harsh@amd.com>2024-02-05 17:56:40 +0530
committerMark Hatle <mark.hatle@amd.com>2024-02-07 08:51:58 -0600
commit7d719ff7cce9f406eead2639aade01d631764661 (patch)
treeabbbcb3804743414deaf4943ab5f6af2ca741aa6 /meta-xilinx-standalone
parentcb4aa8ece7e47020d82f09a0fed1ba20ebcf6a84 (diff)
downloadmeta-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.inc2
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
17TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" 17TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}"
18TUNE_CCARGS:append:versal = " -Dversal"
19TUNE_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