[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 3 Mar 2021 16:26:32 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Vincent Guittot <vincent.guittot@...aro.org>,
David Gibson <david@...son.dropbear.id.au>,
Frank Rowand <frowand.list@...il.com>,
Michal Simek <michal.simek@...inx.com>,
Anmar Oueja <anmar.oueja@...aro.org>,
Bill Mills <bill.mills@...aro.org>,
Rob Herring <robh@...nel.org>,
linux-kbuild <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V9 2/4] kbuild: Add generic rule to apply fdtoverlay
On 03-03-21, 11:49, Geert Uytterhoeven wrote:
> Hi Viresh,
>
> On Wed, Mar 3, 2021 at 5:36 AM Viresh Kumar <viresh.kumar@...aro.org> wrote:
> > From: Rob Herring <robh@...nel.org>
> >
> > Add a generic rule to apply fdtoverlay in Makefile.lib, so every
> > platform doesn't need to carry the complex rule.
> >
> > The platform's Makefile only needs to have this now:
> >
> > DTC_FLAGS_foo_base += -@
> > foo-dtbs := foo_base.dtb foo_overlay1.dtbo foo_overlay2.dtbo
> > dtb-y := foo.dtb
>
> Is there a way to autogenerate the DTC_FLAGS_foo_base rule, based on
> the foo-dtbs rule?
Since the first entry in "foo-dtbs" is always going to be the only
base file, maybe we can do that.
--
viresh
Powered by blists - more mailing lists