meta-virtualization/dynamic-layers/xilinx/recipes-bsp/device-tree/device-tree.bbappend
Sandeep Gundlupet Raju c9b65ee0e5 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>
2023-08-01 14:41:45 -04:00

20 lines
741 B
Plaintext

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
ENABLE_XEN_DTSI ?= ""
ENABLE_XEN_QEMU_DTSI ?= ""
XEN_EXTRA_OVERLAYS = ""
XEN_EXTRA_QEMU_OVERLAYS = ""
XEN_EXTRA_OVERLAYS:zynqmp = "zynqmp-xen.dtsi"
XEN_EXTRA_QEMU_OVERLAYS:zynqmp = "zynqmp-xen.dtsi zynqmp-xen-qemu.dtsi"
XEN_EXTRA_OVERLAYS:versal = "versal-xen.dtsi"
XEN_EXTRA_QEMU_OVERLAYS:versal = "versal-xen.dtsi versal-xen-qemu.dtsi"
XEN_EXTRA_OVERLAYS:versal-net = "versal-net-xen.dtsi"
XEN_EXTRA_QEMU_OVERLAYS:versal-net = "versal-net-xen.dtsi versal-net-xen-qemu.dtsi"
EXTRA_OVERLAYS:append = "${@' ${XEN_EXTRA_OVERLAYS}' if d.getVar('ENABLE_XEN_DTSI') == '1' else ''}"
EXTRA_OVERLAYS:append = "${@' ${XEN_EXTRA_QEMU_OVERLAYS}' if d.getVar('ENABLE_XEN_QEMU_DTSI') == '1' else ''}"