Eval boards usually don't have boot loaders. If we're lucky, we

have firmware that understands ELF.  We're usually stuck with S-Records.
To make life easier, attempt to stuff kernel symbols into the image
with dbsym(8).

If the kernel doesn't have SYMTAB_SPACE, or if the SYMTAB_SPACE is too
small, the kernel build continues as normal; this is just a convenience
measure.
This commit is contained in:
thorpej 2001-11-09 07:39:25 +00:00
parent 028f694d86
commit 13aa19d0fc
1 changed files with 6 additions and 2 deletions

View File

@ -1,12 +1,16 @@
# $NetBSD: Makefile.evbarm.inc,v 1.2 2001/11/06 19:53:22 thorpej Exp $
# $NetBSD: Makefile.evbarm.inc,v 1.3 2001/11/09 07:39:25 thorpej Exp $
.if (${BOARDTYPE} == "integrator")
SYSTEM_FIRST_OBJ= intmmu.o
SYSTEM_FIRST_SFILE= ${THISARM}/integrator/intmmu.S
.endif
.if (${BOARDTYPE} == "iq80310")
SYSTEM_LD_TAIL_EXTRA= \
echo "${DBSYM} $@ || true"; \
${DBSYM} $@ || true
.if (${BOARDTYPE} == "iq80310")
SYSTEM_LD_TAIL_EXTRA+=; \
echo ${OBJCOPY} -S -O srec $@ $@.srec; \
${OBJCOPY} -S -O srec $@ $@.srec
.endif