[PATCH 7/13] ppc64 boot: bootfiles depend on linker script

Olaf Hering olh at suse.de
Mon Oct 10 04:19:39 EST 2005


bootfiles must be relinked of linker script changes

Signed-off-by: Olaf Hering <olh at suse.de>

 arch/ppc64/boot/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.14-rc3/arch/ppc64/boot/Makefile
===================================================================
--- linux-2.6.14-rc3.orig/arch/ppc64/boot/Makefile
+++ linux-2.6.14-rc3/arch/ppc64/boot/Makefile
@@ -127,11 +127,11 @@ $(call obj-sec, $(required) $(initrd)): 
 	$(call cmd,addsection)
 
 $(obj)/zImage.vmode: obj-boot += $(call obj-sec, $(required))
-$(obj)/zImage.vmode: $(call obj-sec, $(required)) $(obj-boot)
+$(obj)/zImage.vmode: $(call obj-sec, $(required)) $(obj-boot) $(srctree)/$(src)/zImage.lds
 	$(call cmd,bootld,$(obj-boot))
 
 $(obj)/zImage.initrd.vmode: obj-boot += $(call obj-sec, $(required) $(initrd))
-$(obj)/zImage.initrd.vmode: $(call obj-sec, $(required) $(initrd)) $(obj-boot)
+$(obj)/zImage.initrd.vmode: $(call obj-sec, $(required) $(initrd)) $(obj-boot) $(srctree)/$(src)/zImage.lds
 	$(call cmd,bootld,$(obj-boot))
 
 $(obj)/zImage: $(obj)/zImage.vmode $(obj)/addnote



More information about the Linuxppc64-dev mailing list