0448f0063a6ac1096ef810a8a81f4f39f2425120
[openwrt/svn-archive/archive.git] / package / mac80211 / Makefile
1 #
2 # Copyright (C) 2007-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=mac80211
12 PKG_RELEASE:=2
13
14 ifneq ($(CONFIG_LINUX_2_6_27)$(CONFIG_LINUX_2_6_28),)
15 PKG_VERSION:=2009-01-29
16 PKG_SOURCE_URL:= \
17 http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/01 \
18 http://wireless.kernel.org/download/compat-wireless-2.6
19 PKG_MD5SUM:=7ad466fd68967de744ab41caddff10d9
20 else
21 PKG_VERSION:=2008-08-06
22 PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08
23 PKG_MD5SUM:=9563ceeed86bca0859ad5f010623277c
24 PATCH_DIR:=./patches-old
25 endif
26
27 PKG_SOURCE:=compat-wireless-$(PKG_VERSION).tar.bz2
28 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
29
30 include $(INCLUDE_DIR)/package.mk
31 STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_kmod-mac80211)
32
33 WMENU:=Wireless Drivers
34
35 define KernelPackage/mac80211/Default
36 SUBMENU:=$(WMENU)
37 URL:=http://linuxwireless.org/
38 DEPENDS:=@LINUX_2_6 @!TARGET_avr32
39 endef
40
41 define KernelPackage/mac80211
42 $(call KernelPackage/mac80211/Default)
43 TITLE:=Linux 802.11 Wireless Networking Stack
44 DEPENDS+= +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools
45 FILES:= \
46 $(PKG_BUILD_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
47 $(PKG_BUILD_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX)
48 AUTOLOAD:=$(call AutoLoad,20,cfg80211 mac80211)
49 endef
50
51 define KernelPackage/mac80211/description
52 Linux 802.11 Wireless Networking Stack
53 endef
54
55 # Prism54 drivers
56 P54FW:=2.7.0.0.arm
57
58 define Download/p54
59 FILE:=$(P54FW)
60 URL:=http://prism54.org/firmware
61 MD5SUM:=09f9da7ea757173c9de1a0322a1f9782
62 endef
63 $(eval $(call Download,p54))
64
65 define KernelPackage/p54/Default
66 $(call KernelPackage/mac80211/Default)
67 TITLE:=Prism54 Drivers
68 endef
69
70 define KernelPackage/p54/description
71 Kernel module for Prism54 chipsets (mac80211)
72 endef
73
74 define KernelPackage/p54-common
75 $(call KernelPackage/p54/Default)
76 DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT
77 TITLE+= (COMMON)
78 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54common.$(LINUX_KMOD_SUFFIX)
79 AUTOLOAD:=$(call AutoLoad,30,p54common)
80 endef
81
82 define KernelPackage/p54-pci
83 $(call KernelPackage/p54/Default)
84 TITLE+= (PCI)
85 DEPENDS+= @PCI_SUPPORT +kmod-p54-common
86 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54pci.$(LINUX_KMOD_SUFFIX)
87 AUTOLOAD:=$(call AutoLoad,31,p54pci)
88 endef
89
90 define KernelPackage/p54-usb
91 $(call KernelPackage/p54/Default)
92 TITLE+= (USB)
93 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common
94 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54usb.$(LINUX_KMOD_SUFFIX)
95 AUTOLOAD:=$(call AutoLoad,31,p54usb)
96 endef
97
98 # Ralink rt2x00 drivers
99 RT61FW:=RT61_Firmware_V1.2.zip
100 RT71FW:=RT71W_Firmware_V1.8.zip
101 RT2860FW:=RT2860_Firmware_V11.zip
102
103 define Download/rt61
104 FILE:=$(RT61FW)
105 URL:=http://www.ralinktech.com.tw/data/
106 MD5SUM:=d4c690c93b470bc9a681297c2adc6281
107 endef
108 $(eval $(call Download,rt61))
109
110 define Download/rt71w
111 FILE:=$(RT71FW)
112 URL:=http://www.ralinktech.com.tw/data/
113 MD5SUM:=1e7a5dc574e0268574fcda3fd5cf52f7
114 endef
115 $(eval $(call Download,rt71w))
116
117 define Download/rt2860
118 FILE:=$(RT2860FW)
119 URL:=http://www.ralinktech.com.tw/data/drivers
120 MD5SUM:=440a81756a52c53528f16faa41c40124
121 endef
122 $(eval $(call Download,rt2860))
123
124 define KernelPackage/rt2x00/Default
125 $(call KernelPackage/mac80211/Default)
126 TITLE:=Ralink Drivers for RT2x00 cards
127 endef
128
129 define KernelPackage/rt2x00-lib
130 $(call KernelPackage/rt2x00/Default)
131 DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT +kmod-mac80211 +kmod-crc-itu-t
132 TITLE+= (LIB)
133 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00lib.$(LINUX_KMOD_SUFFIX)
134 AUTOLOAD:=$(call AutoLoad,25,blkcipher ecb arc4 rt2x00lib)
135 endef
136
137 define KernelPackage/rt2x00-pci
138 $(call KernelPackage/rt2x00/Default)
139 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-lib +kmod-eeprom-93cx6
140 TITLE+= (PCI)
141 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.$(LINUX_KMOD_SUFFIX)
142 AUTOLOAD:=$(call AutoLoad,26,rt2x00pci)
143 endef
144
145 define KernelPackage/rt2x00-usb
146 $(call KernelPackage/rt2x00/Default)
147 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
148 TITLE+= (USB)
149 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00usb.$(LINUX_KMOD_SUFFIX)
150 AUTOLOAD:=$(call AutoLoad,26,rt2x00usb)
151 endef
152
153 define KernelPackage/rt2400-pci
154 $(call KernelPackage/rt2x00/Default)
155 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
156 TITLE+= (RT2400 PCI)
157 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2400pci.$(LINUX_KMOD_SUFFIX)
158 AUTOLOAD:=$(call AutoLoad,27,rt2400pci)
159 endef
160
161 define KernelPackage/rt2500-pci
162 $(call KernelPackage/rt2x00/Default)
163 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
164 TITLE+= (RT2500 PCI)
165 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500pci.$(LINUX_KMOD_SUFFIX)
166 AUTOLOAD:=$(call AutoLoad,27,rt2500pci)
167 endef
168
169 define KernelPackage/rt2500-usb
170 $(call KernelPackage/rt2x00/Default)
171 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
172 TITLE+= (RT2500 USB)
173 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500usb.$(LINUX_KMOD_SUFFIX)
174 AUTOLOAD:=$(call AutoLoad,27,rt2500usb)
175 endef
176
177 define KernelPackage/rt61-pci
178 $(call KernelPackage/rt2x00/Default)
179 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
180 TITLE+= (RT2x61 PCI)
181 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt61pci.$(LINUX_KMOD_SUFFIX)
182 AUTOLOAD:=$(call AutoLoad,27,rt61pci)
183 endef
184
185 define KernelPackage/rt73-usb
186 $(call KernelPackage/rt2x00/Default)
187 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
188 TITLE+= (RT73 USB)
189 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt73usb.$(LINUX_KMOD_SUFFIX)
190 AUTOLOAD:=$(call AutoLoad,27,rt73usb)
191 endef
192
193 define KernelPackage/rt2800-pci
194 $(call KernelPackage/rt2x00/Default)
195 DEPENDS+= +kmod-rt2x00-pci @LINUX_2_6_27||@LINUX_2_6_28
196 TITLE+= (RT2860 PCI)
197 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800pci.$(LINUX_KMOD_SUFFIX)
198 AUTOLOAD:=$(call AutoLoad,27,rt2800pci)
199 endef
200
201 define KernelPackage/rt2800-usb
202 $(call KernelPackage/rt2x00/Default)
203 DEPENDS+= +kmod-rt2x00-usb @LINUX_2_6_27||@LINUX_2_6_28
204 TITLE+= (RT2870 USB)
205 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800usb.$(LINUX_KMOD_SUFFIX)
206 AUTOLOAD:=$(call AutoLoad,27,rt2800usb)
207 endef
208
209 ZD1211FW_NAME:=zd1211-firmware
210 ZD1211FW_VERSION:=1.4
211 define Download/zd1211rw
212 FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
213 URL:=@SF/zd1211/
214 MD5SUM:=19f28781d76569af8551c9d11294c870
215 endef
216 $(eval $(call Download,zd1211rw))
217
218 define KernelPackage/zd1211rw
219 $(call KernelPackage/mac80211/Default)
220 TITLE:=Zydas ZD1211 support
221 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
222 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zd1211rw/zd1211rw.$(LINUX_KMOD_SUFFIX)
223 AUTOLOAD:=$(call AutoLoad,60,zd1211rw)
224 endef
225
226 define KernelPackage/ath5k
227 $(call KernelPackage/mac80211/Default)
228 TITLE:=Atheros 5xxx wireless cards support
229 URL:=http://linuxwireless.org/en/users/Drivers/ath5k
230 DEPENDS+= @PCI_SUPPORT +kmod-mac80211
231 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath5k/ath5k.$(LINUX_KMOD_SUFFIX)
232 AUTOLOAD:=$(call AutoLoad,27,ath5k)
233 endef
234
235 define KernelPackage/ath5k/description
236 This module adds support for wireless adapters based on
237 Atheros 5xxx chipset.
238 endef
239
240 define KernelPackage/ath9k
241 $(call KernelPackage/mac80211/Default)
242 TITLE:=Atheros 802.11n wireless cards support
243 URL:=http://linuxwireless.org/en/users/Drivers/ath9k
244 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 @LINUX_2_6_27||@LINUX_2_6_28
245 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath9k/ath9k.$(LINUX_KMOD_SUFFIX)
246 AUTOLOAD:=$(call AutoLoad,27,ath9k)
247 endef
248
249 define KernelPackage/ath9k/description
250 This module adds support for wireless adapters based on
251 Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
252 endef
253
254 define KernelPackage/mac80211-hwsim
255 $(call KernelPackage/mac80211/Default)
256 TITLE:=mac80211 HW simulation device
257 DEPENDS+= +kmod-mac80211
258 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.$(LINUX_KMOD_SUFFIX)
259 AUTOLOAD:=$(call AutoLoad,60,mac80211_hwsim)
260 endef
261
262 #Broadcom firmware
263 PKG_B43_FWV4_NAME:=broadcom-wl
264 PKG_B43_FWV4_VERSION:=4.150.10.5
265 PKG_B43_FWV4_OBJECT:=driver/wl_apsta_mimo.o
266 PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
267 PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
268 PKG_B43_FWV4_MD5SUM:=0c6ba9687114c6b598e8019e262d9a60
269
270 PKG_B43_FWV3_NAME:=wl_apsta
271 PKG_B43_FWV3_VERSION:=3.130.20.0
272 PKG_B43_FWV3_SOURCE:=$(PKG_B43_FWV3_NAME)-$(PKG_B43_FWV3_VERSION).o
273 PKG_B43_FWV3_SOURCE_URL:=http://downloads.openwrt.org/sources/
274 PKG_B43_FWV3_MD5SUM:=e08665c5c5b66beb9c3b2dd54aa80cb3
275
276 PKG_B43_FWCUTTER_NAME:=b43-fwcutter
277 PKG_B43_FWCUTTER_VERSION:=011
278 PKG_B43_FWCUTTER_SOURCE:=$(PKG_B43_FWCUTTER_NAME)-$(PKG_B43_FWCUTTER_VERSION).tar.bz2
279 PKG_B43_FWCUTTER_SOURCE_URL:=http://bu3sch.de/b43/fwcutter/
280 PKG_B43_FWCUTTER_MD5SUM:=3db2f4de85a459451f5b391cf67a8d44
281
282 define Download/b43-common
283 FILE:=$(PKG_B43_FWCUTTER_SOURCE)
284 URL:=$(PKG_B43_FWCUTTER_SOURCE_URL)
285 MD5SUM:=$(PKG_B43_FWCUTTER_MD5SUM)
286 endef
287 $(eval $(call Download,b43-common))
288
289 define Download/b43
290 FILE:=$(PKG_B43_FWV4_SOURCE)
291 URL:=$(PKG_B43_FWV4_SOURCE_URL)
292 MD5SUM:=$(PKG_B43_FWV4_MD5SUM)
293 endef
294 $(eval $(call Download,b43))
295
296 define Download/b43legacy
297 FILE:=$(PKG_B43_FWV3_SOURCE)
298 URL:=$(PKG_B43_FWV3_SOURCE_URL)
299 MD5SUM:=$(PKG_B43_FWV3_MD5SUM)
300 endef
301 $(eval $(call Download,b43legacy))
302
303 define KernelPackage/b43-common
304 $(call KernelPackage/mac80211/Default)
305 TITLE:=Generic stuff for Broadcom wireless devices
306 URL:=http://linuxwireless.org/en/users/Drivers/b43
307 DEPENDS+= +kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb @TARGET_brcm47xx||@TARGET_brcm63xx @LINUX_2_6_25||@LINUX_2_6_26||@LINUX_2_6_27||@LINUX_2_6_28
308 endef
309
310 define KernelPackage/b43
311 $(call KernelPackage/b43-common)
312 TITLE:=Broadcom 43xx wireless support
313 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43/b43.$(LINUX_KMOD_SUFFIX)
314 AUTOLOAD:=$(call AutoLoad,30,b43)
315 endef
316
317 define KernelPackage/b43/description
318 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
319 endef
320
321 define KernelPackage/b43legacy
322 $(call KernelPackage/b43-common)
323 TITLE:=Broadcom 43xx-legacy wireless support
324 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.$(LINUX_KMOD_SUFFIX)
325 AUTOLOAD:=$(call AutoLoad,30,b43legacy)
326 endef
327
328 define KernelPackage/b43legacy/description
329 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
330 endef
331
332 BUILDFLAGS:= \
333 -I$(PKG_BUILD_DIR)/include \
334 $(foreach opt,$(CONFOPTS),-DCONFIG_$(opt)) \
335 $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS) \
336 $(if $(CONFIG_RFKILL),-DCONFIG_B43_RFKILL -DCONFIG_B43LEGACY_RFKILL) \
337 $(if $(CONFIG_PCMCIA),-DCONFIG_B43_PCMCIA) \
338 $(if $(CONFIG_DEBUG_FS), -DCONFIG_MAC80211_DEBUGFS) \
339 -D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
340
341 MAKE_OPTS:= \
342 CROSS_COMPILE="$(TARGET_CROSS)" \
343 ARCH="$(LINUX_KARCH)" \
344 EXTRA_CFLAGS="$(BUILDFLAGS)" \
345 $(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
346 CONFIG_NL80211=y \
347 CONFIG_MAC80211_RC_PID=y \
348 CONFIG_MAC80211_RC_MINSTREL=y \
349 CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS) \
350 CONFIG_MAC80211_DEBUGFS=$(CONFIG_DEBUG_FS) \
351 CONFIG_B43_PCMCIA=$(CONFIG_PCMCIA) \
352 CONFIG_B43_RFKILL=$(CONFIG_RFKILL) \
353 CONFIG_B43LEGACY_RFKILL=$(CONFIG_RFKILL) \
354 CONFIG_B43LEGACY_LEDS=$(CONFIG_LEDS_TRIGGERS) \
355 CONFIG_B43_LEDS=$(CONFIG_LEDS_TRIGGERS) \
356 $(if $(CONFIG_PACKAGE_kmod-b43),CONFIG_B43=m) \
357 $(if $(CONFIG_PACKAGE_kmod-b43legacy),CONFIG_B43LEGACY=m) \
358 KLIB_BUILD="$(LINUX_DIR)" \
359 MODPROBE=:
360
361 define Build/Prepare
362 rm -rf $(PKG_BUILD_DIR)
363 mkdir -p $(PKG_BUILD_DIR)
364 $(PKG_UNPACK)
365 $(Build/Patch)
366 $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
367 unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT61FW)
368 unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT71FW)
369 -unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT2860FW)
370 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
371 rm -rf $(PKG_BUILD_DIR)/include/linux/ssb
372 rm $(PKG_BUILD_DIR)/include/net/ieee80211.h
373 rm $(PKG_BUILD_DIR)/include/net/ieee80211_radiotap.h
374 rm $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h
375 endef
376
377 ifneq ($(CONFIG_PACKAGE_kmod-mac80211),)
378 define Build/Compile/kmod
379 $(MAKE) -C "$(PKG_BUILD_DIR)" $(MAKE_OPTS) all
380 endef
381 endif
382
383 define Build/Compile
384 $(call Build/Compile/kmod)
385 endef
386
387 define Build/InstallDev
388 mkdir -p $(1)/usr/include/mac80211 $(1)/usr/include/net/mac80211
389 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
390 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
391 endef
392
393 define KernelPackage/mac80211/install
394 $(INSTALL_DIR) $(1)/lib/wifi
395 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
396 endef
397
398 define KernelPackage/p54-common/install
399 $(INSTALL_DIR) $(1)/lib/firmware
400 $(INSTALL_DATA) $(DL_DIR)/$(P54FW) $(1)/lib/firmware/isl3886
401 endef
402
403 define KernelPackage/rt61-pci/install
404 $(INSTALL_DIR) $(1)/lib/firmware
405 $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt2?61*.bin $(1)/lib/firmware/
406 endef
407
408 define KernelPackage/rt73-usb/install
409 $(INSTALL_DIR) $(1)/lib/firmware
410 $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt73.bin $(1)/lib/firmware/
411 endef
412
413 define KernelPackage/rt2800-pci/install
414 $(INSTALL_DIR) $(1)/lib/firmware
415 $(INSTALL_DATA) $(PKG_BUILD_DIR)/rt2860.bin $(1)/lib/firmware/
416 endef
417
418 define KernelPackage/zd1211rw/install
419 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
420 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
421 endef
422
423 define Build/b43-common
424 tar xjf "$(DL_DIR)/$(PKG_B43_FWCUTTER_SOURCE)" -C "$(PKG_BUILD_DIR)"
425 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_NAME)-$(PKG_B43_FWCUTTER_VERSION)" \
426 CFLAGS="-I$(STAGING_DIR_HOST)/include -include endian.h"
427 endef
428
429 define KernelPackage/b43/install
430 $(call Build/b43-common)
431 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
432 $(INSTALL_DIR) $(1)/lib/firmware/
433
434 $(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_NAME)-$(PKG_B43_FWCUTTER_VERSION)/b43-fwcutter \
435 -w $(1)/lib/firmware/ \
436 $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/$(PKG_B43_FWV4_OBJECT)
437 endef
438
439 define KernelPackage/b43legacy/install
440 $(call Build/b43-common)
441 $(INSTALL_DIR) $(1)/lib/firmware/
442
443 $(PKG_BUILD_DIR)/$(PKG_B43_FWCUTTER_NAME)-$(PKG_B43_FWCUTTER_VERSION)/b43-fwcutter \
444 -w $(1)/lib/firmware/ \
445 $(DL_DIR)/$(PKG_B43_FWV3_SOURCE)
446 endef
447
448 $(eval $(call KernelPackage,ath5k))
449 $(eval $(call KernelPackage,mac80211))
450 $(eval $(call KernelPackage,p54-common))
451 $(eval $(call KernelPackage,p54-pci))
452 $(eval $(call KernelPackage,p54-usb))
453 $(eval $(call KernelPackage,rt2x00-lib))
454 $(eval $(call KernelPackage,rt2x00-pci))
455 $(eval $(call KernelPackage,rt2x00-usb))
456 $(eval $(call KernelPackage,rt2400-pci))
457 $(eval $(call KernelPackage,rt2500-pci))
458 $(eval $(call KernelPackage,rt2500-usb))
459 $(eval $(call KernelPackage,rt61-pci))
460 $(eval $(call KernelPackage,rt73-usb))
461 $(eval $(call KernelPackage,rt2800-pci))
462 $(eval $(call KernelPackage,rt2800-usb))
463 $(eval $(call KernelPackage,zd1211rw))
464 $(eval $(call KernelPackage,mac80211-hwsim))
465 $(eval $(call KernelPackage,ath9k))
466 $(eval $(call KernelPackage,b43))
467 $(eval $(call KernelPackage,b43legacy))