linux/Documentation
Cristian Ciocaltea 25eba1598c dt-bindings: Fix multi pattern support in DT_SCHEMA_FILES
DT_SCHEMA_FILES used to allow specifying a space separated list of file
paths, but the introduction of partial matches support broke this
feature:

$ make dtbs_check DT_SCHEMA_FILES="path/to/schema1.yaml path/to/schema2.yaml"
[...]
  LINT    Documentation/devicetree/bindings
usage: yamllint [-h] [-] [-c CONFIG_FILE | -d CONFIG_DATA] [--list-files] [...]
                [-v]
                [FILE_OR_DIR ...]
yamllint: error: one of the arguments FILE_OR_DIR - is required
[...]

Restore the lost functionality by preparing a grep filter that is able
to handle multiple search patterns.

Additionally, as suggested by Rob, use ':' instead of ' ' as the
patterns separator char. Hence, the command above becomes:

$ make dtbs_check DT_SCHEMA_FILES="path/to/schema1.yaml:path/to/schema2.yaml"

Fixes: 309d955985ee ("dt-bindings: kbuild: Support partial matches with DT_SCHEMA_FILES")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230209193735.795288-1-cristian.ciocaltea@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org>
2023-02-15 15:07:42 -06:00
..
2022-12-23 12:00:24 -08:00
2022-12-19 08:34:39 -06:00
2022-12-14 12:20:00 -08:00
2022-12-19 08:54:17 -06:00
2022-11-15 10:07:40 +01:00
2022-12-21 10:18:17 -08:00
2022-10-09 22:30:23 -07:00
2022-12-13 19:29:45 -08:00
2022-12-12 13:55:31 -08:00
2022-12-19 12:33:32 -06:00
2022-09-28 09:02:45 +02:00
2022-12-21 18:57:24 -08:00
2022-12-14 09:15:43 -08:00
2022-12-15 11:12:21 -08:00
2022-10-03 16:39:37 -07:00