mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd. This is one patch from #9897 SVN-Revision: 27926
This commit is contained in:
parent
6f4151b7f0
commit
6474dbe86b
2 changed files with 17 additions and 0 deletions
|
@ -1386,6 +1386,7 @@ endef
|
||||||
|
|
||||||
define Build/b43-common
|
define Build/b43-common
|
||||||
tar xjf "$(DL_DIR)/$(PKG_B43_FWCUTTER_SOURCE)" -C "$(PKG_BUILD_DIR)"
|
tar xjf "$(DL_DIR)/$(PKG_B43_FWCUTTER_SOURCE)" -C "$(PKG_BUILD_DIR)"
|
||||||
|
patch -p1 -d "$(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_OBJECT)" < ./files/b43-fwcutter-fw-dirname.patch
|
||||||
$(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_OBJECT)" \
|
$(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_OBJECT)" \
|
||||||
CFLAGS="-I$(STAGING_DIR_HOST)/include -include endian.h" \
|
CFLAGS="-I$(STAGING_DIR_HOST)/include -include endian.h" \
|
||||||
QUIET_SPARSE=:
|
QUIET_SPARSE=:
|
||||||
|
|
16
package/mac80211/files/b43-fwcutter-fw-dirname.patch
Normal file
16
package/mac80211/files/b43-fwcutter-fw-dirname.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
--- a/fwcutter.c
|
||||||
|
+++ b/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;
|
||||||
|
|
Loading…
Reference in a new issue