summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2010-02-17 19:56:10 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2010-02-17 19:56:10 +0000
commit7dae1489a8dc07d38af7beb61e12248219c14f0f (patch)
tree846df9725af3e218e23fc3b4b315482bd05a1232 /sys/arch/loongson
parent24dc6f92395c81e61c642b4b7b22e15061e8f474 (diff)
proto mbr for loongson
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/stand/mbr/Makefile17
-rw-r--r--sys/arch/loongson/stand/mbr/mbr.uu15
2 files changed, 32 insertions, 0 deletions
diff --git a/sys/arch/loongson/stand/mbr/Makefile b/sys/arch/loongson/stand/mbr/Makefile
new file mode 100644
index 00000000000..a6df50a4275
--- /dev/null
+++ b/sys/arch/loongson/stand/mbr/Makefile
@@ -0,0 +1,17 @@
+# $OpenBSD: Makefile,v 1.1 2010/02/17 19:56:09 otto Exp $
+
+.include "${.CURDIR}/../Makefile.inc"
+
+CLEANFILES= mbr
+
+all: mbr
+
+mbr: mbr.uu
+ uudecode ${.CURDIR}/mbr.uu
+
+realinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 mbr \
+ ${DESTDIR}/usr/mdec
+
+
+.include <bsd.prog.mk>
diff --git a/sys/arch/loongson/stand/mbr/mbr.uu b/sys/arch/loongson/stand/mbr/mbr.uu
new file mode 100644
index 00000000000..4d0281af03e
--- /dev/null
+++ b/sys/arch/loongson/stand/mbr/mbr.uu
@@ -0,0 +1,15 @@
+begin 644 mbr
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M``````````````````````````````````````````````````````"```(`
+M@R`A``$`````"```````````````````````````````````````````````
+1``$!IOY_Z,$^``#HGW<`5:H`
+`
+end