summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-12-13 14:45:34 +0000
committermiod <miod@openbsd.org>2014-12-13 14:45:34 +0000
commit85382c84a4b554ec87842922140dc63cc89a1717 (patch)
treeaf68cc09a3478656078cafefe70851f36ca92316
parentGive the mop suite the ability to process alpha Elf64 files and create mop (diff)
downloadwireguard-openbsd-85382c84a4b554ec87842922140dc63cc89a1717.tar.xz
wireguard-openbsd-85382c84a4b554ec87842922140dc63cc89a1717.zip
Create a MOP version of the network boot loader; verified to boot on DEC 3000.
-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: