Convert `bootxx' to raw binary format which is what the MI installboot(8)

program needs.
This commit is contained in:
pk 2002-05-07 11:32:44 +00:00
parent cb4eb5a74c
commit db2a20d3fc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2000/02/21 15:07:34 pk Exp $
# $NetBSD: Makefile,v 1.14 2002/05/07 11:32:44 pk Exp $
PROG= bootxx
PROGSOURCE= bootxx.c
@ -8,9 +8,11 @@ PROGSOURCE= bootxx.c
CPPFLAGS+= -DBOOTXX -DLIBSA_NO_CLOSE
STRIPFLAG=
LINKFLAGS= -N -Ttext ${RELOC_BOOTXX} -e start
CLEANFILES+= ${PROG}.sym
${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN}
@${SIZE} ${.TARGET}
${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN}
@${SIZE} ${.TARGET}.sym
${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
.include <bsd.prog.mk>