summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-10-05 22:41:54 -0600
committerMark Hatle <mark.hatle@amd.com>2024-10-09 08:34:47 -0500
commitf3cb161d1c49a295808254f4141ef6ce65106b6a (patch)
tree068296f714d694e7055c98268bb5e93e6fbc8e53
parent7bfb30fb0312e400931c8df675bef357fcae925d (diff)
downloadmeta-xilinx-f3cb161d1c49a295808254f4141ef6ce65106b6a.tar.gz
device-tree: Rename OPENAMP_EXTRA_OVERLAYS variable
Rename EXTRA_OVERLAYS to EXTRA_DT_INCLUDE_FILES and OPENAMP_EXTRA_OVERLAYS to OPENAMP_EXTRA_DT_INCLUDE_FILES as these variables add extra files to DT_FILES_PATH and add a #include for each to the BASE_DTS. Also rename the set_openamp_extra_overlays to set_openamp_extra_dt_include_files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/dynamic-layers/openamp-layer/recipes-bsp/device-tree/device-tree.bbappend16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-bsp/device-tree/device-tree.bbappend
index 465f494b..7d374291 100644
--- a/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-bsp/device-tree/device-tree.bbappend
+++ b/meta-xilinx-core/dynamic-layers/openamp-layer/recipes-bsp/device-tree/device-tree.bbappend
@@ -3,19 +3,19 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
3# openamp.dtsi is in the WORKDIR 3# openamp.dtsi is in the WORKDIR
4DT_INCLUDE:append = " ${WORKDIR}" 4DT_INCLUDE:append = " ${WORKDIR}"
5 5
6do_configure[vardeps] += "ENABLE_OPENAMP_DTSI OPENAMP_EXTRA_OVERLAYS" 6do_configure[vardeps] += "ENABLE_OPENAMP_DTSI OPENAMP_EXTRA_DT_INCLUDE_FILES"
7 7
8OPENAMP_EXTRA_OVERLAYS ?= "" 8OPENAMP_EXTRA_DT_INCLUDE_FILES ?= ""
9OPENAMP_EXTRA_OVERLAYS:zynqmp = "zynqmp-openamp.dtsi" 9OPENAMP_EXTRA_DT_INCLUDE_FILES:zynqmp = "zynqmp-openamp.dtsi"
10OPENAMP_EXTRA_OVERLAYS:versal = "versal-openamp.dtsi" 10OPENAMP_EXTRA_DT_INCLUDE_FILES:versal = "versal-openamp.dtsi"
11OPENAMP_EXTRA_OVERLAYS:versal-net = "versal-net-openamp.dtsi" 11OPENAMP_EXTRA_DT_INCLUDE_FILES:versal-net = "versal-net-openamp.dtsi"
12 12
13def set_openamp_extra_overlays(d): 13def set_openamp_extra_dt_include_files(d):
14 distro_features = d.getVar('DISTRO_FEATURES', True) 14 distro_features = d.getVar('DISTRO_FEATURES', True)
15 enable_openamp_dtsi = d.getVar('ENABLE_OPENAMP_DTSI') 15 enable_openamp_dtsi = d.getVar('ENABLE_OPENAMP_DTSI')
16 if 'openamp' in distro_features and enable_openamp_dtsi == '1': 16 if 'openamp' in distro_features and enable_openamp_dtsi == '1':
17 return ' ${OPENAMP_EXTRA_OVERLAYS}' 17 return ' ${OPENAMP_EXTRA_DT_INCLUDE_FILES}'
18 else: 18 else:
19 return '' 19 return ''
20 20
21EXTRA_OVERLAYS:append = "${@set_openamp_extra_overlays(d)}" 21EXTRA_DT_INCLUDE_FILES:append = "${@set_openamp_extra_dt_include_files(d)}"