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

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

 



Hi
        this small patch made possible to compile a 64bit kernel for
        people that have old proms that only accept ecoff.  As usual
        stolen from the 32 bits version.

        The easiest way is creating the file in arch/mips/boot,
        otherwise we need to copy elf2ecoff.c to mips64.

Later, Juan.

Index: arch/mips64/Makefile
===================================================================
RCS file: /home/cvs/linux/arch/mips64/Makefile,v
retrieving revision 1.22.2.20
diff -u -r1.22.2.20 Makefile
--- arch/mips64/Makefile	26 Nov 2002 11:19:52 -0000	1.22.2.20
+++ arch/mips64/Makefile	19 Dec 2002 19:48:43 -0000
@@ -255,6 +255,9 @@
 	$(OBJCOPY) -O $(64bit-bfd) --remove-section=.reginfo --change-addresses=0xa800000080000000 $< $@
 endif
 
+vmlinux.ecoff: vmlinux
+	$(MAKE) -C arch/mips/boot $@
+
 zImage: vmlinux
 	@$(MAKEBOOT) zImage
 


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


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

  Powered by Linux