Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2 -1
+2 -1
Documentation/devicetree/bindings/Makefile
··· 3 3 DT_EXTRACT_EX ?= dt-extract-example 4 4 DT_MK_SCHEMA ?= dt-mk-schema 5 5 6 - DT_SCHEMA_LINT = $(shell which yamllint) 6 + DT_SCHEMA_LINT := $(shell which yamllint || \ 7 + echo "warning: python package 'yamllint' not installed, skipping" >&2) 7 8 8 9 DT_SCHEMA_MIN_VERSION = 2021.2.1 9 10