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

Next file: linux/arch/ppc/config.in
Previous file: linux/arch/ppc/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.21/linux/arch/ppc/boot/Makefile linux/arch/ppc/boot/Makefile
@@ -35,6 +35,12 @@
 TFTPIMAGE=/tftpboot/zImage.prep$(MSIZE)
 endif
 
+ifeq ($(CONFIG_SMP),y)
+TFTPSIMAGE=/tftpboot/sImage.smp
+else
+TFTPSIMAGE=/tftpboot/sImage
+endif
+
 ifeq ($(CONFIG_PPC64),y)
 MSIZE=.64
 else
@@ -121,7 +127,7 @@
 	cp zImage $(TFTPIMAGE)
 endif
 ifdef CONFIG_GEMINI
-	cp sImage /tftpboot/
+	cp sImage $(TFTPSIMAGE)
 endif
 
 znetboot.initrd : zImage.initrd

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