summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)