2003-03-08 05:58:55 +03:00
|
|
|
# $NetBSD: Makefile.arc.inc,v 1.9 2003/03/08 02:58:55 tsutsui Exp $
|
2000-12-03 10:46:43 +03:00
|
|
|
|
|
|
|
CFLAGS+= -mips2 -mcpu=r4000
|
|
|
|
AFLAGS+= -mips2
|
|
|
|
|
|
|
|
# XXX
|
2001-12-09 08:00:40 +03:00
|
|
|
SYSTEM_LD_TAIL_EXTRA=; \
|
2002-12-08 00:35:58 +03:00
|
|
|
echo "${DBSYM} $@ || true"; \
|
|
|
|
${DBSYM} $@ || true; \
|
2003-03-08 05:58:55 +03:00
|
|
|
echo ${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident -R .pdr \
|
|
|
|
$@ $@.ecoff; \
|
|
|
|
${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident -R .pdr $@ $@.ecoff
|
2001-12-09 08:00:40 +03:00
|
|
|
|
2002-03-19 03:57:53 +03:00
|
|
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ecoff@}
|