From 7d719ff7cce9f406eead2639aade01d631764661 Mon Sep 17 00:00:00 2001 From: Onkar Harsh Date: Mon, 5 Feb 2024 17:56:40 +0530 Subject: 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 Signed-off-by: Mark Hatle --- meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-xilinx-standalone') 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 ?= "" # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" +TUNE_CCARGS:append:versal = " -Dversal" +TUNE_CCARGS:append:versal-net = " -DVERSAL_NET" # Make sure all regular recipes are excluded from compatibility # Avoid using this for native, nativesdk or cross recipes -- cgit v1.2.3-54-g00ecf