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

From: Max Filippov
Date: Tue Jul 21 2020 - 23:57:06 EST


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