summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-07-27 17:22:28 -0600
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-08-01 14:41:45 -0400
commitc9b65ee0e53cba999b8061b72039f108187b9600 (patch)
tree9eae9219f55e805392bd124eb36fef8bce022496 /dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend
parent5bb2ad0d25969f93964c7870ebafeab92271013f (diff)
downloadmeta-virtualization-c9b65ee0e53cba999b8061b72039f108187b9600.tar.gz
recipes-bsp: Add device-tree files for Xen support
Add device-tree files for Xen support, Earlier all these files were in meta-petalinux layer, Hence move these files to this layer so that users can build Xen without including meta-petalinux. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend')
-rw-r--r--dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend19
1 files changed, 19 insertions, 0 deletions
diff --git a/dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend b/dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend
new file mode 100644
index 00000000..e2358262
--- /dev/null
+++ b/dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend
@@ -0,0 +1,19 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
2
3ENABLE_XEN_DTSI ?= ""
4ENABLE_XEN_QEMU_DTSI ?= ""
5
6XEN_EXTRA_OVERLAYS = ""
7XEN_EXTRA_QEMU_OVERLAYS = ""
8
9XEN_EXTRA_OVERLAYS:zynqmp = "zynqmp-xen.dtsi"
10XEN_EXTRA_QEMU_OVERLAYS:zynqmp = "zynqmp-xen.dtsi zynqmp-xen-qemu.dtsi"
11
12XEN_EXTRA_OVERLAYS:versal = "versal-xen.dtsi"
13XEN_EXTRA_QEMU_OVERLAYS:versal = "versal-xen.dtsi versal-xen-qemu.dtsi"
14
15XEN_EXTRA_OVERLAYS:versal-net = "versal-net-xen.dtsi"
16XEN_EXTRA_QEMU_OVERLAYS:versal-net = "versal-net-xen.dtsi versal-net-xen-qemu.dtsi"
17
18EXTRA_OVERLAYS:append = "${@' ${XEN_EXTRA_OVERLAYS}' if d.getVar('ENABLE_XEN_DTSI') == '1' else ''}"
19EXTRA_OVERLAYS:append = "${@' ${XEN_EXTRA_QEMU_OVERLAYS}' if d.getVar('ENABLE_XEN_QEMU_DTSI') == '1' else ''}"