[PATCH 5/8] boot: rebuild when wrapper changes
Milton Miller
miltonm at bga.com
Thu Mar 22 02:02:48 EST 2007
Since there is magic defined per platform in the wrapper script, the
zImage targets should depend on it.
Signed-off-by: Milton Miller <miltonm at bga.com>
Index: kernel/arch/powerpc/boot/Makefile
===================================================================
--- kernel.orig/arch/powerpc/boot/Makefile 2007-03-21 01:40:16.000000000 -0500
+++ kernel/arch/powerpc/boot/Makefile 2007-03-21 02:15:16.000000000 -0500
@@ -101,7 +101,8 @@ extra-y := $(obj)/wrapper.a $(obj-plat)
$(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
More information about the Linuxppc-dev
mailing list