mbox series

[v2,0/3] dt-bindings: kbuild: Rework build rules and dependencies

Message ID 20240405-dt-kbuild-rework-v2-0-3a035caee357@kernel.org
Headers show
Series dt-bindings: kbuild: Rework build rules and dependencies | expand

Message

Rob Herring April 5, 2024, 10:56 p.m. UTC
This series reworks the DT binding build rules and dependencies. It 
fixes a problem with if_changed_rule Masahiro reported some time back[1] 
and improves the dependency handling for the DT validation targets.

Relative to v1, I've dropped all but 1 one of the top-level targets 
added in v1. The only top-level target added it for building the 
processed schema used by multiple targets.

Rob

v1: https://lore.kernel.org/all/20220824203934.2855320-1-robh@kernel.org/

[1] https://lore.kernel.org/all/20220817152027.16928-1-masahiroy@kernel.org/

Signed-off-by: Rob Herring <robh@kernel.org>
---
Rob Herring (3):
      dt-bindings: kbuild: Simplify examples target patsubst
      dt-bindings: kbuild: Split targets out to separate rules
      dt-bindings: kbuild: Add separate target/dependency for processed-schema.json

 Documentation/devicetree/bindings/Makefile | 34 ++++++++++++++++++------------
 Makefile                                   | 24 ++++++++++-----------
 scripts/Makefile.lib                       |  2 +-
 3 files changed, 33 insertions(+), 27 deletions(-)
---
base-commit: 4cece764965020c22cff7665b18a012006359095
change-id: 20240405-dt-kbuild-rework-f356ab890d45

Best regards,