summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-02-13 17:42:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-02-13 17:42:07 +0000
commit532cac76428d599046b455b05472bad65500bfb0 (patch)
tree56ee032a9435ded27207dcad0f52332809f635c3 /sys
parentdc86f089aba7ebd2f4001013df7a25727cfa7eef (diff)
Install boot.elf in /usr/mdec, since we need it as a bootloader on the rb600.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/socppc/stand/boot/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/socppc/stand/boot/Makefile b/sys/arch/socppc/stand/boot/Makefile
index 6513af78b85..34edf5c5e97 100644
--- a/sys/arch/socppc/stand/boot/Makefile
+++ b/sys/arch/socppc/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2009/09/11 17:45:01 dms Exp $
+# $OpenBSD: Makefile,v 1.8 2010/02/13 17:42:06 kettenis Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -46,6 +46,12 @@ ${PROG}: ${OBJS} ${LIBSA}
${OBJCOPY} -O binary ${PROG}.elf ${PROG}.bin
${MKBOOT} -e ${RELOC} -l ${RELOC} ${PROG}.bin ${PROG}
+realinstall:
+ ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \
+ -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/${PROG}
+ ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \
+ -m ${BINMODE} ${PROG}.elf ${DESTDIR}${BINDIR}/${PROG}.elf
+
.if !make(obj)
.BEGIN:
@([ -h machine ] || ln -s ${.CURDIR}/../../../${MACHINE}/include machine)