summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/netboot
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-01-16 15:36:37 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-01-16 15:36:37 +0000
commiteb4e10d4941d7ba5840bcced3722e4402d503c93 (patch)
tree03342a935f049e33101673df985992fe6ff8f3b8 /sys/arch/alpha/stand/netboot
parente248821bfdc9a0d079f327b0065cd9b5db537dfc (diff)
Use objcopy to build the bootblocks instead of a hairy dd.
Bootblock built with elf utils work now.
Diffstat (limited to 'sys/arch/alpha/stand/netboot')
-rw-r--r--sys/arch/alpha/stand/netboot/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/alpha/stand/netboot/Makefile b/sys/arch/alpha/stand/netboot/Makefile
index 1b6b4453893..b953b86fcd3 100644
--- a/sys/arch/alpha/stand/netboot/Makefile
+++ b/sys/arch/alpha/stand/netboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2000/12/14 13:48:26 art Exp $
+# $OpenBSD: Makefile,v 1.5 2001/01/16 15:36:36 art Exp $
# $NetBSD: Makefile,v 1.11 1997/04/17 07:27:50 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -30,9 +30,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: