'yocto create symbolic link for a device tree

I have a custom yocto meta layer which includes a linux kernel definition including multiple device trees appended to KERNEL_DEVICETREE. When I build the kernel recipe, yocto creates also the devicetrees and install them to the rootfs. Additionally it creates a package kernel-devicetree which includes the dtb.

For a fallback scenario I will also create a symbolic link to the device tree blob. Where could I append or define that? I saw that the device tree build and deploy is implemented in the kernel-devicetree.bbclass but I don't know how to append them in my own recipe.

Or does another solution exist to create a symbolic link to a device tree (similar to the zImage symbolic link which is created automatically)

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source