Re: [PATCH] xtensa: add boot subdirectories build artifacts to 'targets'

From: Masahiro Yamada
Date: Sat Jul 25 2020 - 03:11:39 EST


On Wed, Jul 22, 2020 at 12:57 PM Max Filippov <jcmvbkbc@xxxxxxxxx> wrote:
>
> On Tue, Jul 21, 2020 at 5:47 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
> >
> > Xtensa always rebuilds the following even if nothing in the source code
> > has been changed. Passing V=2 shows the reason.
> >
> > AS arch/xtensa/boot/boot-elf/bootstrap.o - due to bootstrap.o not in $(targets)
> > LDS arch/xtensa/boot/boot-elf/boot.lds - due to boot.lds not in $(targets)
> >
> > They are built by if_changed(_dep). Add them to 'targets' so .*.cmd files
> > are included.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> > ---
> >
> > arch/xtensa/boot/boot-elf/Makefile | 1 +
> > arch/xtensa/boot/boot-redboot/Makefile | 1 +
> > 2 files changed, 2 insertions(+)
>
> Acked-by: Max Filippov <jcmvbkbc@xxxxxxxxx>
>
> --
> Thanks.
> -- Max


Applied to linux-kbuild.


--
Best Regards
Masahiro Yamada