linux-mips
[Top] [All Lists]

Re: [PATCH]: for poor sools with old I2 & 64 bits kernel

To: Juan Quintela <quintela@mandrakesoft.com>
Subject: Re: [PATCH]: for poor sools with old I2 & 64 bits kernel
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Sat, 21 Dec 2002 19:55:04 +0100 (MET)
Cc: Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
In-reply-to: <m2ptrwg2zr.fsf@demo.mitica>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On 20 Dec 2002, Juan Quintela wrote:

> ralf> Applied slightly modified.  I removed two other unused targets.
> 
> Please, add that back, and things will indeed compile :)

 Ralf did that right -- it's annoying to have the COFF image for mips64
built in the mips tree.  Unlike the intermediate object files, this target
is visible to a non-developer.  But a few bits are missing, indeed.  How
about the following patch?  It's a trivial modification of what I use for
about half a year now.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

patch-mips-2.4.20-pre6-20021220-mips64-ecoff-0
diff -up --recursive --new-file 
linux-mips-2.4.20-pre6-20021220.macro/arch/mips64/boot/Makefile 
linux-mips-2.4.20-pre6-20021220/arch/mips64/boot/Makefile
--- linux-mips-2.4.20-pre6-20021220.macro/arch/mips64/boot/Makefile     
2002-06-26 03:04:47.000000000 +0000
+++ linux-mips-2.4.20-pre6-20021220/arch/mips64/boot/Makefile   2002-12-21 
14:23:32.000000000 +0000
@@ -22,11 +22,11 @@ all: vmlinux.ecoff addinitrd
 vmlinux.ecoff: $(CONFIGURE) elf2ecoff $(TOPDIR)/vmlinux
        ./elf2ecoff $(TOPDIR)/vmlinux vmlinux.ecoff $(E2EFLAGS)
 
-elf2ecoff: elf2ecoff.c
-       $(HOSTCC) -o $@ $^
+elf2ecoff: $(TOPDIR)/arch/mips/boot/elf2ecoff.c
+       $(HOSTCC) -I$(TOPDIR)/arch/mips/boot -I- -o $@ $^
 
-addinitrd: addinitrd.c
-       $(HOSTCC) -o $@ $^
+addinitrd: $(TOPDIR)/arch/mips/boot/addinitrd.c
+       $(HOSTCC) -I$(TOPDIR)/arch/mips/boot -I- -o $@ $^
 
 # Don't build dependencies, this may die if $(CC) isn't gcc
 dep:


<Prev in Thread] Current Thread [Next in Thread>