summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/fxp/Makefile
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-12-22 12:02:48 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-12-22 12:02:48 +0000
commit447d7f1539a230f93ad9916ff4e453a6393e27c1 (patch)
tree1fdaa13326a8cc09e6c2d9dd2b7312bea3281071 /sys/dev/microcode/fxp/Makefile
parentdc8b73a929338f8bcf900dc6bd5fecda5acf9e8f (diff)
Use vfs firmware loader for fxp(4) interrupt coalescing microcode.
Initial work by Dmitry Bogdan <bogdan@eastonline.ru> with a help from me and Theo. ok deraadt@
Diffstat (limited to 'sys/dev/microcode/fxp/Makefile')
-rw-r--r--sys/dev/microcode/fxp/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/dev/microcode/fxp/Makefile b/sys/dev/microcode/fxp/Makefile
new file mode 100644
index 00000000000..edf0f030c0a
--- /dev/null
+++ b/sys/dev/microcode/fxp/Makefile
@@ -0,0 +1,27 @@
+# $OpenBSD: Makefile,v 1.1 2004/12/22 12:02:47 grange Exp $
+
+NOPROG=
+NOMAN=
+
+# PCI capable systems only
+.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
+ (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
+ (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
+ (${MACHINE} == "hppa") || (${MACHINE} == "sgi")
+
+FIRM= fxp-d101a fxp-d101b0 fxp-d101ma fxp-d101s fxp-d102 fxp-d102c
+
+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}/fxp-license ${DESTDIR}/etc/firmware
+
+.endif
+
+.include <bsd.prog.mk>