patch-2.3.18 linux/arch/ppc/boot/Makefile

Next file: linux/arch/ppc/boot/head.S
Previous file: linux/arch/ppc/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/arch/ppc/boot/Makefile linux/arch/ppc/boot/Makefile
@@ -75,7 +75,10 @@
 	./mkprep -pbp zvmlinux zImage
 
 sImage: ../../../vmlinux
+ifdef CONFIG_GEMINI
 	$(OBJCOPY) -I elf32-powerpc -O binary ../../../vmlinux sImage
+else
+endif
 
 zImage.initrd: zvmlinux.initrd mkprep
 	./mkprep -pbp zvmlinux.initrd zImage.initrd
@@ -108,7 +111,9 @@
 
 znetboot : zImage
 	cp zImage $(TFTPIMAGE)
+ifdef CONFIG_GEMINI
 	cp sImage /tftpboot/
+endif
 
 znetboot.initrd : zImage.initrd
 	cp zImage.initrd $(TFTPIMAGE)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)