Re: [PATCH V9 2/4] kbuild: Add generic rule to apply fdtoverlay

2021-03-05 Thread Masahiro Yamada
On Wed, Mar 3, 2021 at 1:36 PM Viresh Kumar wrote: > > From: Rob Herring > > 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 :=

Re: [PATCH V9 2/4] kbuild: Add generic rule to apply fdtoverlay

2021-03-03 Thread Viresh Kumar
On 03-03-21, 11:49, Geert Uytterhoeven wrote: > Hi Viresh, > > On Wed, Mar 3, 2021 at 5:36 AM Viresh Kumar wrote: > > From: Rob Herring > > > > 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

Re: [PATCH V9 2/4] kbuild: Add generic rule to apply fdtoverlay

2021-03-03 Thread Geert Uytterhoeven
Hi Viresh, On Wed, Mar 3, 2021 at 5:36 AM Viresh Kumar wrote: > From: Rob Herring > > 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 += -@ >

[PATCH V9 2/4] kbuild: Add generic rule to apply fdtoverlay

2021-03-03 Thread Viresh Kumar
From: Rob Herring 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 We