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