summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-02-19 01:43:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-02-19 01:43:50 +0000
commit62a588c5b1bd0506f72c1b065212cbcbfc504f93 (patch)
tree9b8e71792937564a570b87006e878edb88b41038 /sys/arch
parenta169798434ec26d967942519e583baf71c7f45bf (diff)
do NOT install the loongson mbr on other architectures!
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/loongson/stand/mbr/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/loongson/stand/mbr/Makefile b/sys/arch/loongson/stand/mbr/Makefile
index a6df50a4275..1112d484820 100644
--- a/sys/arch/loongson/stand/mbr/Makefile
+++ b/sys/arch/loongson/stand/mbr/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2010/02/17 19:56:09 otto Exp $
+# $OpenBSD: Makefile,v 1.2 2010/02/19 01:43:49 deraadt Exp $
-.include "${.CURDIR}/../Makefile.inc"
+.if ${MACHINE} == "loongson"
+.include "${.CURDIR}/../Makefile.inc"
CLEANFILES= mbr
all: mbr
@@ -13,5 +14,6 @@ realinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 mbr \
${DESTDIR}/usr/mdec
+.endif
.include <bsd.prog.mk>