[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqK-M_CBVjXXCFrW8UKoDgSV2N8ctc2Ao6E4VZpfCj6chQ@mail.gmail.com>
Date: Tue, 25 Nov 2025 07:25:51 -0600
From: Rob Herring <robh@...nel.org>
To: Thomas De Schampheleire <thomas.de_schampheleire@...ia.com>
Cc: linux-kbuild@...r.kernel.org, Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nsc@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild: fix compilation of dtb specified on command-line
without make rule
On Tue, Nov 25, 2025 at 4:52 AM Thomas De Schampheleire
<thomas.de_schampheleire@...ia.com> wrote:
>
> On Mon, Nov 24, 2025 at 07:07:47AM -0600, Rob Herring wrote:
> > On Thu, Nov 20, 2025 at 03:06:43PM +0100, Thomas De Schampheleire wrote:
> [...]
> > > In this scenario, both 'dtb-y' and 'dtb-' are empty, and the inclusion of
> > > scripts/Makefile.dtbs relies on 'targets' to contain the MAKECMDGOALS. The
> > > value of 'targets', however, is only final later in the code.
> > >
> > > Move the conditional include of scripts/Makefile.dtbs down to where the
> > > value of 'targets' is final.
> >
> > This breaks 'make dtbs' (and just 'make' for arm64).
>
> I see the 'make dtbs' failure, I will investigate.
>
> I don't yet see a problem with 'make ARCH=arm64 CROSS_COMPILE=[...]' after a
> standard 'defconfig'. Can you please clarify how it fails for you?
Did it build the dtbs? "dtbs" is an implicit target for "all", so I'm
assuming that wouldn't work either.
Rob
Powered by blists - more mailing lists