Use objcopy instead of (broken) elf2ecoff to create ECOFF kernel. Suggested
by tsutsui@ on port-mips.
This commit is contained in:
parent
999e530258
commit
6c76898b70
|
@ -1,9 +1,11 @@
|
|||
# $NetBSD: Makefile.sgimips.inc,v 1.8 2004/10/01 07:05:25 sekiya Exp $
|
||||
# $NetBSD: Makefile.sgimips.inc,v 1.9 2005/02/28 23:44:58 sekiya Exp $
|
||||
|
||||
WANT_ECOFF?=no
|
||||
|
||||
.if ${WANT_ECOFF} == "yes"
|
||||
SYSTEM_LD_TAIL_EXTRA=; \
|
||||
echo ${ELF2ECOFF} $@ $@.ecoff; ${ELF2ECOFF} $@ $@.ecoff; \
|
||||
chmod 755 $@.ecoff
|
||||
echo ${OBJCOPY} --impure -O ecoff-bigmips \
|
||||
-R .pdr -R .mdebug.abi32 -R .comment -R .ident $@ $@.ecoff; \
|
||||
${OBJCOPY} --impure -O ecoff-bigmips \
|
||||
-R .pdr -R .mdebug.abi32 -R .comment -R .ident $@ $@.ecoff
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue