aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ralfw
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/ralfw')
-rw-r--r--sys/modules/ralfw/Makefile4
-rw-r--r--sys/modules/ralfw/Makefile.inc14
-rw-r--r--sys/modules/ralfw/rt2561/Makefile4
-rw-r--r--sys/modules/ralfw/rt2561s/Makefile4
-rw-r--r--sys/modules/ralfw/rt2661/Makefile5
-rw-r--r--sys/modules/ralfw/rt2860/Makefile4
6 files changed, 35 insertions, 0 deletions
diff --git a/sys/modules/ralfw/Makefile b/sys/modules/ralfw/Makefile
new file mode 100644
index 000000000000..e8c74240cb1b
--- /dev/null
+++ b/sys/modules/ralfw/Makefile
@@ -0,0 +1,4 @@
+
+SUBDIR= rt2561 rt2561s rt2661 rt2860
+
+.include <bsd.subdir.mk>
diff --git a/sys/modules/ralfw/Makefile.inc b/sys/modules/ralfw/Makefile.inc
new file mode 100644
index 000000000000..5cf040ba5450
--- /dev/null
+++ b/sys/modules/ralfw/Makefile.inc
@@ -0,0 +1,14 @@
+
+#
+# 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}
diff --git a/sys/modules/ralfw/rt2561/Makefile b/sys/modules/ralfw/rt2561/Makefile
new file mode 100644
index 000000000000..3f5ba22d61b4
--- /dev/null
+++ b/sys/modules/ralfw/rt2561/Makefile
@@ -0,0 +1,4 @@
+
+IMG= rt2561
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/ralfw/rt2561s/Makefile b/sys/modules/ralfw/rt2561s/Makefile
new file mode 100644
index 000000000000..660d98d26ae3
--- /dev/null
+++ b/sys/modules/ralfw/rt2561s/Makefile
@@ -0,0 +1,4 @@
+
+IMG= rt2561s
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/ralfw/rt2661/Makefile b/sys/modules/ralfw/rt2661/Makefile
new file mode 100644
index 000000000000..576d3b6c41f6
--- /dev/null
+++ b/sys/modules/ralfw/rt2661/Makefile
@@ -0,0 +1,5 @@
+
+IMG= rt2661
+
+.include <bsd.kmod.mk>
+
diff --git a/sys/modules/ralfw/rt2860/Makefile b/sys/modules/ralfw/rt2860/Makefile
new file mode 100644
index 000000000000..9fee45718f8f
--- /dev/null
+++ b/sys/modules/ralfw/rt2860/Makefile
@@ -0,0 +1,4 @@
+
+IMG= rt2860
+
+.include <bsd.kmod.mk>