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@xxxxxxxxxx/ [1] https://lore.kernel.org/all/20220817152027.16928-1-masahiroy@xxxxxxxxxx/ Signed-off-by: Rob Herring <robh@xxxxxxxxxx> --- 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, -- Rob Herring <robh@xxxxxxxxxx>