I am using thud for my distro and I have two bbappend for my kernel I need to make sure that meta-layer1 is parsed before meta-layer2 to get the patches applied in the right order. So the patches in meta-layer2 need to be applied after meta-layer1 patches have been applied. I have adjusted the BBFILE_PRIORITY accordingly so layer1 has 1120 and layer2 has 1110 based on "A larger value for the BBFILE_PRIORITY variable results in a higher precedence." but whatever I do I am still getting the wrong order and do_patch is failing. Any pointers to what I am doing wrong? I must be doing something wrong that is preventing the BBFILE_PRIORITY in my layer.conf to have an effect. Running "bitbake-layers show-layers" shows the expected output but when running the do_patch it is wrong and when dumping the env using "bitbake -e virtual/kernel" it is clear the order is wrong.