7d5571319d
the ARC BIOS can load ECOFF kernels built with new-toolchain properly.
13 lines
378 B
PHP
13 lines
378 B
PHP
# $NetBSD: Makefile.arc.inc,v 1.6 2002/01/12 04:07:27 tsutsui Exp $
|
|
|
|
CFLAGS+= -mips2 -mcpu=r4000
|
|
AFLAGS+= -mips2
|
|
|
|
# XXX
|
|
SYSTEM_LD_TAIL_EXTRA=; \
|
|
echo ${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident $@ $@.ecoff; \
|
|
${OBJCOPY} -O ecoff-littlemips -R .mdebug -R .ident $@ $@.ecoff
|
|
|
|
# XXX works *only* for kernels with one config line named "netbsd"
|
|
EXTRA_CLEAN+= netbsd.ecoff
|