summaryrefslogtreecommitdiff
path: root/tools/b43-tools/patches/001-fw-dirname.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-10-08 20:15:42 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-10-08 20:15:42 +0000
commitd14c6b29eb4e2b23cf2d90b15cc8774a72a06d31 (patch)
tree865fc921b75f7e1f5a91d7caecf62b8bdc80a91d /tools/b43-tools/patches/001-fw-dirname.patch
parent5322ca7a30c697fb8f376cb83f0d431ac8d51075 (diff)
downloadmtk-20170518-d14c6b29eb4e2b23cf2d90b15cc8774a72a06d31.zip
mtk-20170518-d14c6b29eb4e2b23cf2d90b15cc8774a72a06d31.tar.gz
mtk-20170518-d14c6b29eb4e2b23cf2d90b15cc8774a72a06d31.tar.bz2
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. SVN-Revision: 33668
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 0000000..e9bd032
--- /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;
+