# \[PATCH\] Fix prep boot in linuxppc\_2\_4\_devel

- From: Cort Dougan \<hidden\>
- Date: 2003-04-16 17:38:30 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2003/04/9387757
- Thread: https://ratatoskr.run/linuxppc-dev/2003/04/9387757/t.md

```text

This fixes the prep boot code so it will actually create a good SMP boot
image.  The wrong variable was being used.

diff -Nru a/arch/ppc/boot/prep/Makefile b/arch/ppc/boot/prep/Makefile
--- a/arch/ppc/boot/prep/Makefile	Wed Apr 16 11:37:10 2003
+++ b/arch/ppc/boot/prep/Makefile	Wed Apr 16 11:37:10 2003
@@ -19,7 +19,7 @@

 TFTPIMAGE			= /tftpboot/zImage.prep
 ifeq ($(CONFIG_SMP),y)
-TFTPIMAGE			= $(TFTPBOOT).smp
+TFTPIMAGE			:= $(TFTPIMAGE).smp
 endif

 LD_ARGS				= -T ../ld.script -Ttext 0x00800000 -Bstatic

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
```
