powerpc/boot: add zImage.lds to targets
authorNicholas Piggin <npiggin@gmail.com>
Fri, 11 Jun 2021 11:11:04 +0000 (21:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 Jun 2021 11:13:19 +0000 (21:13 +1000)
This prevents spurious rebuilds of the lds and then wrappers.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210611111104.1058991-1-npiggin@gmail.com
arch/powerpc/boot/Makefile

index 2b8da923ceca26a9cb12e0d8994ffc40867a7720..e8e9d17af43b804c4b9a33c26348e1ecaa2ac9c7 100644 (file)
@@ -227,7 +227,7 @@ $(obj)/wrapper.a: $(obj-wlib) FORCE
 
 hostprogs      := addnote hack-coff mktree
 
-targets                += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a)
+targets                += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a) zImage.lds
 extra-y                := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \
                   $(obj)/zImage.lds $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds