devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Gitlab device tree check
@ 2023-01-16 14:00 Andrejs Cainikovs
  2023-01-18 12:52 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Andrejs Cainikovs @ 2023-01-16 14:00 UTC (permalink / raw)
  To: devicetree@vger.kernel.org; +Cc: Rob Herring, Krzysztof Kozlowski

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. :)

Best regards,
Andrejs Cainikovs.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gitlab device tree check
  2023-01-16 14:00 Gitlab device tree check Andrejs Cainikovs
@ 2023-01-18 12:52 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-18 12:52 UTC (permalink / raw)
  To: Andrejs Cainikovs, devicetree@vger.kernel.org; +Cc: Rob Herring

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-18 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-16 14:00 Gitlab device tree check Andrejs Cainikovs
2023-01-18 12:52 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).