Automagically install symbols and generate a loadable binary image when

building a kernel rather than as a separate target.
This commit is contained in:
eeh 2002-05-30 15:24:57 +00:00
parent fb36aee628
commit 0ef5e0455e

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile.walnut.inc,v 1.3 2002/03/05 22:02:25 eeh Exp $
# $NetBSD: Makefile.walnut.inc,v 1.4 2002/05/30 15:24:57 eeh Exp $
MKIMG?= ${THISPPC}/compile/mkimg.sh
CFLAGS+=-mcpu=403
TEXTADDR?= 25000
.ifdef DBSYM
SYSTEM_LD_TAIL_EXTRA+=; ${DBSYM} $@
SYSTEM_LD_TAIL_EXTRA+=; echo ${DBSYM} $@; ${DBSYM} $@
.endif
netbsd.img: netbsd
OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; ${MKIMG} netbsd netbsd.img
SYSTEM_LD_TAIL_EXTRA+=; \
OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
${MKIMG} $@ $@.img