[PATCH] vs. latest linuxppc_2_4_devel fixes walnut build

STALE8588d

2 messages, 2 authors, 2003-02-10 · open the first message on its own page

[PATCH] vs. latest linuxppc_2_4_devel fixes walnut build

From: Cort Dougan <hidden>
Date: 2003-02-10 19:16:00

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/

Re: [PATCH] vs. latest linuxppc_2_4_devel fixes walnut build

From: Tom Rini <hidden>
Date: 2003-02-10 23:24:16

On Mon, Feb 10, 2003 at 12:16:00PM -0700, Cort Dougan wrote:
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.
I think the 'correct' fix (for Walnut anyhow) is to set ZNETBOOT in the
CONFIG_IBM_OPENBIOS test.

But, could I talk you into letting the 'znetboot' / 'znetboot.initrd'
commands die?  Personally I've been using dd after a 'zImage' /
'zImage.initrd'.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help