On Mon, May 04, 2009 at 12:21:59PM +0200, Bastian Blank wrote:
> On Mon, May 04, 2009 at 10:50:58AM +0100, Jurij Smakov wrote:
> > 2.6.29-4 failed to build on sparc:
> 
> Already known.
> 
> > I can investigate, but if you know off the top of your head what can
> > be causing it (missing zImage file after the build), please let me know.
> 
> This is the difference between the 32 and 64bit build.

Please apply the attached patch, it fixes FTBFS on sparc.

It fails to boot at the moment, I'm looking further into it.

Best regards,
-- 
Jurij Smakov                                           ju...@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
diff -aur a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile
--- a/arch/sparc/boot/Makefile	2009-03-23 23:12:14.000000000 +0000
+++ b/arch/sparc/boot/Makefile	2009-05-10 12:15:57.000000000 +0100
@@ -79,6 +79,9 @@
 	$(call if_changed,strip)
 	@echo '  kernel: $@ is ready'
 
+$(obj)/zImage: $(obj)/image
+	$(call if_changed,gzip)
+
 $(obj)/tftpboot.img: vmlinux $(obj)/piggyback_64 System.map $(ROOT_IMG) FORCE
 	$(call if_changed,elftoaout)
 	$(call if_changed,piggy)
diff -aur a/arch/sparc/Makefile b/arch/sparc/Makefile
--- a/arch/sparc/Makefile	2009-03-23 23:12:14.000000000 +0000
+++ b/arch/sparc/Makefile	2009-05-10 12:16:14.000000000 +0100
@@ -91,6 +91,8 @@
 
 boot := arch/sparc/boot
 
+all: zImage
+
 image zImage tftpboot.img vmlinux.aout: vmlinux
 	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
 

Reply via email to