diff options
author | Rob Herring <robh@kernel.org> | 2022-03-03 18:45:14 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-03-10 16:53:23 +0100 |
commit | b3e664a7f449805aea492713223d7a5578325136 (patch) | |
tree | a24c8e92d75075438bb8162a8c2a32b01e50eac5 /Documentation/devicetree/bindings/Makefile | |
parent | dt-bindings: Add vendor prefix for Xen hypervisor (diff) | |
download | linux-b3e664a7f449805aea492713223d7a5578325136.tar.xz linux-b3e664a7f449805aea492713223d7a5578325136.zip |
dt-bindings: kbuild: Print a warning if yamllint is not found
Running yamllint is effectively required for binding schemas, so print a
warning if not found rather than silently skipping running it.
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220303221417.2486268-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/Makefile')
-rw-r--r-- | Documentation/devicetree/bindings/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile index 5138d10e0601..29b5dbd0807e 100644 --- a/Documentation/devicetree/bindings/Makefile +++ b/Documentation/devicetree/bindings/Makefile @@ -3,7 +3,8 @@ DT_DOC_CHECKER ?= dt-doc-validate DT_EXTRACT_EX ?= dt-extract-example DT_MK_SCHEMA ?= dt-mk-schema -DT_SCHEMA_LINT = $(shell which yamllint) +DT_SCHEMA_LINT := $(shell which yamllint || \ + echo "warning: python package 'yamllint' not installed, skipping" >&2) DT_SCHEMA_MIN_VERSION = 2021.2.1 |