aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/ral/Makefile
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-04-20 20:35:46 +0000
committerSam Leffler <sam@FreeBSD.org>2008-04-20 20:35:46 +0000
commitb032f27c365b992e9d8e42214183b39acfb8c6ac (patch)
treebc7985c57e7ecfa1ac03e48c406a25430dba634b /sys/contrib/dev/ral/Makefile
parentf44636071190e39b601efef820f32bf0fb0bb02f (diff)
downloadsrc-b032f27c365b992e9d8e42214183b39acfb8c6ac.tar.gz
src-b032f27c365b992e9d8e42214183b39acfb8c6ac.zip
Multi-bss (aka vap) support for 802.11 devices.
Note this includes changes to all drivers and moves some device firmware loading to use firmware(9) and a separate module (e.g. ral). Also there no longer are separate wlan_scan* modules; this functionality is now bundled into the wlan module. Supported by: Hobnob and Marvell Reviewed by: many Obtained from: Atheros (some bits)
Notes
Notes: svn path=/head/; revision=178354
Diffstat (limited to 'sys/contrib/dev/ral/Makefile')
-rw-r--r--sys/contrib/dev/ral/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/contrib/dev/ral/Makefile b/sys/contrib/dev/ral/Makefile
new file mode 100644
index 000000000000..8560f4267381
--- /dev/null
+++ b/sys/contrib/dev/ral/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+FILES= rt2561s.fw.uu rt2561.fw.uu rt2661.fw.uu rt2860.fw.uu
+
+rt2561s.fw.uu: rt2661_ucode.h LICENSE
+ (cat rt2661_ucode.h; \
+ echo 'int main(void) { \
+ write(1, rt2561s_ucode, sizeof(rt2561s_ucode)); return 0; \
+ }') | ${CC} -o build -x c -
+ (sed 's/^/# /' LICENSE; ./build | uuencode rt2561s.fw) > ${.TARGET}
+
+rt2561.fw.uu: rt2661_ucode.h LICENSE
+ (cat rt2661_ucode.h; \
+ echo 'int main(void) { \
+ write(1, rt2561_ucode, sizeof(rt2561_ucode)); return 0; \
+ }') | ${CC} -o build -x c -
+ (sed 's/^/# /' LICENSE; ./build | uuencode rt2561.fw) > ${.TARGET}
+
+rt2661.fw.uu: rt2661_ucode.h LICENSE
+ (cat rt2661_ucode.h; \
+ echo 'int main(void) { \
+ write(1, rt2661_ucode, sizeof(rt2661_ucode)); return 0; \
+ }') | ${CC} -o build -x c -
+ (sed 's/^/# /' LICENSE; ./build | uuencode rt2661.fw) > ${.TARGET}
+
+rt2860.fw.uu: rt2661_ucode.h LICENSE
+ (cat rt2661_ucode.h; \
+ echo 'int main(void) { \
+ write(1, rt2860_ucode, sizeof(rt2860_ucode)); return 0; \
+ }') | ${CC} -o build -x c -
+ (sed 's/^/# /' LICENSE; ./build | uuencode rt2860.fw) > ${.TARGET}
+
+clean:
+ rm -f build build.c ${FILES}
+
+.include <bsd.prog.mk>