I'm looking for advice as to how include the device tree compilation of an overlay, such that it's compiled (dtc) and added to the rootfs on a normal Petalinux 2020.1 build.
Currently, I'm compiling them manually and plan to add them to the rootfs by a post-process function, but perhaps there's a better way to go about this. The overlays are not intended to be loaded automatically at boot time, but on demand by the application running on Linux.
In summary, I'm looking for a .bb recipe to:
a) Compile the overlay .dts with dtc to generate the .dtbo