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