xtensa: add boot subdirectories build artifacts to 'targets'
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 22 Jul 2020 00:47:07 +0000 (09:47 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 28 Jul 2020 07:57:06 +0000 (00:57 -0700)
commit8824c1af3af28c7b5c16307c1b8c6d842794e4ed
tree5cb809d24fd56fe0c825bbc9ef0dbfe4c8337f0a
parent7424d9fa8477f259893599d38cccc379bdd0ffac
xtensa: add boot subdirectories build artifacts to 'targets'

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@kernel.org>
Message-Id: <20200722004707.779601-1-masahiroy@kernel.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/boot-elf/Makefile
arch/xtensa/boot/boot-redboot/Makefile