I am trying to enable code-coverage (gcov) for all the recipes that have been modified in a given layer.
I can achieve this by updating the ".bbappend" files of the corresponding recipes and passing extra arguments '--coverage' to compile with the coverage option.
However I feel this is neither elegant nor reusable.
Hence want to check if there is better solution to this than explicitly passing the CFLAGS in each recipe