Re: [PATCH] dt-bindings: ignore paths outside kernel for DT_SCHEMA_FILES

From: Conor Dooley
Date: Mon Jan 15 2024 - 11:29:35 EST


On Mon, Jan 15, 2024 at 09:40:37AM +0000, André Draszik wrote:
> Hi,
>
> On Mon, 2024-01-15 at 10:20 +0100, Michal Simek wrote:
> > This patch is causing issue for me. Look at log below.
> > I am running it directly on the latest linux-next/master.
> >
> > Thanks,
> > Michal
> >
> > $ make DT_SCHEMA_FILES="Documentation/devicetree/bindings/arm/arm,cci-400.yaml"
> > dt_binding_check
>
> It'll work if you drop the 'Documentation/devicetree/bindings' part from the path, as
> it is implied since bindings can only be in that directory anyway:
>
> make DT_SCHEMA_FILES="arm/arm,cci-400.yaml" dt_binding_check
> make DT_SCHEMA_FILES="arm,cci-400.yaml" dt_binding_check
>
> both work.

Requiring that is pretty user unfriendly though I think, passing the
full path from the root directory of the kernel tree would be my
assumption of the "default".

Attachment: signature.asc
Description: PGP signature