summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-14 20:17:46 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-14 20:17:46 +0000
commitadac0ea622bdd1bd7c2e5ef51fd73af5a0c2dd1f (patch)
tree19b4fe4e0b893039d08b0d3d2328f4610aa7ec6d /sys
parent54dff355329ed5be071dbc15e4b21d826af15f1a (diff)
Pad boot out to 512 byte boundary... some old prom's don't like binaries
which end on "odd" boundaries.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/stand/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/stand/boot/Makefile b/sys/arch/sparc/stand/boot/Makefile
index 1c74591bab0..687a4f28ba4 100644
--- a/sys/arch/sparc/stand/boot/Makefile
+++ b/sys/arch/sparc/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2002/08/11 23:11:22 art Exp $
+# $OpenBSD: Makefile,v 1.11 2003/02/14 20:17:45 jason Exp $
# $NetBSD: Makefile,v 1.2 1995/09/30 21:43:38 pk Exp $
.PATH: ${.CURDIR}/../common
@@ -26,7 +26,7 @@ ${PROG}: ${OBJS} ${LIBS} elfclean
./elfclean elf
objcopy -j .text -j .data -j .bss -O a.out-sparc-netbsd elf a.out
@size a.out
- (echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET}
+ (echo -n 01 | tr 01 '\01\03'; tail +3c a.out) | dd obs=512 conv=osync > ${.TARGET}
@rm a.out elf
srt0.o: srt0.S