summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-07-29 00:48:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-07-29 00:48:53 +0000
commit35ed541750254d73c3c88cfdf6c1f9b0c6653f49 (patch)
tree7303baca06af3efa60edd3d54dc52338c8316122 /sys
parent0bd3218b174e97a181a9e7360b934ebd6b0c7736 (diff)
only enter for armish
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/armish/stand/boot/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/armish/stand/boot/Makefile b/sys/arch/armish/stand/boot/Makefile
index 0873549461b..f2cb95d2d55 100644
--- a/sys/arch/armish/stand/boot/Makefile
+++ b/sys/arch/armish/stand/boot/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2006/07/28 17:24:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2006/07/29 00:48:52 deraadt Exp $
NOMAN=
-PROG= boot
+.if ${MACHINE} == "armish"
+PROG= boot
S= ${.CURDIR}/../../../..
CPPFLAGS+= -nostdinc -I../.. -I. -I${S} -D_STANDALONE
@@ -39,4 +40,8 @@ ${PROG}: ${OBJS} ${LIBKERN} ${LIBSA}
CLEANFILES+= machine arm
.endif
+.else
+NOPROG=
+.endif
+
.include <bsd.prog.mk>