summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-26 15:46:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-26 15:46:35 +0000
commit1c63ace84de80dfec713f3ab958cbb4725b793d3 (patch)
treed8d07f6a975d94a13a5016dd5a168612aab66aea
parent7ea0166b1977e4db62830610935c326b31f86399 (diff)
usb capable systems only
-rw-r--r--sys/dev/microcode/zydas/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/microcode/zydas/Makefile b/sys/dev/microcode/zydas/Makefile
index 38d342dce12..c782eb45cf3 100644
--- a/sys/dev/microcode/zydas/Makefile
+++ b/sys/dev/microcode/zydas/Makefile
@@ -1,7 +1,16 @@
-# $OpenBSD: Makefile,v 1.1 2006/06/26 14:24:26 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2006/06/26 15:46:34 deraadt Exp $
+NOPROG=
NOMAN=
+# USB capable systems only
+.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
+ (${MACHINE} == "amd64") || (${MACHINE} == "armish") || \
+ (${MACHINE} == "cats") || (${MACHINE} == "hppa") || \
+ (${MACHINE} == "hppa64") || (${MACHINE} == "i386") || \
+ (${MACHINE} == "sgi") || (${MACHINE} == "sparc64") || \
+ (${MACHINE} == "zaurus")
+
FIRM= zd1211
PROG= build
@@ -20,6 +29,6 @@ afterinstall:
${FIRM} ${DESTDIR}/etc/firmware
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
${.CURDIR}/zd1211-licence ${DESTDIR}/etc/firmware
-
+.endif
.include <bsd.prog.mk>