From: miod Date: Sat, 13 Dec 2014 14:45:34 +0000 (+0000) Subject: Create a MOP version of the network boot loader; verified to boot on DEC 3000. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=85382c84a4b554ec87842922140dc63cc89a1717;p=openbsd Create a MOP version of the network boot loader; verified to boot on DEC 3000. --- diff --git a/sys/arch/alpha/stand/netboot/Makefile b/sys/arch/alpha/stand/netboot/Makefile index 5df6864b73a..34e6ed29dce 100644 --- a/sys/arch/alpha/stand/netboot/Makefile +++ b/sys/arch/alpha/stand/netboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2012/09/01 15:10:06 pascal Exp $ +# $OpenBSD: Makefile,v 1.13 2014/12/13 14:45:34 miod Exp $ # $NetBSD: Makefile,v 1.11 1997/04/17 07:27:50 thorpej Exp $ S= ${.CURDIR}/../../../.. @@ -36,8 +36,17 @@ ${PROG}.nosym: ${PROG}.sym cp ${PROG}.sym ${PROG}.nosym strip ${PROG}.nosym -${PROG}: ${PROG}.nosym +${PROG} ${PROG}.mop: ${PROG}.nosym objcopy --output-target=binary ${PROG}.nosym ${PROG} + mopa.out ${PROG}.nosym ${PROG}.mop + +realinstall: + ${INSTALL} ${INSTALL_COPY} -S ${INSTALL_STRIP} \ + -o ${BINOWN} -g ${BINGRP} \ + -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/${PROG} + ${INSTALL} ${INSTALL_COPY} -S ${INSTALL_STRIP} \ + -o ${BINOWN} -g ${BINGRP} \ + -m ${BINMODE} ${PROG}.mop ${DESTDIR}${BINDIR}/${PROG}.mop # no lint here (yet?) lint: