[PATCH] boot Makefile dependency for ld.script

Olaf Hering olh at suse.de
Sat Dec 13 02:07:31 EST 2003


A ld.script update will not trigger a rebuild of the boot files.


diff -purN linux-2.6.0-test11/arch/ppc64/boot/Makefile linux-2.6.0-test11.ppc32/arch/ppc64/boot/Makefile
--- linux-2.6.0-test11/arch/ppc64/boot/Makefile	2003-11-26 21:45:27.000000000 +0100
+++ linux-2.6.0-test11.ppc32/arch/ppc64/boot/Makefile	2003-12-12 16:04:16.000000000 +0100
@@ -106,11 +106,11 @@ $(call obj-sec, $(required) $(initrd)):
 	$(call addsection, $@)

 $(obj)/zImage: obj-boot += $(call obj-sec, $(required))
-$(obj)/zImage: $(call obj-sec, $(required)) $(obj-boot) $(obj)/addnote FORCE
+$(obj)/zImage: $(call obj-sec, $(required)) $(obj-boot) $(obj)/zImage.lds $(obj)/addnote FORCE
 	$(call if_changed,addnote)

 $(obj)/zImage.initrd: obj-boot += $(call obj-sec, $(required) $(initrd))
-$(obj)/zImage.initrd: $(call obj-sec, $(required) $(initrd)) $(obj-boot) $(obj)/addnote FORCE
+$(obj)/zImage.initrd: $(call obj-sec, $(required) $(initrd)) $(obj-boot) $(obj)/zImage.lds $(obj)/addnote FORCE
 	$(call if_changed,addnote)

 $(obj)/imagesize.c: vmlinux
--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list