dt-bindings: don't anchor DT_SCHEMA_FILES to bindings directory
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 16 Jan 2024 06:27:31 +0000 (06:27 +0000)
committerRob Herring <robh@kernel.org>
Tue, 16 Jan 2024 19:29:56 +0000 (13:29 -0600)
commit935024212dafebe065ccb5c4d399f19e4b8dbb82
tree810b2ab34ac39115df3fd4750102c5fbde95de5e
parent716089b417cf98d01f0dc1b39f9c47e1d7b4c965
dt-bindings: don't anchor DT_SCHEMA_FILES to bindings directory

Commit 5e3ef4546819 ("dt-bindings: ignore paths outside kernel for
DT_SCHEMA_FILES") anchored all searches to the bindings directory
(since bindings only exist below that), but it turns out this is not
always desired.

Just anchor to the base kernel source directory and while at it, break
the overly long line for legibility.

Reported-by: Michal Simek <michal.simek@amd.com>
Fixes: 5e3ef4546819 ("dt-bindings: ignore paths outside kernel for DT_SCHEMA_FILES")
Closes: https://lore.kernel.org/all/827695c3-bb33-4a86-8586-2c7323530398@amd.com/
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Tested-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20240116062731.2810067-1-git@andred.net
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/Makefile