summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/neomagic/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-22 04:29:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-22 04:29:08 +0000
commit12e4bbac0bc091e5ca5697b4f4fb2acd3b987262 (patch)
treea0941b38b45b7a10f7b6f6702233d53ae87c682d /sys/dev/microcode/neomagic/Makefile
parentf44707cd2cf5b51fff737c6bb3c5fc6910143a15 (diff)
filesystem firmware loading
Diffstat (limited to 'sys/dev/microcode/neomagic/Makefile')
-rw-r--r--sys/dev/microcode/neomagic/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/dev/microcode/neomagic/Makefile b/sys/dev/microcode/neomagic/Makefile
new file mode 100644
index 00000000000..6f762f25781
--- /dev/null
+++ b/sys/dev/microcode/neomagic/Makefile
@@ -0,0 +1,23 @@
+# $OpenBSD: Makefile,v 1.1 2004/11/22 04:29:06 deraadt Exp $
+
+NOPROG=
+NOMAN=
+
+.if (${MACHINE} == "i386")
+
+FIRM= neo-coefficients
+
+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}/neo-license ${DESTDIR}/etc/firmware
+.endif
+
+.include <bsd.prog.mk>
+