summaryrefslogtreecommitdiffstats
path: root/sys/modules/iwnfw/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/iwnfw/Makefile.inc')
-rw-r--r--sys/modules/iwnfw/Makefile.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/modules/iwnfw/Makefile.inc b/sys/modules/iwnfw/Makefile.inc
new file mode 100644
index 0000000..73fe67e
--- /dev/null
+++ b/sys/modules/iwnfw/Makefile.inc
@@ -0,0 +1,13 @@
+# $FreeBSD$
+#
+# Common rules for building firmware. Note this gets auto-included
+# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
+
+_FIRM= ${IMG}.fw
+
+CLEANFILES+= ${_FIRM}
+
+FIRMWS= ${_FIRM}:${KMOD}
+
+${_FIRM}: ${.CURDIR}/../../../contrib/dev/iwn/${_FIRM}.uu
+ uudecode -p $? > ${.TARGET}
OpenPOWER on IntegriCloud