Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax use ${ELF2ECOFF} from <bsd.{own, sys}.mk>



details:   https://anonhg.NetBSD.org/src/rev/9a5083ab2ea4
branches:  trunk
changeset: 525485:9a5083ab2ea4
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Apr 12 05:11:17 2002 +0000

description:
use ${ELF2ECOFF} from <bsd.{own,sys}.mk>

diffstat:

 sys/arch/pmax/conf/Makefile.pmax.inc              |  8 +-------
 sys/arch/pmax/stand/Makefile.booters              |  8 +-------
 sys/arch/pmax/stand/smallnet/setnetimage/Makefile |  4 ++--
 3 files changed, 4 insertions(+), 16 deletions(-)

diffs (55 lines):

diff -r caee98cdf530 -r 9a5083ab2ea4 sys/arch/pmax/conf/Makefile.pmax.inc
--- a/sys/arch/pmax/conf/Makefile.pmax.inc      Fri Apr 12 05:08:53 2002 +0000
+++ b/sys/arch/pmax/conf/Makefile.pmax.inc      Fri Apr 12 05:11:17 2002 +0000
@@ -1,10 +1,4 @@
-#      $NetBSD: Makefile.pmax.inc,v 1.4 2002/03/20 20:18:00 gmcgarry Exp $
-
-.if ${USETOOLS} == "yes"
-ELF2ECOFF?=    ${TOOLDIR}/bin/nbmips-elf2ecoff
-.else
-ELF2ECOFF?=    elf2ecoff
-.endif
+#      $NetBSD: Makefile.pmax.inc,v 1.5 2002/04/12 05:11:17 lukem Exp $
 
 SYSTEM_LD_TAIL_EXTRA=; \
                echo ${ELF2ECOFF} $@ $@.ecoff; ${ELF2ECOFF} $@ $@.ecoff; \
diff -r caee98cdf530 -r 9a5083ab2ea4 sys/arch/pmax/stand/Makefile.booters
--- a/sys/arch/pmax/stand/Makefile.booters      Fri Apr 12 05:08:53 2002 +0000
+++ b/sys/arch/pmax/stand/Makefile.booters      Fri Apr 12 05:11:17 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.34 2002/03/20 20:15:18 gmcgarry Exp $
+# $NetBSD: Makefile.booters,v 1.35 2002/04/12 05:11:18 lukem Exp $
 
 # $S must correspond to the top of the 'sys' tree
 S=     ${.CURDIR}/../../../..
@@ -18,12 +18,6 @@
 
 BINMODE?=      444
 
-.if ${USETOOLS} == "yes"
-ELF2ECOFF?=    ${TOOLDIR}/bin/nbmips-elf2ecoff
-.else
-ELF2ECOFF?=    elf2ecoff
-.endif
-
 .PATH:         ${.CURDIR}/../common
 AFLAGS+=       -D_LOCORE -D_KERNEL
 # -I${.CURDIR}/../.. done by Makefile.inc
diff -r caee98cdf530 -r 9a5083ab2ea4 sys/arch/pmax/stand/smallnet/setnetimage/Makefile
--- a/sys/arch/pmax/stand/smallnet/setnetimage/Makefile Fri Apr 12 05:08:53 2002 +0000
+++ b/sys/arch/pmax/stand/smallnet/setnetimage/Makefile Fri Apr 12 05:11:17 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/12/12 01:49:49 tv Exp $
+# $NetBSD: Makefile,v 1.5 2002/04/12 05:11:18 lukem Exp $
 
 PROG=  setnetimage
 NOMAN= # defined
@@ -27,7 +27,7 @@
 
 kernel: smallnet.elf
        ./${PROG} ${KERNEL} ${.ALLSRC}
-       elf2ecoff smallnet.elf smallnet
+       ${ELF2ECOFF} smallnet.elf smallnet
 .endif
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index