On 16/01/2023 15:00, Andrejs Cainikovs wrote: > Hi all, > > Right now I'm working on some extra checks for our Gitlab CI, and I'm a bit puzzled about how can I implement a nicely looking script that would execute "make CHECK_DTBS=y" on every touched device tree file. dts files are not a problem, but when it comes to .dtsi, which might be included in other .dtsi, makes the logic more complex than I would like to. I'm sure some of you might have a working solution for this scenario, and would appreciate if you could share your scripts/template. :) You can touch files from commit and then make dtbs to get the list of targets affected by DTSI. Best regards, Krzysztof