linux-mips
[Top] [All Lists]

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

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: [PATCH]: for poor sools with old I2 & 64 bits kernel
From: Juan Quintela <quintela@mandrakesoft.com>
Date: 21 Dec 2002 21:07:18 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
In-reply-to: <Pine.GSO.3.96.1021221194520.7158B-100000@delta.ds2.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.3.96.1021221194520.7158B-100000@delta.ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92
>>>>> "maciej" == Maciej W Rozycki <macro@ds2.pg.gda.pl> writes:

maciej> 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 :)

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

BTW, are you using mips64 in a r4k? If so, do you need any additional
patches?

I am having some memory corruption :(


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

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

It is better than mine.

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

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