[PATCH] vs. latest linuxppc_2_4_devel fixes walnut build

Cort Dougan cort at fsmlabs.com
Tue Feb 11 06:16:00 EST 2003


This fixes 'make znetboot' for the walnut and ebony.  There are many files
in arch/ppc/boot/images/ and the * in the cp command didn't work.

It also gets rid of extra whitespace on line 245 that some versions of make
don't like.

diff -Nru a/arch/ppc/boot/simple/Makefile b/arch/ppc/boot/simple/Makefile
--- a/arch/ppc/boot/simple/Makefile	Mon Feb 10 12:14:52 2003
+++ b/arch/ppc/boot/simple/Makefile	Mon Feb 10 12:14:52 2003
@@ -64,9 +64,13 @@
 # The rest will be unset.
 ifeq ($(CONFIG_EBONY),y)
 ZIMAGE				:= zImage-EBONY
+ZNETBOOT			:= zImage.treeboot
 ZIMAGEINITRD			:= zImage.initrd-EBONY
 TFTPIMAGE			:= /tftpboot/zImage.ebony
 endif
+ifeq ($(CONFIG_WALNUT),y)
+ZNETBOOT			:= zImage.treeboot
+endif
 ifeq ($(CONFIG_MCPN765)$(CONFIG_MVME5100)$(CONFIG_PRPMC750)$(CONFIG_PRPMC800)$(CONFIG_LOPEC)$(CONFIG_PPLUS),y)
 ZIMAGE				:= zImage-PPLUS
 ZIMAGEINITRD			:= zImage.initrd-PPLUS
@@ -241,7 +245,7 @@

 zImage-PAL4: zvmlinux
 	cp zvmlinux ../images/zImage.pal4
-
+
 zImage.initrd-PAL4: zvmlinux.initrd
 	cp zvmlinux.initrd ../images/zImage.initrd.pal4


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





More information about the Linuxppc-dev mailing list