summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/stand/boot/Makefile')
-rw-r--r--sys/arch/alpha/stand/boot/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/alpha/stand/boot/Makefile b/sys/arch/alpha/stand/boot/Makefile
index 19f79e56cb1..f729ed58481 100644
--- a/sys/arch/alpha/stand/boot/Makefile
+++ b/sys/arch/alpha/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2000/12/14 13:48:25 art Exp $
+# $OpenBSD: Makefile,v 1.12 2001/01/16 15:36:36 art Exp $
# $NetBSD: Makefile,v 1.17 1997/04/17 07:27:46 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -28,9 +28,10 @@ ${PROG}.nosym: ${PROG}.sym
cp ${PROG}.sym ${PROG}.nosym
strip ${PROG}.nosym
-${PROG}: ${PROG}.nosym ${HEADERSIZE_PROG}
- dd if=${PROG}.nosym of=${PROG} \
- bs=`./${HEADERSIZE_PROG} ${BOOT_RELOC} ${PROG}.nosym` skip=1
+${PROG}: ${PROG}.nosym #${HEADERSIZE_PROG}
+ objcopy --output-target=binary ${PROG}.nosym ${PROG}
+# dd if=${PROG}.nosym of=${PROG} \
+# bs=`./${HEADERSIZE_PROG} ${BOOT_RELOC} ${PROG}.nosym` skip=1
# no lint here (yet?)
lint:
@@ -62,4 +63,4 @@ ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${COMPILE.c} vers.c
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
- size ${PROG}.sym
+ size ${PROG}.sym \ No newline at end of file