Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/stand/bootxx Convert `bootxx' to raw binary f...



details:   https://anonhg.NetBSD.org/src/rev/78b2c3df7633
branches:  trunk
changeset: 526644:78b2c3df7633
user:      pk <pk%NetBSD.org@localhost>
date:      Tue May 07 11:32:44 2002 +0000

description:
Convert `bootxx' to raw binary format which is what the MI installboot(8)
program needs.

diffstat:

 sys/arch/sparc/stand/bootxx/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r d465ea58fd26 -r 78b2c3df7633 sys/arch/sparc/stand/bootxx/Makefile
--- a/sys/arch/sparc/stand/bootxx/Makefile      Tue May 07 11:29:37 2002 +0000
+++ b/sys/arch/sparc/stand/bootxx/Makefile      Tue May 07 11:32:44 2002 +0000
@@ -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 @@
 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>



Home | Main Index | Thread Index | Old Index