1 # $NetBSD: Makefile.mipsco.inc,v 1.3 2001/12/09 05:00:46 atatat Exp $ 2 3 # build ECOFF image that can be booted directly from firmware 4 LD_ECOFF= ${LD} -N -Ttext ${TEXTADDR} -e start ${GP} \ 5 -T ${THISMIPS}/conf/kern.ldscript -x -oformat ecoff-bigmips 6 7 # note that this ecoff image does not get stripped in the case of DEBUG=-g 8 SYSTEM_LD_TAIL_EXTRA=; \ 9 echo ${LD_ECOFF} -o $@.ecoff '$${SYSTEM_OBJ}' vers.o ; \ 10 ${LD_ECOFF} -o $@.ecoff ${SYSTEM_OBJ} vers.o ${SWAP_OBJ$@} ; \ 11 ${SIZE} $@.ecoff; chmod 755 $@.ecoff 12 13 EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ecoff@} 14