summaryrefslogtreecommitdiffstats
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.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/modules/ralfw/Makefile.inc b/sys/modules/ralfw/Makefile.inc
new file mode 100644
index 0000000..2dc6b47
--- /dev/null
+++ b/sys/modules/ralfw/Makefile.inc
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+#
+# 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}: ${.CURDIR}/../../../contrib/dev/ral/${_FIRM}.uu
+ uudecode -p $? > ${.TARGET}
OpenPOWER on IntegriCloud