NetBSD/sys/arch/mipsco/conf/Makefile.mipsco.inc

14 lines
573 B
PHP

# $NetBSD: Makefile.mipsco.inc,v 1.4 2002/01/07 06:03:19 thorpej Exp $
# build ECOFF image that can be booted directly from firmware
LD_ECOFF= ${LD} -N -Ttext ${TEXTADDR} -e start ${GP} \
-T ${THISMIPS}/conf/kern.ldscript -x --oformat ecoff-bigmips
# note that this ecoff image does not get stripped in the case of DEBUG=-g
SYSTEM_LD_TAIL_EXTRA=; \
echo ${LD_ECOFF} -o $@.ecoff '$${SYSTEM_OBJ}' vers.o ; \
${LD_ECOFF} -o $@.ecoff ${SYSTEM_OBJ} vers.o ${SWAP_OBJ$@} ; \
${SIZE} $@.ecoff; chmod 755 $@.ecoff
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ecoff@}