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

This commit is contained in:
lukem 2002-04-12 05:11:17 +00:00
parent 987817d952
commit dab39d6237
3 changed files with 4 additions and 16 deletions

View File

@ -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; \

View File

@ -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 @@ mips:
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

View File

@ -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 @@ smallnet.elf: ${SNDIR}/smallnet
kernel: smallnet.elf
./${PROG} ${KERNEL} ${.ALLSRC}
elf2ecoff smallnet.elf smallnet
${ELF2ECOFF} smallnet.elf smallnet
.endif
.include <bsd.prog.mk>