aboutsummaryrefslogtreecommitdiffstats
path: root/tools/b43-tools/patches/001-fw-dirname.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-10-08 20:15:42 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-10-08 20:15:42 +0000
commitb8f16535e2385ac826708c2bdca2b0ab5822e4b0 (patch)
tree335d31d030caa7647bee26422f19821d0b5a6f95 /tools/b43-tools/patches/001-fw-dirname.patch
parentce5b3306950812db8178087500c805b824e20ebb (diff)
downloadupstream-b8f16535e2385ac826708c2bdca2b0ab5822e4b0.tar.gz
upstream-b8f16535e2385ac826708c2bdca2b0ab5822e4b0.tar.bz2
upstream-b8f16535e2385ac826708c2bdca2b0ab5822e4b0.zip
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 0000000000..e9bd03249f
--- /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;
+