2 # Copyright (C) 2007-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
13 PKG_VERSION
:=2010-03-24
15 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
16 # http://www.orbit-lab.org/kernel/compat-wireless-2.6/2010/11 \
17 # http://wireless.kernel.org/download/compat-wireless-2.6
18 PKG_MD5SUM
:=73357c52b5d6888ea3228b2ca8aa5eca
20 PKG_SOURCE
:=compat-wireless-
$(PKG_VERSION
).
tar.bz2
21 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/compat-wireless-
$(PKG_VERSION
)
23 PKG_CONFIG_DEPENDS
:= \
24 CONFIG_PACKAGE_kmod-mac80211 \
25 CONFIG_PACKAGE_MAC80211_DEBUGFS \
26 CONFIG_PACKAGE_ATH9K_USE_MINSTREL \
27 CONFIG_PACKAGE_ATH_DEBUG \
28 CONFIG_ATH_USER_REGD \
30 include $(INCLUDE_DIR
)/package.mk
32 WMENU
:=Wireless Drivers
34 define KernelPackage
/mac80211
/Default
36 URL
:=http
://linuxwireless.org
/
37 MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
38 DEPENDS
:=@LINUX_2_6 @
(!(TARGET_avr32||TARGET_ep93xx||TARGET_ps3||TARGET_pxcab
)||BROKEN
)
41 define KernelPackage
/cfg80211
42 $(call KernelPackage
/mac80211
/Default
)
43 TITLE
:=cfg80211
- wireless configuration API
44 DEPENDS
+= +wireless-tools
+iw @
!LINUX_2_6_25
45 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.33)),1)
47 $(PKG_BUILD_DIR
)/compat
/compat.
$(LINUX_KMOD_SUFFIX
) \
48 $(PKG_BUILD_DIR
)/net
/wireless
/cfg80211.
$(LINUX_KMOD_SUFFIX
)
49 AUTOLOAD
:=$(call AutoLoad
,20,compat cfg80211
)
52 $(PKG_BUILD_DIR
)/compat
/compat.
$(LINUX_KMOD_SUFFIX
) \
53 $(PKG_BUILD_DIR
)/compat
/compat_firmware_class.
$(LINUX_KMOD_SUFFIX
) \
54 $(PKG_BUILD_DIR
)/net
/wireless
/cfg80211.
$(LINUX_KMOD_SUFFIX
)
55 AUTOLOAD
:=$(call AutoLoad
,20,compat compat_firmware_class cfg80211
)
59 define KernelPackage
/cfg80211
/description
60 cfg80211 is the Linux wireless LAN
(802.11) configuration API.
63 define KernelPackage
/mac80211
64 $(call KernelPackage
/mac80211
/Default
)
65 TITLE
:=Linux
802.11 Wireless Networking Stack
66 DEPENDS
+= +kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-cfg80211
67 FILES
:= $(PKG_BUILD_DIR
)/net
/mac80211
/mac80211.
$(LINUX_KMOD_SUFFIX
)
68 AUTOLOAD
:=$(call AutoLoad
,21,mac80211
)
71 define KernelPackage
/mac80211
/config
72 source
"$(SOURCE)/Config.in"
75 define KernelPackage
/mac80211
/description
76 Generic IEEE
802.11 Networking Stack
(mac80211
)
80 P54PCIFW
:=2.13.12.0.arm
81 P54USBFW
:=2.13.24.0.lm87.arm
83 define Download
/p54usb
85 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-usb
86 MD5SUM
:=8e8ab005a4f8f0123bcdc51bc25b47f6
88 $(eval
$(call Download
,p54usb
))
90 define Download
/p54pci
92 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-softmac
93 MD5SUM
:=ff7536af2092b1c4b21315bd103ef4c4
95 $(eval
$(call Download
,p54pci
))
97 define KernelPackage
/p54
/Default
98 $(call KernelPackage
/mac80211
/Default
)
99 TITLE
:=Prism54 Drivers
102 define KernelPackage
/p54
/description
103 Kernel module for Prism54 chipsets
(mac80211
)
106 define KernelPackage
/p54-common
107 $(call KernelPackage
/p54
/Default
)
108 DEPENDS
+= @PCI_SUPPORT||@USB_SUPPORT
+kmod-mac80211
110 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54common.
$(LINUX_KMOD_SUFFIX
)
111 AUTOLOAD
:=$(call AutoLoad
,30,p54common
)
114 define KernelPackage
/p54-pci
115 $(call KernelPackage
/p54
/Default
)
117 DEPENDS
+= @PCI_SUPPORT
+kmod-p54-common
118 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54pci.
$(LINUX_KMOD_SUFFIX
)
119 AUTOLOAD
:=$(call AutoLoad
,31,p54pci
)
122 define KernelPackage
/p54-usb
123 $(call KernelPackage
/p54
/Default
)
125 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-p54-common
126 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54usb.
$(LINUX_KMOD_SUFFIX
)
127 AUTOLOAD
:=$(call AutoLoad
,31,p54usb
)
130 # Ralink rt2x00 drivers
131 RT61FW
:=RT61_Firmware_V1.2.zip
132 RT71FW
:=RT71W_Firmware_V1.8.zip
133 RT2860FW
:=RT2860_Firmware_V11.zip
134 RT2870FW
:=RT2870_Firmware_V8.zip
138 URL
:=http
://www.ralinktech.com.tw
/data
/
139 MD5SUM
:=d4c690c93b470bc9a681297c2adc6281
141 $(eval
$(call Download
,rt61
))
143 define Download
/rt71w
145 URL
:=http
://www.ralinktech.com.tw
/data
/
146 MD5SUM
:=1e7a5dc574e0268574fcda3fd5cf52f7
148 $(eval
$(call Download
,rt71w
))
150 define Download
/rt2860
152 URL
:=http
://www.ralinktech.com.tw
/data
/drivers
153 MD5SUM
:=440a81756a52c53528f16faa41c40124
155 $(eval
$(call Download
,rt2860
))
157 define Download
/rt2870
159 URL
:=http
://www.ralinktech.com.tw
/data
/drivers
160 MD5SUM
:=a7aae1d8cfd68e4d86a73000df0b6584
162 $(eval
$(call Download
,rt2870
))
166 define Download
/ar9170
168 URL
:=http
://www.kernel.org
/pub
/linux
/kernel
/people
/mcgrof
/firmware
/ar9170
169 MD5SUM
:=34feec4ec0eae3bb92c7c1ea2dfb4530
171 $(eval
$(call Download
,ar9170
))
173 NEED_RT2X00_LIB_CRYPTO
:=y
174 NEED_RT2X00_LIB_FIRMWARE
:=y
175 NEED_RT2X00_LIB_HT
:=y
176 NEED_RT2X00_LIB_LEDS
:=y
178 define KernelPackage
/rt2x00
/Default
179 $(call KernelPackage
/mac80211
/Default
)
180 TITLE
:=Ralink Drivers for RT2x00 cards
183 define KernelPackage
/rt2x00-lib
184 $(call KernelPackage
/rt2x00
/Default
)
185 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-mac80211
+kmod-crc-itu-t
187 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00lib.
$(LINUX_KMOD_SUFFIX
)
188 AUTOLOAD
:=$(call AutoLoad
,25,rt2x00lib
)
191 define KernelPackage
/rt2x00-lib
/config
192 source
"$(SOURCE)/Config.in.rt2x00"
195 define KernelPackage
/rt2x00-pci
196 $(call KernelPackage
/rt2x00
/Default
)
197 DEPENDS
+= @
(PCI_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-eeprom-93cx6
199 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00pci.
$(LINUX_KMOD_SUFFIX
)
200 AUTOLOAD
:=$(call AutoLoad
,26,rt2x00pci
)
203 define KernelPackage
/rt2x00-usb
204 $(call KernelPackage
/rt2x00
/Default
)
205 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-lib
+kmod-usb-core
207 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00usb.
$(LINUX_KMOD_SUFFIX
)
208 AUTOLOAD
:=$(call AutoLoad
,26,rt2x00usb
)
211 define KernelPackage
/rt2x00-soc
212 $(call KernelPackage
/rt2x00
/Default
)
213 DEPENDS
+= @TARGET_ramips
+kmod-rt2x00-lib
215 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00soc.
$(LINUX_KMOD_SUFFIX
)
216 AUTOLOAD
:=$(call AutoLoad
,26,rt2x00soc
)
219 define KernelPackage
/rt2800-lib
220 $(call KernelPackage
/rt2x00
/Default
)
221 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+USB_SUPPORT
:kmod-rt2x00-usb
+TARGET_ramips
:kmod-rt2x00-soc
223 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800lib.
$(LINUX_KMOD_SUFFIX
)
224 AUTOLOAD
:=$(call AutoLoad
,27,rt2800lib
)
227 define KernelPackage
/rt2400-pci
228 $(call KernelPackage
/rt2x00
/Default
)
229 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
231 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2400pci.
$(LINUX_KMOD_SUFFIX
)
232 AUTOLOAD
:=$(call AutoLoad
,27,rt2400pci
)
235 define KernelPackage
/rt2500-pci
236 $(call KernelPackage
/rt2x00
/Default
)
237 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
239 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500pci.
$(LINUX_KMOD_SUFFIX
)
240 AUTOLOAD
:=$(call AutoLoad
,27,rt2500pci
)
243 define KernelPackage
/rt2500-usb
244 $(call KernelPackage
/rt2x00
/Default
)
245 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
247 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500usb.
$(LINUX_KMOD_SUFFIX
)
248 AUTOLOAD
:=$(call AutoLoad
,27,rt2500usb
)
251 define KernelPackage
/rt61-pci
252 $(call KernelPackage
/rt2x00
/Default
)
253 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
255 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt61pci.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,27,rt61pci
)
259 define KernelPackage
/rt73-usb
260 $(call KernelPackage
/rt2x00
/Default
)
261 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
263 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt73usb.
$(LINUX_KMOD_SUFFIX
)
264 AUTOLOAD
:=$(call AutoLoad
,27,rt73usb
)
267 define KernelPackage
/rt2800-pci
268 $(call KernelPackage
/rt2x00
/Default
)
269 DEPENDS
+= +kmod-rt2x00-pci
+kmod-rt2800-lib
+kmod-crc-ccitt
+TARGET_ramips
:kmod-rt2x00-soc
271 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800pci.
$(LINUX_KMOD_SUFFIX
)
272 AUTOLOAD
:=$(call AutoLoad
,28,rt2800pci
)
275 define KernelPackage
/rt2800-usb
276 $(call KernelPackage
/rt2x00
/Default
)
277 DEPENDS
+= +kmod-rt2x00-usb
+kmod-rt2800-lib
+kmod-crc-ccitt
279 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800usb.
$(LINUX_KMOD_SUFFIX
)
280 AUTOLOAD
:=$(call AutoLoad
,28,rt2800usb
)
283 define KernelPackage
/rtl818x
/Default
284 $(call KernelPackage
/mac80211
/Default
)
285 TITLE
:=Realtek Drivers for RTL818x devices
286 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/rtl8187
287 DEPENDS
+= +kmod-eeprom-93cx6
+kmod-mac80211
290 define KernelPackage
/rtl8180
291 $(call KernelPackage
/rtl818x
/Default
)
292 DEPENDS
+= @PCI_SUPPORT
293 TITLE
+= (RTL8180 PCI
)
294 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8180.
$(LINUX_KMOD_SUFFIX
)
295 AUTOLOAD
:=$(call AutoLoad
,27,rtl8180
)
298 define KernelPackage
/rtl8187
299 $(call KernelPackage
/rtl818x
/Default
)
300 DEPENDS
+= @USB_SUPPORT
301 TITLE
+= (RTL8187 USB
)
302 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8187.
$(LINUX_KMOD_SUFFIX
)
303 AUTOLOAD
:=$(call AutoLoad
,27,rtl8187
)
306 ZD1211FW_NAME
:=zd1211-firmware
307 ZD1211FW_VERSION
:=1.4
308 define Download
/zd1211rw
309 FILE
:=$(ZD1211FW_NAME
)-$(ZD1211FW_VERSION
).
tar.bz2
311 MD5SUM
:=19f28781d76569af8551c9d11294c870
313 $(eval
$(call Download
,zd1211rw
))
315 define KernelPackage
/zd1211rw
316 $(call KernelPackage
/mac80211
/Default
)
317 TITLE
:=Zydas ZD1211 support
318 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-mac80211
319 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/zd1211rw
/zd1211rw.
$(LINUX_KMOD_SUFFIX
)
320 AUTOLOAD
:=$(call AutoLoad
,60,zd1211rw
)
323 define KernelPackage
/ath
/config
326 bool
"Force Atheros drivers to respect the user's regdomain settings"
327 depends on PACKAGE_kmod-ath
329 Atheros
' idea of regulatory handling is that the EEPROM of the card defines
330 the regulatory limits and the user is only allowed to restrict the settings
331 even further, even if the country allows frequencies or power levels that
332 are forbidden by the EEPROM settings.
333 Select this option if you want the driver to respect the user's decision about
336 config PACKAGE_ATH_DEBUG
337 bool
"Atheros wireless debugging"
338 depends on PACKAGE_kmod-ath
340 Say Y
, if you want to debug atheros wireless drivers.
341 Right now only ath9k makes use of this.
344 define KernelPackage
/ath
345 $(call KernelPackage
/mac80211
/Default
)
346 TITLE
:=Atheros common driver part
347 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
348 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath.
$(LINUX_KMOD_SUFFIX
)
349 AUTOLOAD
:=$(call AutoLoad
,26,ath
)
352 define KernelPackage
/ath
/description
353 This module contains some common parts needed by Atheros Wireless drivers.
356 define KernelPackage
/ath5k
357 $(call KernelPackage
/mac80211
/Default
)
358 TITLE
:=Atheros
5xxx wireless cards support
359 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath5k
361 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath5k
/ath5k.
$(LINUX_KMOD_SUFFIX
)
362 AUTOLOAD
:=$(call AutoLoad
,27,ath5k
)
365 define KernelPackage
/ath5k
/description
366 This module adds support for wireless adapters based on
367 Atheros
5xxx chipset.
370 define KernelPackage
/ath9k
371 $(call KernelPackage
/mac80211
/Default
)
372 TITLE
:=Atheros
802.11n wireless cards support
373 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
376 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_common.
$(LINUX_KMOD_SUFFIX
) \
377 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_hw.
$(LINUX_KMOD_SUFFIX
) \
378 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k.
$(LINUX_KMOD_SUFFIX
)
379 AUTOLOAD
:=$(call AutoLoad
,27,ath9k_hw ath9k_common ath9k
)
382 define KernelPackage
/ath9k
/description
383 This module adds support for wireless adapters based on
384 Atheros IEEE
802.11n AR5008 and AR9001 family of chipsets.
387 define KernelPackage
/ath9k
/config
388 source
"$(SOURCE)/Config.in.ath9k"
391 USB8388FW_NAME
:=usb8388
392 USB8388FW_VERSION
:=5.110.22.p23
394 define Download
/usb8388
395 URL
:=http
://dev.laptop.org
/pub
/firmware
/libertas
/
396 FILE
:=$(USB8388FW_NAME
)-$(USB8388FW_VERSION
).bin
397 MD5SUM
=5e38f55719df3d0c58dd3bd02575a09c
399 $(eval
$(call Download
,usb8388
))
401 define KernelPackage
/libertas
402 $(call KernelPackage
/mac80211
/Default
)
403 DEPENDS
+= @USB_SUPPORT
+kmod-mac80211
+kmod-usb-core
+kmod-lib80211
404 TITLE
:=Marvell
88W8015 Wireless Driver
406 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.
$(LINUX_KMOD_SUFFIX
) \
407 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/usb8xxx.
$(LINUX_KMOD_SUFFIX
)
408 AUTOLOAD
:=$(call AutoLoad
,27,libertas usb8xxx
)
412 define KernelPackage
/ar9170
413 $(call KernelPackage
/mac80211
/Default
)
414 TITLE
:=Atheros AR9170
802.11n USB support
415 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/ar9170
416 DEPENDS
+= @USB_SUPPORT @
!LINUX_2_6_25
+kmod-ath
+kmod-usb-core
417 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ar9170
/ar9170usb.
$(LINUX_KMOD_SUFFIX
)
418 AUTOLOAD
:=$(call AutoLoad
,27,ar9170usb
)
421 define KernelPackage
/ar9170
/description
422 This is a driver for the Atheros
"otus" 802.11n USB devices.
425 define KernelPackage
/mac80211-hwsim
426 $(call KernelPackage
/mac80211
/Default
)
427 TITLE
:=mac80211 HW simulation device
428 DEPENDS
+= +kmod-mac80211
429 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mac80211_hwsim.
$(LINUX_KMOD_SUFFIX
)
430 AUTOLOAD
:=$(call AutoLoad
,60,mac80211_hwsim
)
433 define KernelPackage
/net-libipw
434 $(call KernelPackage
/mac80211
/Default
)
435 TITLE
:=libipw for ipw2100 and ipw2200
436 DEPENDS
:=@PCI_SUPPORT
+kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-crypto-michael-mic
+kmod-lib80211
+kmod-cfg80211
437 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/libipw.
$(LINUX_KMOD_SUFFIX
)
438 AUTOLOAD
:=$(call AutoLoad
,49,libipw
)
441 define KernelPackage
/net-libipw
/description
442 Hardware independent IEEE
802.11 networking stack for ipw2100 and ipw2200.
445 IPW2100_NAME
:=ipw2100-fw
448 define Download
/net-ipw2100
449 URL
:=http
://bughost.org
/firmware
/
450 FILE
:=$(IPW2100_NAME
)-$(IPW2100_VERSION
).tgz
451 MD5SUM
=46aa75bcda1a00efa841f9707bbbd113
453 $(eval
$(call Download
,net-ipw2100
))
455 define KernelPackage
/net-ipw2100
456 $(call KernelPackage
/mac80211
/Default
)
457 TITLE
:=Intel IPW2100 driver
458 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
459 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2100.
$(LINUX_KMOD_SUFFIX
)
460 AUTOLOAD
:=$(call AutoLoad
,50,ipw2100
)
463 define KernelPackage
/net-ipw2100
/description
464 Kernel support for Intel IPW2100
469 IPW2200_NAME
:=ipw2200-fw
472 define Download
/net-ipw2200
473 URL
:=http
://bughost.org
/firmware
/
474 FILE
:=$(IPW2200_NAME
)-$(IPW2200_VERSION
).tgz
475 MD5SUM
=eaba788643c7cc7483dd67ace70f6e99
477 $(eval
$(call Download
,net-ipw2200
))
479 define KernelPackage
/net-ipw2200
480 $(call KernelPackage
/mac80211
/Default
)
481 TITLE
:=Intel IPW2200 driver
482 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
483 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2200.
$(LINUX_KMOD_SUFFIX
)
484 AUTOLOAD
:=$(call AutoLoad
,50,ipw2200
)
487 define KernelPackage
/net-ipw2200
/description
488 Kernel support for Intel IPW2200
494 ifneq ($(CONFIG_B43_EXPERIMENTAL
),)
495 PKG_B43_FWV4_NAME
:=broadcom-wl
496 PKG_B43_FWV4_VERSION
:=4.178.10.4
497 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl.o
498 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
499 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
500 PKG_B43_FWV4_MD5SUM
:=14477e8cbbb91b11896affac9b219fdb
502 PKG_B43_FWV4_NAME
:=broadcom-wl
503 PKG_B43_FWV4_VERSION
:=4.150.10.5
504 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta_mimo.o
505 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
506 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
507 PKG_B43_FWV4_MD5SUM
:=0c6ba9687114c6b598e8019e262d9a60
509 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
510 PKG_B43_FWV4_NAME
:=broadcom-wl
511 PKG_B43_FWV4_VERSION
:=5.2
512 PKG_B43_FWV4_OBJECT
:=openfwwf-
$(PKG_B43_FWV4_VERSION
)
513 PKG_B43_FWV4_SOURCE
:=openfwwf-
$(PKG_B43_FWV4_VERSION
).
tar.gz
514 PKG_B43_FWV4_SOURCE_URL
:=http
://www.ing.unibs.it
/openfwwf
/firmware
/
515 PKG_B43_FWV4_MD5SUM
:=e045a135453274e439ae183f8498b0fa
519 PKG_B43_FWV3_NAME
:=wl_apsta
520 PKG_B43_FWV3_VERSION
:=3.130.20.0
521 PKG_B43_FWV3_SOURCE
:=$(PKG_B43_FWV3_NAME
)-$(PKG_B43_FWV3_VERSION
).o
522 PKG_B43_FWV3_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
523 PKG_B43_FWV3_MD5SUM
:=e08665c5c5b66beb9c3b2dd54aa80cb3
525 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
526 PKG_B43_FWCUTTER_NAME
:=b43-fwcutter
527 PKG_B43_FWCUTTER_VERSION
:=3e69531aa65b8f664a0ab00dfc3e2eefeb0cb417
528 PKG_B43_FWCUTTER_SOURCE
:=$(PKG_B43_FWCUTTER_NAME
)-$(PKG_B43_FWCUTTER_VERSION
).
tar.bz2
529 PKG_B43_FWCUTTER_PROTO
:=git
530 PKG_B43_FWCUTTER_SOURCE_URL
:=http
://git.bu3sch.de
/git
/b43-tools.git
531 PKG_B43_FWCUTTER_SUBDIR
:=$(PKG_B43_FWCUTTER_NAME
)-$(PKG_B43_FWCUTTER_VERSION
)
532 PKG_B43_FWCUTTER_OBJECT
:=$(PKG_B43_FWCUTTER_NAME
)-$(PKG_B43_FWCUTTER_VERSION
)/fwcutter
/
534 PKG_B43_FWCUTTER_NAME
:=b43-fwcutter
535 PKG_B43_FWCUTTER_VERSION
:=012
536 PKG_B43_FWCUTTER_SOURCE
:=$(PKG_B43_FWCUTTER_NAME
)-$(PKG_B43_FWCUTTER_VERSION
).
tar.bz2
537 PKG_B43_FWCUTTER_PROTO
:=default
538 PKG_B43_FWCUTTER_SOURCE_URL
:=http
://bu3sch.de
/b43
/fwcutter
/
539 PKG_B43_FWCUTTER_MD5SUM
:=69eadf67b459f313a8d6b37aaabef96c
540 PKG_B43_FWCUTTER_SUBDIR
:=b43-fwcutter-
$(PKG_B43_FWCUTTER_VERSION
)
541 PKG_B43_FWCUTTER_OBJECT
:=$(PKG_B43_FWCUTTER_NAME
)-$(PKG_B43_FWCUTTER_VERSION
)/
544 define Download
/b43-common
545 FILE
:=$(PKG_B43_FWCUTTER_SOURCE
)
546 URL
:=$(PKG_B43_FWCUTTER_SOURCE_URL
)
547 MD5SUM
:=$(PKG_B43_FWCUTTER_MD5SUM
)
548 PROTO
:=$(PKG_B43_FWCUTTER_PROTO
)
549 VERSION
:=$(PKG_B43_FWCUTTER_VERSION
)
550 SUBDIR
:=$(PKG_B43_FWCUTTER_SUBDIR
)
552 $(eval
$(call Download
,b43-common
))
555 FILE
:=$(PKG_B43_FWV4_SOURCE
)
556 URL
:=$(PKG_B43_FWV4_SOURCE_URL
)
557 MD5SUM
:=$(PKG_B43_FWV4_MD5SUM
)
559 $(eval
$(call Download
,b43
))
561 define Download
/b43legacy
562 FILE
:=$(PKG_B43_FWV3_SOURCE
)
563 URL
:=$(PKG_B43_FWV3_SOURCE_URL
)
564 MD5SUM
:=$(PKG_B43_FWV3_MD5SUM
)
566 $(eval
$(call Download
,b43legacy
))
568 define KernelPackage
/b43-common
569 $(call KernelPackage
/mac80211
/Default
)
570 TITLE
:=Generic stuff for Broadcom wireless devices
571 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/b43
574 DEPENDS
+= +kmod-mac80211
+!(TARGET_brcm47xx||TARGET_brcm63xx
):kmod-ssb
577 define KernelPackage
/b43
578 $(call KernelPackage
/b43-common
)
579 TITLE
:=Broadcom
43xx wireless support
580 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/b43
/b43.
$(LINUX_KMOD_SUFFIX
)
581 AUTOLOAD
:=$(call AutoLoad
,30,b43
)
584 define KernelPackage
/b43
/config
585 source
"$(SOURCE)/Config.in.b43"
588 define KernelPackage
/b43
/description
589 Kernel module for Broadcom
43xx wireless support
(mac80211 stack
) new
592 define KernelPackage
/b43legacy
593 $(call KernelPackage
/b43-common
)
594 TITLE
:=Broadcom
43xx-legacy wireless support
595 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/b43legacy
/b43legacy.
$(LINUX_KMOD_SUFFIX
)
596 AUTOLOAD
:=$(call AutoLoad
,30,b43legacy
)
599 define KernelPackage
/b43legacy
/config
600 source
"$(SOURCE)/Config.in.b43legacy"
603 define KernelPackage
/b43legacy
/description
604 Kernel module for Broadcom
43xx-legacy wireless support
(mac80211 stack
) new
608 -I
$(PKG_BUILD_DIR
)/include \
609 $(foreach opt
,$(CONFOPTS
),-DCONFIG_
$(opt
)) \
610 $(if
$(CONFIG_PCI
),-DCONFIG_B43_PCI_AUTOSELECT
-DCONFIG_B43_PCICORE_AUTOSELECT
-DCONFIG_SSB_DRIVER_PCICORE_POSSIBLE
-DCONFIG_SSB_DRIVER_PCICORE
) \
611 $(if
$(CONFIG_PCI
),-DCONFIG_SSB_PCIHOST_POSSIBLE
-DCONFIG_SSB_PCIHOST
) \
612 $(if
$(CONFIG_PCI
),-DCONFIG_SSB_SPROM
) \
613 $(if
$(CONFIG_LEDS_TRIGGERS
), -DCONFIG_MAC80211_LEDS
-DCONFIG_LEDS_TRIGGERS
-DCONFIG_B43_LEDS
-DCONFIG_B43LEGACY_LEDS
-DCONFIG_AR9170_LEDS
) \
614 -DCONFIG_B43_HWRNG
-DCONFIG_B43LEGACY_HWRNG \
615 $(if
$(CONFIG_PACKAGE_MAC80211_DEBUGFS
),-DCONFIG_MAC80211_DEBUGFS
-DCONFIG_ATH9K_DEBUGFS
) \
616 $(if
$(CONFIG_PACKAGE_ATH_DEBUG
),-DCONFIG_ATH_DEBUG
) \
617 -D__CONFIG_MAC80211_RC_DEFAULT
=minstrel \
618 $(if
$(CONFIG_ATH_USER_REGD
),-DATH_USER_REGD
=1) \
619 $(if
$(CONFIG_PACKAGE_ATH9K_USE_MINSTREL
),-DATH9K_USE_MINSTREL
) \
620 $(if
$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS
),-DCONFIG_RT2X00_LIB_DEBUGFS
) \
621 $(if
$(NEED_RT2X00_LIB_HT
),-DCONFIG_RT2X00_LIB_HT
) \
622 $(if
$(NEED_RT2X00_LIB_CRYPTO
),-DCONFIG_RT2X00_LIB_CRYPTO
) \
623 $(if
$(NEED_RT2X00_LIB_FIRMWARE
),-DCONFIG_RT2X00_LIB_FIRMWARE
) \
624 $(if
$(NEED_RT2X00_LIB_LEDS
),-DCONFIG_RT2X00_LIB_LEDS
) \
625 $(if
$(CONFIG_PACKAGE_kmod-rt2x00-pci
),-DCONFIG_RT2X00_LIB_PCI
) \
626 $(if
$(CONFIG_PACKAGE_kmod-rt2x00-usb
),-DCONFIG_RT2X00_LIB_USB
) \
627 $(if
$(CONFIG_PACKAGE_kmod-rt2x00-soc
),-DCONFIG_RT2X00_LIB_SOC
) \
628 $(if
$(CONFIG_PCI_SUPPORT
),-DCONFIG_RT2800PCI_PCI
) \
629 $(if
$(CONFIG_TARGET_ramips
),-DCONFIG_RT2800PCI_SOC
) \
632 CROSS_COMPILE
="$(KERNEL_CROSS)" \
633 ARCH
="$(LINUX_KARCH)" \
634 EXTRA_CFLAGS
="$(BUILDFLAGS)" \
635 $(foreach opt
,$(CONFOPTS
),CONFIG_
$(opt
)=m
) \
636 CONFIG_MAC80211
=$(if
$(CONFIG_PACKAGE_kmod-mac80211
),m
) \
637 CONFIG_MAC80211_RC_PID
=y \
638 CONFIG_MAC80211_RC_MINSTREL
=y \
639 CONFIG_MAC80211_LEDS
=$(CONFIG_LEDS_TRIGGERS
) \
640 CONFIG_MAC80211_DEBUGFS
=$(if
$(CONFIG_PACKAGE_MAC80211_DEBUGFS
),y
) \
641 CONFIG_B43_PCMCIA
=n CONFIG_B43_PIO
=n \
642 CONFIG_B43_PCI_AUTOSELECT
=$(if
$(CONFIG_PCI
),y
) \
643 CONFIG_B43_PCICORE_AUTOSELECT
=$(if
$(CONFIG_PCI
),y
) \
644 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE
=$(if
$(CONFIG_PCI
),y
) \
645 CONFIG_SSB_DRIVER_PCICORE
=$(if
$(CONFIG_PCI
),y
) \
646 CONFIG_SSB_PCIHOST_POSSIBLE
=$(if
$(CONFIG_PCI
),y
) \
647 CONFIG_SSB_PCIHOST
=$(if
$(CONFIG_PCI
),y
) \
648 CONFIG_B43LEGACY_LEDS
=$(CONFIG_LEDS_TRIGGERS
) \
649 CONFIG_B43_LEDS
=$(CONFIG_LEDS_TRIGGERS
) \
650 CONFIG_B43_HWRNG
=$(if
$(CONFIG_HW_RANDOM
),y
) \
651 CONFIG_B43LEGACY_HWRNG
=$(if
$(CONFIG_HW_RANDOM
),y
) \
652 CONFIG_B43
=$(if
$(CONFIG_PACKAGE_kmod-b43
),m
) \
653 CONFIG_B43LEGACY
=$(if
$(CONFIG_PACKAGE_kmod-b43legacy
),m
) \
654 CONFIG_ATH_COMMON
=$(if
$(CONFIG_PACKAGE_kmod-ath
),m
) \
655 CONFIG_ATH_DEBUG
=$(if
$(CONFIG_PACKAGE_ATH_DEBUG
),y
) \
656 CONFIG_ATH5K
=$(if
$(CONFIG_PACKAGE_kmod-ath5k
),m
) \
657 CONFIG_ATH9K
=$(if
$(CONFIG_PACKAGE_kmod-ath9k
),m
) \
658 CONFIG_ATH9K_DEBUGFS
=$(if
$(CONFIG_PACKAGE_MAC80211_DEBUGFS
),y
) \
659 CONFIG_ZD1211RW
=$(if
$(CONFIG_PACKAGE_kmod-zd1211rw
),m
) \
660 CONFIG_P54_COMMON
=$(if
$(CONFIG_PACKAGE_kmod-p54-common
),m
) \
661 CONFIG_P54_PCI
=$(if
$(CONFIG_PACKAGE_kmod-p54-pci
),m
) \
662 CONFIG_P54_USB
=$(if
$(CONFIG_PACKAGE_kmod-p54-usb
),m
) \
664 CONFIG_RT2X00
=$(if
$(CONFIG_PACKAGE_kmod-rt2x00-lib
),m
) \
665 CONFIG_RT2X00_LIB
=$(if
$(CONFIG_PACKAGE_kmod-rt2x00-lib
),m
) \
666 CONFIG_RT2X00_LIB_PCI
=$(if
$(CONFIG_PACKAGE_kmod-rt2x00-pci
),m
) \
667 CONFIG_RT2X00_LIB_USB
=$(if
$(CONFIG_PACKAGE_kmod-rt2x00-usb
),m
) \
668 CONFIG_RT2X00_LIB_SOC
=$(if
$(CONFIG_PACKAGE_kmod-rt2x00-soc
),m
) \
669 CONFIG_RT2X00_LIB_DEBUGFS
=$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS
) \
670 CONFIG_RT2X00_LIB_CRYPTO
=$(NEED_RT2X00_LIB_CRYPTO
) \
671 CONFIG_RT2X00_LIB_FIRMWARE
=$(NEED_RT2X00_LIB_FIRMWARE
) \
672 CONFIG_RT2X00_LIB_HT
=$(NEED_RT2X00_LIB_HT
) \
673 CONFIG_RT2X00_LIB_LEDS
=$(NEED_RT2X00_LIB_LEDS
) \
674 CONFIG_RT2400PCI
=$(if
$(CONFIG_PACKAGE_kmod-rt2400-pci
),m
) \
675 CONFIG_RT2500PCI
=$(if
$(CONFIG_PACKAGE_kmod-rt2500-pci
),m
) \
676 CONFIG_RT2500USB
=$(if
$(CONFIG_PACKAGE_kmod-rt2500-usb
),m
) \
677 CONFIG_RT61PCI
=$(if
$(CONFIG_PACKAGE_kmod-rt61-pci
),m
) \
678 CONFIG_RT73USB
=$(if
$(CONFIG_PACKAGE_kmod-rt73-usb
),m
) \
679 CONFIG_RT2800_LIB
=$(if
$(CONFIG_PACKAGE_kmod-rt2800-lib
),m
) \
680 CONFIG_RT2800PCI
=$(if
$(CONFIG_PACKAGE_kmod-rt2800-pci
),m
) \
681 CONFIG_RT2800PCI_PCI
=$(if
$(CONFIG_PCI_SUPPORT
),y
) \
682 CONFIG_RT2800PCI_SOC
=$(if
$(CONFIG_TARGET_ramips
),y
) \
683 CONFIG_RT2800USB
=$(if
$(CONFIG_PACKAGE_kmod-rt2800-usb
),m
) \
684 CONFIG_RTL8180
=$(if
$(CONFIG_PACKAGE_kmod-rtl8180
),m
) \
685 CONFIG_RTL8187
=$(if
$(CONFIG_PACKAGE_kmod-rtl8187
),m
) \
686 CONFIG_MAC80211_HWSIM
=$(if
$(CONFIG_PACKAGE_kmod-mac80211-hwsim
),m
) \
688 CONFIG_LIBIPW
=$(if
$(CONFIG_PACKAGE_kmod-net-libipw
),m
) \
689 CONFIG_LIBERTAS
=$(if
$(CONFIG_PACKAGE_kmod-libertas
),m
) \
690 CONFIG_LIBERTAS_CS
= \
691 CONFIG_LIBERTAS_SDIO
= \
692 CONFIG_LIBERTAS_THINFIRM
= \
693 CONFIG_LIBERTAS_USB
=$(if
$(CONFIG_PACKAGE_kmod-libertas
),m
) \
694 CONFIG_IPW2100
=$(if
$(CONFIG_PACKAGE_kmod-net-ipw2100
),m
) \
695 CONFIG_IPW2200
=$(if
$(CONFIG_PACKAGE_kmod-net-ipw2200
),m
) \
698 CONFIG_LIB80211_CRYPT_WEP
= \
699 CONFIG_LIB80211_CRYPT_CCMP
= \
700 CONFIG_LIB80211_CRYPT_TKIP
= \
705 CONFIG_PCMCIA_ATMEL
= \
707 CONFIG_USB_NET_RNDIS_HOST
= \
708 CONFIG_USB_NET_RNDIS_WLAN
= \
709 CONFIG_USB_NET_CDCETHER
= \
711 CONFIG_AT76C50X_USB
= \
713 CONFIG_EEPROM_93CX6
= \
715 CONFIG_AR9170_USB
=$(if
$(CONFIG_PACKAGE_kmod-ar9170
),m
) \
716 CONFIG_AR9170_LEDS
=$(CONFIG_LEDS_TRIGGERS
) \
721 KLIB_BUILD
="$(LINUX_DIR)" \
723 KLIB
=$(TARGET_MODULES_DIR
) \
724 KERNEL_SUBLEVEL
=$(lastword
$(subst .
, ,$(KERNEL_PATCHVER
)))
727 rm -rf
$(PKG_BUILD_DIR
)
728 mkdir
-p
$(PKG_BUILD_DIR
)
731 unzip
-jod
$(PKG_BUILD_DIR
) $(DL_DIR
)/$(RT61FW
)
732 unzip
-jod
$(PKG_BUILD_DIR
) $(DL_DIR
)/$(RT71FW
)
733 -unzip
-jod
$(PKG_BUILD_DIR
) $(DL_DIR
)/$(RT2860FW
)
734 -unzip
-jod
$(PKG_BUILD_DIR
) $(DL_DIR
)/$(RT2870FW
)
735 $(TAR
) -C
$(PKG_BUILD_DIR
) -xzf
$(DL_DIR
)/$(IPW2100_NAME
)-$(IPW2100_VERSION
).tgz
736 $(TAR
) -C
$(PKG_BUILD_DIR
) -xzf
$(DL_DIR
)/$(IPW2200_NAME
)-$(IPW2200_VERSION
).tgz
737 $(TAR
) -C
$(PKG_BUILD_DIR
) -xjf
$(DL_DIR
)/$(ZD1211FW_NAME
)-$(ZD1211FW_VERSION
).
tar.bz2
738 rm -rf
$(PKG_BUILD_DIR
)/include/linux
/ssb
739 rm -f
$(PKG_BUILD_DIR
)/include/net
/ieee80211.h
740 rm $(PKG_BUILD_DIR
)/include/linux
/eeprom_93cx6.h
743 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211
),)
744 define Build
/Compile
/kmod
745 rm -rf
$(PKG_BUILD_DIR
)/modules
746 $(MAKE
) -C
"$(PKG_BUILD_DIR)" $(MAKE_OPTS
) all
751 $(call Build
/Compile
/kmod
)
754 define Build
/InstallDev
756 $(1)/usr
/include/mac80211 \
757 $(1)/usr
/include/mac80211
/ath \
758 $(1)/usr
/include/net
/mac80211
759 $(CP
) $(PKG_BUILD_DIR
)/net
/mac80211
/*.h
$(PKG_BUILD_DIR
)/include/* $(1)/usr
/include/mac80211
/
760 $(CP
) $(PKG_BUILD_DIR
)/net
/mac80211
/rate.h
$(1)/usr
/include/net
/mac80211
/
761 $(CP
) $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/*.h
$(1)/usr
/include/mac80211
/ath
/
764 define KernelPackage
/libertas
/install
765 $(INSTALL_DIR
) $(1)/lib
/firmware
766 $(INSTALL_DATA
) $(DL_DIR
)/$(USB8388FW_NAME
)-$(USB8388FW_VERSION
).bin
$(1)/lib
/firmware
/$(USB8388FW_NAME
).bin
769 define KernelPackage
/cfg80211
/install
770 $(INSTALL_DIR
) $(1)/lib
/wifi
771 $(INSTALL_DATA
) .
/files
/lib
/wifi
/mac80211.sh
$(1)/lib
/wifi
774 define KernelPackage
/p54-pci
/install
775 $(INSTALL_DIR
) $(1)/lib
/firmware
776 $(INSTALL_DATA
) $(DL_DIR
)/$(P54PCIFW
) $(1)/lib
/firmware
/isl3886pci
779 define KernelPackage
/p54-usb
/install
780 $(INSTALL_DIR
) $(1)/lib
/firmware
781 $(INSTALL_DATA
) $(DL_DIR
)/$(P54USBFW
) $(1)/lib
/firmware
/isl3887usb
784 define KernelPackage
/rt61-pci
/install
785 $(INSTALL_DIR
) $(1)/lib
/firmware
786 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/rt2?
61*.bin
$(1)/lib
/firmware
/
789 define KernelPackage
/rt73-usb
/install
790 $(INSTALL_DIR
) $(1)/lib
/firmware
791 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/rt73.bin
$(1)/lib
/firmware
/
794 define KernelPackage
/rt2800-pci
/install
795 $(INSTALL_DIR
) $(1)/lib
/firmware
796 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/rt2860.bin
$(1)/lib
/firmware
/
799 define KernelPackage
/rt2800-usb
/install
800 $(INSTALL_DIR
) $(1)/lib
/firmware
801 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/rt2870.bin
$(1)/lib
/firmware
/
804 define KernelPackage
/zd1211rw
/install
805 $(INSTALL_DIR
) $(1)/lib
/firmware
/zd1211
806 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(ZD1211FW_NAME
)/zd1211
* $(1)/lib
/firmware
/zd1211
809 define KernelPackage
/ar9170
/install
810 $(INSTALL_DIR
) $(1)/lib
/firmware
811 $(INSTALL_DATA
) $(DL_DIR
)/$(AR9170FW
) $(1)/lib
/firmware
/
814 define KernelPackage
/net-ipw2100
/install
815 $(INSTALL_DIR
) $(1)/lib
/firmware
816 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/ipw2100-
$(IPW2100_VERSION
)*.fw
$(1)/lib
/firmware
819 define KernelPackage
/net-ipw2200
/install
820 $(INSTALL_DIR
) $(1)/lib
/firmware
821 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(IPW2200_NAME
)-$(IPW2200_VERSION
)/ipw2200
*.fw
$(1)/lib
/firmware
824 define Build
/b43-common
825 tar xjf
"$(DL_DIR)/$(PKG_B43_FWCUTTER_SOURCE)" -C
"$(PKG_BUILD_DIR)"
826 $(MAKE
) -C
"$(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_OBJECT)" \
827 CFLAGS
="-I$(STAGING_DIR_HOST)/include -include endian.h"
828 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_B43_FWCUTTER_OBJECT
)/b43-fwcutter
$(STAGING_DIR_HOST
)/bin
/
829 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
830 $(INSTALL_DIR
) $(STAGING_DIR_HOST
)/bin
/
831 $(MAKE
) -C
"$(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_SUBDIR)/assembler/"
832 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_B43_FWCUTTER_SUBDIR
)/assembler
/b43-asm
$(STAGING_DIR_HOST
)/bin
/
833 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_B43_FWCUTTER_SUBDIR
)/assembler
/b43-asm.bin
$(STAGING_DIR_HOST
)/bin
/
835 $(INSTALL_BIN
) .
/files
/host_bin
/b43-fwsquash.py
$(STAGING_DIR_HOST
)/bin
/
838 define KernelPackage
/b43
/install
839 rm -rf
$(1)/lib
/firmware
/
840 $(call Build
/b43-common
)
841 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
842 tar xzf
"$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C
"$(PKG_BUILD_DIR)"
844 tar xjf
"$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C
"$(PKG_BUILD_DIR)"
846 $(INSTALL_DIR
) $(1)/lib
/firmware
/
847 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
848 $(MAKE
) -C
"$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
849 $(INSTALL_DIR
) $(1)/lib
/firmware
/b43-open
/
850 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_B43_FWV4_OBJECT
)/ucode5.fw
$(1)/lib
/firmware
/b43-open
/ucode5.fw
851 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_B43_FWV4_OBJECT
)/b0g0bsinitvals5.fw
$(1)/lib
/firmware
/b43-open
/b0g0bsinitvals5.fw
852 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_B43_FWV4_OBJECT
)/b0g0initvals5.fw
$(1)/lib
/firmware
/b43-open
/b0g0initvals5.fw
854 b43-fwcutter
--unsupported
-w
$(1)/lib
/firmware
/ $(PKG_BUILD_DIR
)/$(PKG_B43_FWV4_OBJECT
)
856 ifneq ($(CONFIG_B43_FW_SQUASH
),)
857 b43-fwsquash.py
"$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
861 define KernelPackage
/b43legacy
/install
862 $(call Build
/b43-common
)
863 $(INSTALL_DIR
) $(1)/lib
/firmware
/
865 b43-fwcutter
--unsupported
-w
$(1)/lib
/firmware
/ $(DL_DIR
)/$(PKG_B43_FWV3_SOURCE
)
866 ifneq ($(CONFIG_B43LEGACY_FW_SQUASH
),)
867 b43-fwsquash.py
"G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy"
871 $(eval
$(call KernelPackage
,ath5k
))
872 $(eval
$(call KernelPackage
,libertas
))
873 $(eval
$(call KernelPackage
,cfg80211
))
874 $(eval
$(call KernelPackage
,mac80211
))
875 $(eval
$(call KernelPackage
,p54-common
))
876 $(eval
$(call KernelPackage
,p54-pci
))
877 $(eval
$(call KernelPackage
,p54-usb
))
878 $(eval
$(call KernelPackage
,rt2x00-lib
))
879 $(eval
$(call KernelPackage
,rt2x00-pci
))
880 $(eval
$(call KernelPackage
,rt2x00-usb
))
881 $(eval
$(call KernelPackage
,rt2x00-soc
))
882 $(eval
$(call KernelPackage
,rt2800-lib
))
883 $(eval
$(call KernelPackage
,rt2400-pci
))
884 $(eval
$(call KernelPackage
,rt2500-pci
))
885 $(eval
$(call KernelPackage
,rt2500-usb
))
886 $(eval
$(call KernelPackage
,rt61-pci
))
887 $(eval
$(call KernelPackage
,rt73-usb
))
888 $(eval
$(call KernelPackage
,rt2800-pci
))
889 $(eval
$(call KernelPackage
,rt2800-usb
))
890 $(eval
$(call KernelPackage
,rtl8180
))
891 $(eval
$(call KernelPackage
,rtl8187
))
892 $(eval
$(call KernelPackage
,zd1211rw
))
893 $(eval
$(call KernelPackage
,mac80211-hwsim
))
894 $(eval
$(call KernelPackage
,ath9k
))
895 $(eval
$(call KernelPackage
,ath
))
896 $(eval
$(call KernelPackage
,ar9170
))
897 $(eval
$(call KernelPackage
,b43
))
898 $(eval
$(call KernelPackage
,b43legacy
))
899 $(eval
$(call KernelPackage
,net-libipw
))
900 $(eval
$(call KernelPackage
,net-ipw2100
))
901 $(eval
$(call KernelPackage
,net-ipw2200
))