summaryrefslogtreecommitdiffstats
path: root/tools/b43-tools/patches/001-fw-dirname.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-08 20:15:42 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-08 20:15:42 +0000
commit6c0ffe4c6e007cc8dd3e8f0d527f90b82d685511 (patch)
tree335d31d030caa7647bee26422f19821d0b5a6f95 /tools/b43-tools/patches/001-fw-dirname.patch
parent996cb4d7513e13627fc875c399e26f64e531c1b2 (diff)
tools: add b43-tools
Move the b43-tools build from the mac80211 Makefile into an own package in tools and use the newest version of b43-tools. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33668 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/b43-tools/patches/001-fw-dirname.patch')
-rw-r--r--tools/b43-tools/patches/001-fw-dirname.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/b43-tools/patches/001-fw-dirname.patch b/tools/b43-tools/patches/001-fw-dirname.patch
new file mode 100644
index 000000000..e9bd03249
--- /dev/null
+++ b/tools/b43-tools/patches/001-fw-dirname.patch
@@ -0,0 +1,16 @@
+--- a/fwcutter/fwcutter.c
++++ b/fwcutter/fwcutter.c
+@@ -48,13 +48,8 @@
+ #include "fwcutter.h"
+ #include "fwcutter_list.h"
+
+-#if defined(__DragonFly__) || defined(__FreeBSD__)
+-#define V3_FW_DIRNAME "v3"
+-#define V4_FW_DIRNAME "v4"
+-#else
+ #define V3_FW_DIRNAME "b43legacy"
+ #define V4_FW_DIRNAME "b43"
+-#endif
+
+ static struct cmdline_args cmdargs;
+