diff options
author | Rob Herring <robh@kernel.org> | 2019-05-09 15:53:44 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-05-22 16:01:01 +0200 |
commit | 05aeca7cb0a2f53a307c329ba758f1e88972a360 (patch) | |
tree | 903d11bb73401ac1415d653f936e91aa458afd74 /Documentation | |
parent | dt-bindings: sifive: describe sifive-blocks versioning (diff) | |
download | linux-05aeca7cb0a2f53a307c329ba758f1e88972a360.tar.xz linux-05aeca7cb0a2f53a307c329ba758f1e88972a360.zip |
dt-bindings: Pass binding directory to validation tools
In order to have $ref's to schema files within the kernel, we need to
pass the base path of bindings to the schema validation tools.
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: devicetree@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile index 63b139f9ae28..8a2774b5834b 100644 --- a/Documentation/devicetree/bindings/Makefile +++ b/Documentation/devicetree/bindings/Makefile @@ -5,7 +5,7 @@ DT_MK_SCHEMA ?= dt-mk-schema DT_MK_SCHEMA_FLAGS := $(if $(DT_SCHEMA_FILES), -u) quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<) - cmd_chk_binding = $(DT_DOC_CHECKER) $< ; \ + cmd_chk_binding = $(DT_DOC_CHECKER) -u $(srctree)/$(src) $< ; \ $(DT_EXTRACT_EX) $< > $@ $(obj)/%.example.dts: $(src)/%.yaml FORCE |