Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/news68k/stand/boot Use "${OBJCOPY} -O binary" to st...



details:   https://anonhg.NetBSD.org/src/rev/455a4239f1cb
branches:  trunk
changeset: 484847:455a4239f1cb
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Apr 13 14:44:02 2000 +0000

description:
Use "${OBJCOPY} -O binary" to strip a.out header.

diffstat:

 sys/arch/news68k/stand/boot/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r baf19643492c -r 455a4239f1cb sys/arch/news68k/stand/boot/Makefile
--- a/sys/arch/news68k/stand/boot/Makefile      Thu Apr 13 14:39:34 2000 +0000
+++ b/sys/arch/news68k/stand/boot/Makefile      Thu Apr 13 14:44:02 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2000/04/13 14:19:57 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.6 2000/04/13 14:44:02 tsutsui Exp $
 
 COMMON= ${.CURDIR}/../common
 .ifnmake(print-objdir)
@@ -16,6 +16,7 @@
 
 SIZE?= size
 STRIP?= strip
+OBJCOPY?= objcopy
 
 S= ${.CURDIR}/../../../..
 
@@ -47,7 +48,7 @@
        ${LD} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}
        -${SIZE} ${PROG}
        ${STRIP} ${PROG}
-       tail -c +33 ${PROG} > ${PROG}.tmp
+       ${OBJCOPY} -O binary ${PROG} ${PROG}.tmp
        mv ${PROG}.tmp ${PROG}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index