Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ofppc/stand/ofwboot build ofwboot as an ELF binary.



details:   https://anonhg.NetBSD.org/src/rev/a4665017f7ad
branches:  trunk
changeset: 536523:a4665017f7ad
user:      chs <chs%NetBSD.org@localhost>
date:      Wed Sep 18 01:45:49 2002 +0000

description:
build ofwboot as an ELF binary.

diffstat:

 sys/arch/ofppc/stand/ofwboot/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 29ed0ac1b895 -r a4665017f7ad sys/arch/ofppc/stand/ofwboot/Makefile
--- a/sys/arch/ofppc/stand/ofwboot/Makefile     Wed Sep 18 01:45:25 2002 +0000
+++ b/sys/arch/ofppc/stand/ofwboot/Makefile     Wed Sep 18 01:45:49 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2002/06/18 00:37:25 itojun Exp $
+#      $NetBSD: Makefile,v 1.13 2002/09/18 01:45:49 chs Exp $
 
 S=     ${.CURDIR}/../../../..
 
@@ -59,10 +59,10 @@
 .PHONY: vers.c
 vers.c: version
        sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "ofppc" ${NEWVERSWHAT}
-       
+
 ${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
-       ${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${PROG}.elf \
+       ${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${PROG}.X \
            ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
-       ${OBJCOPY} -O binary ${PROG}.elf ${PROG}
+       mv -f ${PROG}.X ${PROG}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index