summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/yds/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-20 12:29:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-20 12:29:41 +0000
commit3e3869cfef1a8e75c93b0337c3e50d80fb063881 (patch)
tree342bb2ce1f238f5748765d46b6ce6c1442ed3a32 /sys/dev/microcode/yds/Makefile
parent58752baf6c05162c1e86192572fb1b9df4719351 (diff)
firmware loading from the filesystem. pci subsystem type things
are still done early, but audio subsystem setup is deferred till after root is mounted. tested by mcbride
Diffstat (limited to 'sys/dev/microcode/yds/Makefile')
-rw-r--r--sys/dev/microcode/yds/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/dev/microcode/yds/Makefile b/sys/dev/microcode/yds/Makefile
new file mode 100644
index 00000000000..f76c30932f6
--- /dev/null
+++ b/sys/dev/microcode/yds/Makefile
@@ -0,0 +1,28 @@
+# $OpenBSD: Makefile,v 1.1 2004/12/20 12:29:40 deraadt Exp $
+
+NOPROG=
+NOMAN=
+
+# PCI capable systems only
+.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
+ (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
+ (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
+ (${MACHINE} == "hppa") || (${MACHINE} == "hppa64") || \
+ (${MACHINE} == "sgi")
+
+FIRM= yds
+
+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}/yds-license ${DESTDIR}/etc/firmware
+.endif
+
+.include <bsd.prog.mk>
+