What is the recommended method to patch a recipe?

nus1998 <nus1998@...>

Hi All,

I googled some topics on how to patch a recipe, most of them recommend to generate a corresponding <foo>.bbappend to apply the patch, I wonder if there is already a bbappend file, shall I modify the bbappend file directly, or create another layer to overwrite the bbappend file (and including the patchs in original bbappend file)?

Thanks in advance

Join yocto@lists.yoctoproject.org to automatically receive all group messages.