Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch ELF2ECOFF -> MIPS_ELF2ECOFF
details: https://anonhg.NetBSD.org/src/rev/169628fea368
branches: trunk
changeset: 995688:169628fea368
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 01 19:41:04 2019 +0000
description:
ELF2ECOFF -> MIPS_ELF2ECOFF
diffstat:
sys/arch/ews4800mips/stand/boot/Makefile | 4 ++--
sys/arch/mips/conf/Makefile.mips | 4 ++--
sys/arch/mipsco/conf/Makefile.mipsco.inc | 5 +++--
sys/arch/pmax/conf/Makefile.pmax.inc | 5 +++--
sys/arch/pmax/stand/Makefile.booters | 4 ++--
sys/arch/pmax/stand/smallnet/setnetimage/Makefile | 4 ++--
sys/arch/sgimips/conf/Makefile.sgimips.inc | 5 +++--
sys/arch/sgimips/stand/boot/Makefile | 4 ++--
8 files changed, 19 insertions(+), 16 deletions(-)
diffs (136 lines):
diff -r d013778af1c7 -r 169628fea368 sys/arch/ews4800mips/stand/boot/Makefile
--- a/sys/arch/ews4800mips/stand/boot/Makefile Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/ews4800mips/stand/boot/Makefile Tue Jan 01 19:41:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2017/04/08 19:53:20 christos Exp $
+# $NetBSD: Makefile,v 1.23 2019/01/01 19:41:04 christos Exp $
WARNS ?= 1
NOMAN =
@@ -126,7 +126,7 @@
${PROG}.coff: ${PROG}
${_MKTARGET_CREATE}
- ${ELF2ECOFF} ${PROG} ${.TARGET}.tmp
+ ${MIPS_ELF2ECOFF} ${PROG} ${.TARGET}.tmp
mv ${.TARGET}.tmp ${.TARGET}
${BOOT_KERNEL}.gz: ${BINKERNEL_O} ${OBJS} ${LIBS}
diff -r d013778af1c7 -r 169628fea368 sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/mips/conf/Makefile.mips Tue Jan 01 19:41:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mips,v 1.69 2018/09/22 12:24:02 rin Exp $
+# $NetBSD: Makefile.mips,v 1.70 2019/01/01 19:41:04 christos Exp $
# Makefile for NetBSD
#
@@ -25,7 +25,7 @@
## (0) toolchain settings for things that aren't part of the standard
## toolchain
##
-ELF2ECOFF?= elf2ecoff
+MIPS_ELF2ECOFF?= elf2ecoff
##
## (1) port identification
diff -r d013778af1c7 -r 169628fea368 sys/arch/mipsco/conf/Makefile.mipsco.inc
--- a/sys/arch/mipsco/conf/Makefile.mipsco.inc Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/mipsco/conf/Makefile.mipsco.inc Tue Jan 01 19:41:04 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile.mipsco.inc,v 1.6 2002/11/15 10:12:40 wdk Exp $
+# $NetBSD: Makefile.mipsco.inc,v 1.7 2019/01/01 19:41:04 christos Exp $
SYSTEM_LD_TAIL_EXTRA=; \
- echo ${ELF2ECOFF} $@ $@.ecoff; ${ELF2ECOFF} $@ $@.ecoff; \
+ echo ${MIPS_ELF2ECOFF} $@ $@.ecoff; \
+ ${MIPS_ELF2ECOFF} $@ $@.ecoff; \
${SIZE} $@.ecoff; chmod 755 $@.ecoff
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ecoff@}
diff -r d013778af1c7 -r 169628fea368 sys/arch/pmax/conf/Makefile.pmax.inc
--- a/sys/arch/pmax/conf/Makefile.pmax.inc Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/pmax/conf/Makefile.pmax.inc Tue Jan 01 19:41:04 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile.pmax.inc,v 1.6 2009/12/14 00:46:09 matt Exp $
+# $NetBSD: Makefile.pmax.inc,v 1.7 2019/01/01 19:41:04 christos Exp $
.if ${MACHINE_ARCH} == "mipsel"
SYSTEM_LD_TAIL_EXTRA=; \
- echo ${ELF2ECOFF} $@ $@.ecoff; ${ELF2ECOFF} $@ $@.ecoff; \
+ echo ${MIPS_ELF2ECOFF} $@ $@.ecoff; \
+ ${MIPS_ELF2ECOFF} $@ $@.ecoff; \
chmod 755 $@.ecoff
.endif
diff -r d013778af1c7 -r 169628fea368 sys/arch/pmax/stand/Makefile.booters
--- a/sys/arch/pmax/stand/Makefile.booters Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/pmax/stand/Makefile.booters Tue Jan 01 19:41:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.63 2017/04/08 19:53:22 christos Exp $
+# $NetBSD: Makefile.booters,v 1.64 2019/01/01 19:41:04 christos Exp $
NOMAN= # defined
NOPIE= # defined
@@ -118,7 +118,7 @@
.if defined(DO_ECOFF_BINARY)
@echo -n "Creating ECOFF binary... "
@mv ${PROG} ${PROG}.elf
- @${ELF2ECOFF} ${PROG}.elf ${PROG}
+ @${MIPS_ELF2ECOFF} ${PROG}.elf ${PROG}
.endif
.include <bsd.klinks.mk>
diff -r d013778af1c7 -r 169628fea368 sys/arch/pmax/stand/smallnet/setnetimage/Makefile
--- a/sys/arch/pmax/stand/smallnet/setnetimage/Makefile Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/pmax/stand/smallnet/setnetimage/Makefile Tue Jan 01 19:41:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/04/12 05:11:18 lukem Exp $
+# $NetBSD: Makefile,v 1.6 2019/01/01 19:41:04 christos Exp $
PROG= setnetimage
NOMAN= # defined
@@ -27,7 +27,7 @@
kernel: smallnet.elf
./${PROG} ${KERNEL} ${.ALLSRC}
- ${ELF2ECOFF} smallnet.elf smallnet
+ ${MIPS_ELF2ECOFF} smallnet.elf smallnet
.endif
.include <bsd.prog.mk>
diff -r d013778af1c7 -r 169628fea368 sys/arch/sgimips/conf/Makefile.sgimips.inc
--- a/sys/arch/sgimips/conf/Makefile.sgimips.inc Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/sgimips/conf/Makefile.sgimips.inc Tue Jan 01 19:41:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sgimips.inc,v 1.12 2011/02/20 07:59:49 matt Exp $
+# $NetBSD: Makefile.sgimips.inc,v 1.13 2019/01/01 19:41:04 christos Exp $
WANT_ECOFF?=no
@@ -6,6 +6,7 @@
.if ${WANT_ECOFF} == "yes"
SYSTEM_LD_TAIL_EXTRA=; \
- echo ${ELF2ECOFF} $@ $@.ecoff; ${ELF2ECOFF} $@ $@.ecoff; \
+ echo ${MIPS_ELF2ECOFF} $@ $@.ecoff; \
+ ${MIPS_ELF2ECOFF} $@ $@.ecoff; \
chmod 755 $@.ecoff
.endif
diff -r d013778af1c7 -r 169628fea368 sys/arch/sgimips/stand/boot/Makefile
--- a/sys/arch/sgimips/stand/boot/Makefile Tue Jan 01 19:09:12 2019 +0000
+++ b/sys/arch/sgimips/stand/boot/Makefile Tue Jan 01 19:41:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/09/02 12:06:16 tsutsui Exp $
+# $NetBSD: Makefile,v 1.21 2019/01/01 19:41:05 christos Exp $
# Don't strip the ECOFF'ed version on install -- strip gets confused by that,
@@ -12,7 +12,7 @@
PROG= aoutboot
${PROG}: ip2xboot ip3xboot
.if ${MACHINE_ARCH} == "mipseb"
- ${ELF2ECOFF} ip2xboot ${.TARGET}
+ ${MIPS_ELF2ECOFF} ip2xboot ${.TARGET}
.else
touch ${.TARGET}
.endif
Home |
Main Index |
Thread Index |
Old Index