diff options
author | Nathan Chancellor <nathan@kernel.org> | 2022-03-15 23:25:43 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-03-24 02:10:00 +0300 |
commit | 6b49f3409a090c8e9d1f46ff2705c479b45a54d4 (patch) | |
tree | 9e512e0183cd02c7e783c3aa8cdd39a60c132cb3 /Documentation/devicetree/bindings/i2c/i2c-mux.yaml | |
parent | 5db1c2dbc04c161d9e6b3f93457452e2ee904bde (diff) | |
download | linux-6b49f3409a090c8e9d1f46ff2705c479b45a54d4.tar.xz |
dt-bindings: kbuild: Make DT_SCHEMA_LINT a recursive variable
A recent change added a warning when yamllint is not installed, as it is
needed for 'make dt_binding_check'. However, it also changed
DT_SCHEMA_LINT to be a simple make variable, which is evaluated when a
Makefile is evaluated. This causes a warning when running 'make clean',
as Documentation/devicetree/bindings/Makefile has a "clean-files"
variable:
$ make -s clean
which: no yamllint in (...)
warning: python package 'yamllint' not installed, skipping
Make DT_SCHEMA_LINT a recursive variable so it is evaluated only when it
is used. The warning still triggers when 'make dt_binding_check' is run.
Fixes: b3e664a7f449 ("dt-bindings: kbuild: Print a warning if yamllint is not found")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220315202542.2071351-1-nathan@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-mux.yaml')
0 files changed, 0 insertions, 0 deletions