[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251121222029.GA1674270@ax162>
Date: Fri, 21 Nov 2025 15:20:29 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Nicolas Schier <nsc@...nel.org>
Cc: "Rob Herring (Arm)" <robh@...nel.org>,
Russell King <linux@...linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mips@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: Re: [PATCH v2] kbuild: Support directory targets for building DTBs
On Fri, Nov 21, 2025 at 08:42:34PM +0100, Nicolas Schier wrote:
> Using '$(filter )' instead of '$(findstring )' reduces the risk of false
> positives, e.g.:
>
> dtb-targets := %/dts %.dtb %.dtbo dtbs dtbs_check
> ifneq ($(findstring /dts/,$(MAKECMDGOALS))$(filter $(dtb-targets),$(MAKECMDGOALS)),)
Oh yeah, that would seem to clear up my concerns.
> With (something like) that:
> Tested-by: Nicolas Schier <nsc@...nel.org>
> Acked-by: Nicolas Schier <nsc@...nel.org>
Agreed.
Acked-by: Nathan Chancellor <nathan@...nel.org>
> But [1] seems to break this patch.
>
> [1]: https://lore.kernel.org/linux-kbuild/20251120140645.478623-1-thomas.de_schampheleire@nokia.com
Yeah, that will need to be coordinated, I cc'd Rob on that change for
him to take a look as well.
Cheers,
Nathan
Powered by blists - more mailing lists