summaryrefslogtreecommitdiffstats
path: root/arch/ppc/chrpboot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/chrpboot/Makefile')
-rw-r--r--arch/ppc/chrpboot/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/ppc/chrpboot/Makefile b/arch/ppc/chrpboot/Makefile
index 946845a5d..cd0336bc9 100644
--- a/arch/ppc/chrpboot/Makefile
+++ b/arch/ppc/chrpboot/Makefile
@@ -28,6 +28,12 @@ ifeq ($(CONFIG_ALL_PPC),y)
CONFIG_CHRP = y
endif
+ifeq ($(CONFIG_SMP),y)
+TFTPIMAGE=/tftpboot/zImage.chrp.smp
+else
+TFTPIMAGE=/tftpboot/zImage.chrp
+endif
+
all: $(TOPDIR)/zImage
#
@@ -36,10 +42,10 @@ all: $(TOPDIR)/zImage
#
ifeq ($(CONFIG_CHRP),y)
znetboot: zImage
- cp zImage /tftpboot/zImage.chrp
+ cp zImage $(TFTPIMAGE)
znetboot.initrd: zImage.initrd
- cp zImage.initrd /tftpboot/zImage.chrp
+ cp zImage.initrd $(TFTPIMAGE)
floppy: zImage
mcopy zImage a:zImage