summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/netboot/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-12-13 14:45:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-12-13 14:45:35 +0000
commit68a3847cab317877894c727543bac7a384cb1764 (patch)
treed1b5c115237b55456665c315f619cef55391b35c /sys/arch/alpha/stand/netboot/Makefile
parent05e4e4db2a3b76d90d83673031b9f0552c3685a3 (diff)
Create a MOP version of the network boot loader; verified to boot on DEC 3000.
Diffstat (limited to 'sys/arch/alpha/stand/netboot/Makefile')
-rw-r--r--sys/arch/alpha/stand/netboot/Makefile13
1 files changed, 11 insertions, 2 deletions
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: