Source-Changes-HG archive

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

[src/trunk]: src/distrib/sgimips/instkernel Use elf2ecoff(1) rather than objc...



details:   https://anonhg.NetBSD.org/src/rev/d50d04859946
branches:  trunk
changeset: 835641:d50d04859946
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Sep 02 16:41:42 2018 +0000

description:
Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.

Reported by Naruaki Etomi in PR port-sgimips/53518.
Should be pulled up to netbsd-7 and netbsd-8.

diffstat:

 distrib/sgimips/instkernel/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 608c369cb6fd -r d50d04859946 distrib/sgimips/instkernel/Makefile
--- a/distrib/sgimips/instkernel/Makefile       Sun Sep 02 16:18:50 2018 +0000
+++ b/distrib/sgimips/instkernel/Makefile       Sun Sep 02 16:41:42 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2016/03/23 05:24:11 mrg Exp $
+#      $NetBSD: Makefile,v 1.13 2018/09/02 16:41:42 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -30,9 +30,7 @@
 MDSET_RELEASEDIR=      binary/kernel
 
 MDSET_SUFFIXES.netbsd-INSTALL${NX}_IP2x=ecoff create-ecoff
-create-ecoff=  ${OBJCOPY} --impure -O ecoff-bigmips \
-               -R .pdr -R .mdebug.abi32 -R .comment -R .ident \
-               ${.TARGET:R} ${.TARGET}
+create-ecoff=  ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
 
 IMAGE_RELEASEDIR=      installation/diskimage
 



Home | Main Index | Thread Index | Old Index