dt-bindings: kbuild: Simplify examples target patsubst
authorRob Herring <robh@kernel.org>
Fri, 5 Apr 2024 22:56:01 +0000 (17:56 -0500)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 23 Apr 2024 04:21:57 +0000 (13:21 +0900)
commitda6011a648687b5318b3705374e6120da0ec9b9a
treed172dab64e9c757a84fbd6703390b47853fdba96
parent10f94d8fcc0880c93d7697184fe199022792a61c
dt-bindings: kbuild: Simplify examples target patsubst

Instead of stripping off the $(srctree) multiple times do it once up
front, but keep the src/obj path as it is going to be needed in
subsequent commit.

Rename the variable to CHK_DT_EXAMPLES to better reflect what it
contains.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/devicetree/bindings/Makefile