[POWERPC] boot: rebuild when wrapper changes
authorMilton Miller <miltonm@bga.com>
Mon, 19 Mar 2007 20:58:04 +0000 (14:58 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Mar 2007 11:35:40 +0000 (22:35 +1100)
Since there is magic defined per platform in the wrapper script, the
zImage targets should depend on it.

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile

index b1fc029e5ea76aff1a275034ed41136fe4a0830a..d777cf909b46911a3de4f09c9298a48efb3c4240 100644 (file)
@@ -101,7 +101,8 @@ extra-y             := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \
                   $(obj)/zImage.lds $(obj)/zImage.coff.lds
 
 wrapper                :=$(srctree)/$(src)/wrapper
-wrapperbits    := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree)
+wrapperbits    := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree) \
+                       $(wrapper)
 
 #############
 # Bits for building various flavours of zImage