diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2025-12-08 16:43:03 -0600 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2025-12-17 09:16:14 -0600 |
| commit | 400fbf4b5870f42b651371303730290ca7a8dd78 (patch) | |
| tree | 5f66278dd87c5f4553cb6e74d0ebd80368b65e77 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1a0c2bf998bb90e1d7450ad6b3b47f9e428375a7 (diff) | |
| download | linux-400fbf4b5870f42b651371303730290ca7a8dd78.tar.gz linux-400fbf4b5870f42b651371303730290ca7a8dd78.zip | |
dt-bindings: kbuild: Support single binding targets
Running the full 'make dt_binding_check' is slow. A shortcut is to set
DT_SCHEMA_FILES env variable to a substring of DT schema files to test.
It both limits which examples are validated and which schemas are used
to validate the examples. This is a problem because errors from other
schemas are missed. What makes validation slow is checking all examples,
so we really just need a way to test a single example.
Add a %.yaml target to validate the schema and validate the example:
make example-schema.yaml
The behavior for 'make dt_binding_check DT_SCHEMA_FILES=example-schema'
is unchanged. Really it should mirror dtbs_check and validate all the
examples with a subset of schemas, but there are lots of users of
expecting the existing behavior.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251208224304.2907913-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
