summaryrefslogtreecommitdiff
path: root/arch/xtensa/boot/boot-elf
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-07-22 09:47:07 +0900
committerMax Filippov <jcmvbkbc@gmail.com>2020-07-28 00:57:06 -0700
commit8824c1af3af28c7b5c16307c1b8c6d842794e4ed (patch)
tree5cb809d24fd56fe0c825bbc9ef0dbfe4c8337f0a /arch/xtensa/boot/boot-elf
parent7424d9fa8477f259893599d38cccc379bdd0ffac (diff)
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>
Diffstat (limited to 'arch/xtensa/boot/boot-elf')
-rw-r--r--arch/xtensa/boot/boot-elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/boot/boot-elf/Makefile b/arch/xtensa/boot/boot-elf/Makefile
index ceae02cd5b3b..0ebc9827f7e5 100644
--- a/arch/xtensa/boot/boot-elf/Makefile
+++ b/arch/xtensa/boot/boot-elf/Makefile
@@ -15,6 +15,7 @@ export CPPFLAGS_boot.lds += -P -C
export KBUILD_AFLAGS += -mtext-section-literals
boot-y := bootstrap.o
+targets += $(boot-y) boot.lds
OBJS := $(addprefix $(obj)/,$(boot-y))