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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux