blob: 4939ca67c6b024ee786b47b7208a59b5e78736bb [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Firmware files for use with Linux kernel"
2SECTION = "kernel"
3
4LICENSE = "\
5 Firmware-Abilis \
6 & Firmware-agere \
7 & Firmware-amd-ucode \
8 & Firmware-atheros_firmware \
9 & Firmware-broadcom_bcm43xx \
10 & Firmware-ca0132 \
11 & Firmware-chelsio_firmware \
12 & Firmware-cw1200 \
13 & Firmware-dib0700 \
14 & Firmware-ene_firmware \
15 & Firmware-fw_sst_0f28 \
16 & Firmware-go7007 \
17 & Firmware-i2400m \
18 & Firmware-ibt_firmware \
19 & Firmware-it913x \
20 & Firmware-iwlwifi_firmware \
21 & Firmware-IntcSST2 \
22 & Firmware-Marvell \
23 & Firmware-mwl8335 \
24 & Firmware-myri10ge_firmware \
25 & Firmware-OLPC \
26 & Firmware-phanfw \
27 & Firmware-qat_dh895xcc_firmware \
28 & Firmware-qla2xxx \
29 & Firmware-r8a779x_usb3 \
30 & Firmware-radeon \
31 & Firmware-ralink_a_mediatek_company_firmware \
32 & Firmware-ralink-firmware \
33 & Firmware-rtlwifi_firmware \
34 & Firmware-tda7706-firmware \
35 & Firmware-ti-connectivity \
36 & Firmware-ueagle-atm4-firmware \
37 & Firmware-via_vt6656 \
38 & Firmware-wl1251 \
39 & Firmware-xc4000 \
40 & Firmware-xc5000 \
41 & Firmware-xc5000c \
42 & Firmware-siano \
43"
44
45LIC_FILES_CHKSUM = "\
46 file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
47 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
48 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
49 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
50 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
51 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
52 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
53 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
54 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
55 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
56 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
57 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
58 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
59 file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
60 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
61 file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
62 file://LICENCE.mwl8335;md5=9a6271ee0e644404b2ff3c61fd070983 \
63 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
64 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
65 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
66 file://LICENCE.qat_dh895xcc_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
67 file://LICENCE.qla2xxx;md5=f5ce8529ec5c17cb7f911d2721d90e91 \
68 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
69 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
70 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
71 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
72 file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \
73 file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \
74 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
75 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
76 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
77 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
78 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
79 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
80 file://LICENSE.amd-ucode;md5=3a0de451253cc1edbf30a3c621effee3 \
81 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
82 file://LICENSE.radeon;md5=6c7f97c6c62bdd9596d0238bb205118c \
83 file://LICENCE.siano;md5=602c79ae3f98f1e73d880fd9f940a418 \
84"
85
86# These are not common licenses, set NO_GENERIC_LICENSE for them
87# so that the license files will be copied from fetched source
88NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
89NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
90NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
91NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
92NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
93NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
94NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
95NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
96NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
97NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
98NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m"
99NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
100NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
101NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
102NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
103NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
104NO_GENERIC_LICENSE[Firmware-mwl8335] = "LICENCE.mwl8335"
105NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
106NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
107NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
108NO_GENERIC_LICENSE[Firmware-qat_dh895xcc_firmware] = "LICENCE.qat_dh895xcc_firmware"
109NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
110NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
111NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
112NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
113NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
114NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt"
115NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
116NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
117NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
118NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
119NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
120NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
121NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
122NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
123NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
124NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
125NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
126
127SRCREV = "75cc3ef8ba6712fd72c073b17a790282136cc743"
128PE = "1"
129PV = "0.0+git${SRCPV}"
130
131SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
132
133S = "${WORKDIR}/git"
134
135inherit allarch update-alternatives
136
137CLEANBROKEN = "1"
138
139do_compile() {
140 :
141}
142
143do_install() {
144 install -d ${D}/lib/firmware/
145 cp -r * ${D}/lib/firmware/
146
147 # Avoid Makefile to be deployed
148 rm ${D}/lib/firmware/Makefile
149
150 # Remove unbuild firmware which needs cmake and bash
151 rm ${D}/lib/firmware/carl9170fw -rf
152
153 # Remove pointless bash script
154 rm ${D}/lib/firmware/configure
155
156 # Libertas sd8686
157 ln -sf libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
158 ln -sf libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
159
160 # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
161 ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . )
162}
163
164
165PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
166 ${PN}-radeon-license ${PN}-radeon \
167 ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8787 ${PN}-sd8797 \
168 ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \
169 ${PN}-vt6656-license ${PN}-vt6656 \
170 ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
Patrick Williamsd7e96312015-09-22 08:09:05 -0500171 ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 ${PN}-bcm4354 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500172 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \
173 \
174 ${PN}-iwlwifi-license ${PN}-iwlwifi-135-6 \
175 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
176 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
177 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
178 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
179 ${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9 \
180 ${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9 \
181 \
182 ${PN}-license \
183 "
184
185# For atheros
186LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware"
187LICENSE_${PN}-ar3k = "Firmware-atheros_firmware"
188LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
189LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
190
191FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware"
192FILES_${PN}-ar9170 = " \
193 /lib/firmware/ar9170*.fw \
194"
195FILES_${PN}-ar3k = " \
196 /lib/firmware/ar3k \
197"
198FILES_${PN}-ath6k = " \
199 /lib/firmware/ath6k \
200"
201FILES_${PN}-ath9k = " \
202 /lib/firmware/ar9271.fw \
203 /lib/firmware/ar7010*.fw \
204 /lib/firmware/htc_9271.fw \
205 /lib/firmware/htc_7010.fw \
206"
207
208RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
209RDEPENDS_${PN}-ar3k += "${PN}-atheros-license"
210RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
211RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
212
213# For ralink
214LICENSE_${PN}-ralink = "Firmware-ralink-firmware"
215
216FILES_${PN}-ralink-license = "/lib/firmware/LICENCE.ralink-firmware.txt"
217FILES_${PN}-ralink = " \
218 /lib/firmware/rt*.bin \
219"
220
221RDEPENDS_${PN}-ralink += "${PN}-ralink-license"
222
223# For radeon
224LICENSE_${PN}-radeon = "Firmware-radeon"
225
226FILES_${PN}-radeon-license = "/lib/firmware/LICENSE.radeon"
227FILES_${PN}-radeon = " \
228 /lib/firmware/radeon \
229"
230
231RDEPENDS_${PN}-radeon += "${PN}-radeon-license"
232
233# For marvell
234LICENSE_${PN}-sd8686 = "Firmware-Marvell"
235LICENSE_${PN}-sd8787 = "Firmware-Marvell"
236LICENSE_${PN}-sd8797 = "Firmware-Marvell"
237
238FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell"
239FILES_${PN}-sd8686 = " \
240 /lib/firmware/libertas/sd8686_v9* \
241 /lib/firmware/sd8686* \
242"
243FILES_${PN}-sd8787 = " \
244 /lib/firmware/mrvl/sd8787_uapsta.bin \
245"
246FILES_${PN}-sd8797 = " \
247 /lib/firmware/mrvl/sd8797_uapsta.bin \
248"
249
250RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
251RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
252RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
253
254# For rtl
255LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
256LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
257LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
258
259FILES_${PN}-rtl-license = " \
260 /lib/firmware/LICENCE.rtlwifi_firmware.txt \
261"
262FILES_${PN}-rtl8192cu = " \
263 /lib/firmware/rtlwifi/rtl8192cufw.bin \
264"
265FILES_${PN}-rtl8192ce = " \
266 /lib/firmware/rtlwifi/rtl8192cfw.bin \
267"
268FILES_${PN}-rtl8192su = " \
269 /lib/firmware/rtlwifi/rtl8712u.bin \
270"
271
272RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
273RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
274RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
275
276# For ti-connectivity
277LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
278LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
279
280FILES_${PN}-ti-connectivity-license = "/lib/firmware/LICENCE.ti-connectivity"
281FILES_${PN}-wl12xx = " \
282 /lib/firmware/wl12* \
283 /lib/firmware/TI* \
284 /lib/firmware/ti-connectivity \
285"
286FILES_${PN}-wl18xx = " \
287 /lib/firmware/wl18* \
288 /lib/firmware/TI* \
289 /lib/firmware/ti-connectivity \
290"
291
292RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license"
293RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license"
294
295# For vt6656
296LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"
297
298FILES_${PN}-vt6656-license = "/lib/firmware/LICENCE.via_vt6656"
299FILES_${PN}-vt6656 = " \
300 /lib/firmware/vntwusb.fw \
301"
302
303RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license"
304
305# For broadcom
306#
307# WARNING: The ALTERNATIVE_* variables are not using ${PN} because of
308# a bug in bitbake; when this is fixed and bitbake learns how to proper
309# pass variable flags with expansion we can rework this patch.
310
311LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
312LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
313LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500314LICENSE_${PN}-bcm4354 = "Firmware-broadcom_bcm43xx"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500315
316FILES_${PN}-broadcom-license = " \
317 /lib/firmware/LICENCE.broadcom_bcm43xx \
318"
319FILES_${PN}-bcm4329 = " \
320 /lib/firmware/brcm/brcmfmac4329-sdio.bin \
321"
322FILES_${PN}-bcm4330 = " \
323 /lib/firmware/brcm/brcmfmac4330-sdio.bin \
324"
325FILES_${PN}-bcm4334 = " \
326 /lib/firmware/brcm/brcmfmac4334-sdio.bin \
327"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500328FILES_${PN}-bcm4354 = " \
329 /lib/firmware/brcm/brcmfmac4354-sdio.bin \
330"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500331
332ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin"
333
334ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin"
335ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500336ALTERNATIVE_linux_firmware-bcm4354 = "brcmfmac-sdio.bin"
337ALTERNATIVE_TARGET_linux-firmware-bcm4354[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4354-sdio.bin"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500338ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin"
339ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin"
340ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin"
341ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin"
342
343RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
344RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
345RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
Patrick Williamsd7e96312015-09-22 08:09:05 -0500346RDEPENDS_${PN}-bcm4354 += "${PN}-broadcom-license"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500347
348# For iwlwifi
349LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
350LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
351LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
352LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
353LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
354LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
355LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
356LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
357LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
358LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
359LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
360LICENSE_${PN}-iwlwifi-7260-7 = "Firmware-iwlwifi_firmware"
361LICENSE_${PN}-iwlwifi-7260-8 = "Firmware-iwlwifi_firmware"
362LICENSE_${PN}-iwlwifi-7260-9 = "Firmware-iwlwifi_firmware"
363LICENSE_${PN}-iwlwifi-7265-8 = "Firmware-iwlwifi_firmware"
364LICENSE_${PN}-iwlwifi-7265-9 = "Firmware-iwlwifi_firmware"
365
366FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware"
367FILES_${PN}-iwlwifi-135-6 = "/lib/firmware/iwlwifi-135-6.ucode"
368FILES_${PN}-iwlwifi-3160-7 = "/lib/firmware/iwlwifi-3160-7.ucode"
369FILES_${PN}-iwlwifi-3160-8 = "/lib/firmware/iwlwifi-3160-8.ucode"
370FILES_${PN}-iwlwifi-3160-9 = "/lib/firmware/iwlwifi-3160-9.ucode"
371FILES_${PN}-iwlwifi-6000-4 = "/lib/firmware/iwlwifi-6000-4.ucode"
372FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode"
373FILES_${PN}-iwlwifi-6000g2a-6 = "/lib/firmware/iwlwifi-6000g2a-6.ucode"
374FILES_${PN}-iwlwifi-6000g2b-5 = "/lib/firmware/iwlwifi-6000g2b-5.ucode"
375FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode"
376FILES_${PN}-iwlwifi-6050-4 = "/lib/firmware/iwlwifi-6050-4.ucode"
377FILES_${PN}-iwlwifi-6050-5 = "/lib/firmware/iwlwifi-6050-5.ucode"
378FILES_${PN}-iwlwifi-7260-7 = "/lib/firmware/iwlwifi-7260-7.ucode"
379FILES_${PN}-iwlwifi-7260-8 = "/lib/firmware/iwlwifi-7260-8.ucode"
380FILES_${PN}-iwlwifi-7260-9 = "/lib/firmware/iwlwifi-7260-9.ucode"
381FILES_${PN}-iwlwifi-7265-8 = "/lib/firmware/iwlwifi-7265-8.ucode"
382FILES_${PN}-iwlwifi-7265-9 = "/lib/firmware/iwlwifi-7265-9.ucode"
383
384RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
385RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
386RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
387RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
388RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
389RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
390RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
391RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
392RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
393RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
394RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
395RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license"
396RDEPENDS_${PN}-iwlwifi-7260-8 = "${PN}-iwlwifi-license"
397RDEPENDS_${PN}-iwlwifi-7260-9 = "${PN}-iwlwifi-license"
398RDEPENDS_${PN}-iwlwifi-7265-8 = "${PN}-iwlwifi-license"
399RDEPENDS_${PN}-iwlwifi-7265-9 = "${PN}-iwlwifi-license"
400
401# For other firmwares
402# Maybe split out to separate packages when needed.
403LICENSE_${PN} = "\
404 Firmware-Abilis \
405 & Firmware-agere \
406 & Firmware-amd-ucode \
407 & Firmware-ca0132 \
408 & Firmware-chelsio_firmware \
409 & Firmware-cw1200 \
410 & Firmware-dib0700 \
411 & Firmware-ene_firmware \
412 & Firmware-fw_sst_0f28 \
413 & Firmware-go7007 \
414 & Firmware-i2400m \
415 & Firmware-ibt_firmware \
416 & Firmware-it913x \
417 & Firmware-mwl8335 \
418 & Firmware-myri10ge_firmware \
419 & Firmware-OLPC \
420 & Firmware-phanfw \
421 & Firmware-qat_dh895xcc_firmware \
422 & Firmware-qla2xxx \
423 & Firmware-r8a779x_usb3 \
424 & Firmware-ralink_a_mediatek_company_firmware \
425 & Firmware-tda7706-firmware \
426 & Firmware-ueagle-atm4-firmware \
427 & Firmware-wl1251 \
428 & Firmware-xc4000 \
429 & Firmware-xc5000 \
430 & Firmware-xc5000c \
431"
432FILES_${PN}-license += "/lib/firmware/LICEN*"
433FILES_${PN} += "/lib/firmware/*"
434RDEPENDS_${PN} += "${PN}-license"
435
436# Make linux-firmware depend on all of the split-out packages.
437python populate_packages_prepend () {
438 firmware_pkgs = oe.utils.packages_filter_out_system(d)
439 d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
440}