summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/kue/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/microcode/kue/Makefile')
-rw-r--r--sys/dev/microcode/kue/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/dev/microcode/kue/Makefile b/sys/dev/microcode/kue/Makefile
new file mode 100644
index 00000000000..8c6172f78e1
--- /dev/null
+++ b/sys/dev/microcode/kue/Makefile
@@ -0,0 +1,27 @@
+# $OpenBSD: Makefile,v 1.1 2004/11/22 18:49:05 deraadt Exp $
+
+NOPROG=
+NOMAN=
+
+# USB capable systems only
+.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
+ (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
+ (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
+ (${MACHINE} == "hppa") || (${MACHINE} == "sgi")
+
+FIRM= kue
+
+CLEANFILES+= ${FIRM} build
+
+all: build
+ ${.OBJDIR}/build
+
+afterinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
+ ${FIRM} ${DESTDIR}/etc/firmware
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
+ ${.CURDIR}/kue-license ${DESTDIR}/etc/firmware
+.endif
+
+.include <bsd.prog.mk>
+