summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware/linux-firmware_20200519.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_20200519.bb')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20200519.bb937
1 files changed, 937 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200519.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200519.bb
new file mode 100644
index 0000000000..fcad7df629
--- /dev/null
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200519.bb
@@ -0,0 +1,937 @@
1SUMMARY = "Firmware files for use with Linux kernel"
2SECTION = "kernel"
3
4LICENSE = "\
5 Firmware-Abilis \
6 & Firmware-adsp_sst \
7 & Firmware-agere \
8 & Firmware-amdgpu \
9 & Firmware-amd-ucode \
10 & Firmware-amlogic_vdec \
11 & Firmware-atheros_firmware \
12 & Firmware-atmel \
13 & Firmware-broadcom_bcm43xx \
14 & Firmware-ca0132 \
15 & Firmware-cavium \
16 & Firmware-chelsio_firmware \
17 & Firmware-cw1200 \
18 & Firmware-cypress \
19 & Firmware-dib0700 \
20 & Firmware-e100 \
21 & Firmware-ene_firmware \
22 & Firmware-fw_sst_0f28 \
23 & Firmware-go7007 \
24 & Firmware-GPLv2 \
25 & Firmware-hfi1_firmware \
26 & Firmware-i2400m \
27 & Firmware-i915 \
28 & Firmware-ibt_firmware \
29 & Firmware-it913x \
30 & Firmware-iwlwifi_firmware \
31 & Firmware-IntcSST2 \
32 & Firmware-kaweth \
33 & Firmware-Marvell \
34 & Firmware-moxa \
35 & Firmware-myri10ge_firmware \
36 & Firmware-netronome \
37 & Firmware-nvidia \
38 & Firmware-OLPC \
39 & Firmware-ath9k-htc \
40 & Firmware-phanfw \
41 & Firmware-qat \
42 & Firmware-qcom \
43 & Firmware-qla1280 \
44 & Firmware-qla2xxx \
45 & Firmware-qualcommAthos_ar3k \
46 & Firmware-qualcommAthos_ath10k \
47 & Firmware-r8a779x_usb3 \
48 & Firmware-radeon \
49 & Firmware-ralink_a_mediatek_company_firmware \
50 & Firmware-ralink-firmware \
51 & Firmware-rtlwifi_firmware \
52 & Firmware-imx-sdma_firmware \
53 & Firmware-siano \
54 & Firmware-tda7706-firmware \
55 & Firmware-ti-connectivity \
56 & Firmware-ti-keystone \
57 & Firmware-ueagle-atm4-firmware \
58 & Firmware-via_vt6656 \
59 & Firmware-wl1251 \
60 & Firmware-xc4000 \
61 & Firmware-xc5000 \
62 & Firmware-xc5000c \
63 & WHENCE \
64"
65
66LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
67 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
68 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
69 file://LICENSE.amdgpu;md5=d357524f5099e2a3db3c1838921c593f \
70 file://LICENSE.amd-ucode;md5=3c5399dc9148d7f0e1f41e34b69cf14f \
71 file://LICENSE.amlogic_vdec;md5=dc44f59bf64a81643e500ad3f39a468a \
72 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
73 file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \
74 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
75 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
76 file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \
77 file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
78 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
79 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
80 file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \
81 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
82 file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \
83 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
84 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
85 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
86 file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
87 file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \
88 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
89 file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \
90 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
91 file://LICENSE.ice;md5=742ab4850f2670792940e6d15c974b2f \
92 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
93 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
94 file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
95 file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
96 file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \
97 file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \
98 file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \
99 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
100 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \
101 file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \
102 file://LICENCE.NXP;md5=58bb8ba632cd729b9ba6183bc6aed36f \
103 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
104 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
105 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
106 file://LICENCE.qat_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
107 file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \
108 file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \
109 file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \
110 file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \
111 file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \
112 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
113 file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \
114 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
115 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
116 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
117 file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \
118 file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \
119 file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \
120 file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \
121 file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \
122 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
123 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
124 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
125 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
126 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
127 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
128 file://WHENCE;md5=c15cee50b1a59d27106a37c2929d5291 \
129 "
130
131# These are not common licenses, set NO_GENERIC_LICENSE for them
132# so that the license files will be copied from fetched source
133NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
134NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst"
135NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
136NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu"
137NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
138NO_GENERIC_LICENSE[Firmware-amlogic_vdec] = "LICENSE.amlogic_vdec"
139NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
140NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel"
141NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
142NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
143NO_GENERIC_LICENSE[Firmware-cadence] = "LICENCE.cadence"
144NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium"
145NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
146NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
147NO_GENERIC_LICENSE[Firmware-cypress] = "LICENCE.cypress"
148NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
149NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100"
150NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
151NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
152NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
153NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2"
154NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware"
155NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m"
156NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915"
157NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
158NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
159NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
160NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
161NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth"
162NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
163NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek"
164NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa"
165NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
166NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome"
167NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia"
168NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
169NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
170NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
171NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware"
172NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom"
173NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280"
174NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
175NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k"
176NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k"
177NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
178NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
179NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
180NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
181NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
182NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
183NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware"
184NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt"
185NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
186NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone"
187NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
188NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
189NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
190NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
191NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
192NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
193NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
194
195PE = "1"
196
197SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
198
199SRC_URI[sha256sum] = "584c49c58291136b966ceffb0a456a672c23d4d759bab8bf86cbbe28061e415e"
200
201inherit allarch
202
203CLEANBROKEN = "1"
204
205do_compile() {
206 :
207}
208
209do_install() {
210 oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install
211 cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
212}
213
214
215PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
216 ${PN}-mt7601u-license ${PN}-mt7601u \
217 ${PN}-radeon-license ${PN}-radeon \
218 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
219 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \
220 ${PN}-usb8997 \
221 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
222 ${PN}-vt6656-license ${PN}-vt6656 \
223 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
224 ${PN}-rtl8168 \
225 ${PN}-cypress-license \
226 ${PN}-broadcom-license \
227 ${PN}-bcm-0bb4-0306 \
228 ${PN}-bcm43143 \
229 ${PN}-bcm43236b \
230 ${PN}-bcm43241b0 \
231 ${PN}-bcm43241b4 \
232 ${PN}-bcm43241b5 \
233 ${PN}-bcm43242a \
234 ${PN}-bcm4329 \
235 ${PN}-bcm4329-fullmac \
236 ${PN}-bcm4330 \
237 ${PN}-bcm4334 \
238 ${PN}-bcm43340 \
239 ${PN}-bcm4335 \
240 ${PN}-bcm43362 \
241 ${PN}-bcm4339 \
242 ${PN}-bcm43430 \
243 ${PN}-bcm43430a0 \
244 ${PN}-bcm43455 \
245 ${PN}-bcm4350 \
246 ${PN}-bcm4350c2 \
247 ${PN}-bcm4354 \
248 ${PN}-bcm4356 \
249 ${PN}-bcm4356-pcie \
250 ${PN}-bcm43569 \
251 ${PN}-bcm43570 \
252 ${PN}-bcm4358 \
253 ${PN}-bcm43602 \
254 ${PN}-bcm4366b \
255 ${PN}-bcm4366c \
256 ${PN}-bcm4371 \
257 ${PN}-bcm4373 \
258 ${PN}-bcm43xx \
259 ${PN}-bcm43xx-hdr \
260 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \
261 ${PN}-gplv2-license ${PN}-carl9170 \
262 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-qca \
263 \
264 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
265 \
266 ${PN}-iwlwifi-license ${PN}-iwlwifi \
267 ${PN}-iwlwifi-135-6 \
268 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
269 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
270 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
271 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
272 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
273 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
274 ${PN}-iwlwifi-7260 \
275 ${PN}-iwlwifi-7265 \
276 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
277 ${PN}-iwlwifi-9000 \
278 ${PN}-iwlwifi-misc \
279 ${PN}-ibt-license ${PN}-ibt ${PN}-ibt-misc \
280 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
281 ${PN}-ibt-17 \
282 ${PN}-i915-license ${PN}-i915 \
283 ${PN}-adsp-sst-license ${PN}-adsp-sst \
284 ${PN}-bnx2-mips \
285 ${PN}-liquidio \
286 ${PN}-netronome-license ${PN}-netronome \
287 ${PN}-qat ${PN}-qat-license \
288 ${PN}-qcom-license \
289 ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \
290 ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 ${PN}-qcom-adreno-a630 \
291 ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
292 ${PN}-whence-license \
293 ${PN}-license \
294 "
295
296# For atheros
297LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware"
298LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
299LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
300LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware"
301
302FILES_${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
303FILES_${PN}-ar9170 = " \
304 ${nonarch_base_libdir}/firmware/ar9170*.fw \
305"
306FILES_${PN}-ath6k = " \
307 ${nonarch_base_libdir}/firmware/ath6k \
308"
309FILES_${PN}-ath9k = " \
310 ${nonarch_base_libdir}/firmware/ar9271.fw \
311 ${nonarch_base_libdir}/firmware/ar7010*.fw \
312 ${nonarch_base_libdir}/firmware/htc_9271.fw \
313 ${nonarch_base_libdir}/firmware/htc_7010.fw \
314 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
315 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
316"
317
318RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
319RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
320RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
321
322# For carl9170
323LICENSE_${PN}-carl9170 = "Firmware-GPLv2"
324LICENSE_${PN}-gplv2-license = "Firmware-GPLv2"
325
326FILES_${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
327FILES_${PN}-carl9170 = " \
328 ${nonarch_base_libdir}/firmware/carl9170*.fw \
329"
330
331RDEPENDS_${PN}-carl9170 += "${PN}-gplv2-license"
332
333# For QualCommAthos
334LICENSE_${PN}-ar3k = "Firmware-qualcommAthos_ar3k"
335LICENSE_${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
336LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
337LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
338LICENSE_${PN}-qca = "Firmware-qualcommAthos_ath10k"
339
340FILES_${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
341FILES_${PN}-ar3k = " \
342 ${nonarch_base_libdir}/firmware/ar3k \
343"
344
345FILES_${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
346FILES_${PN}-ath10k = " \
347 ${nonarch_base_libdir}/firmware/ath10k \
348"
349
350FILES_${PN}-qca = " \
351 ${nonarch_base_libdir}/firmware/qca \
352"
353
354RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license"
355RDEPENDS_${PN}-ath10k += "${PN}-ath10k-license"
356RDEPENDS_${PN}-qca += "${PN}-ath10k-license"
357
358# For ralink
359LICENSE_${PN}-ralink = "Firmware-ralink-firmware"
360LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware"
361
362FILES_${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
363FILES_${PN}-ralink = " \
364 ${nonarch_base_libdir}/firmware/rt*.bin \
365"
366
367RDEPENDS_${PN}-ralink += "${PN}-ralink-license"
368
369# For mediatek MT7601U
370LICENSE_${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
371LICENSE_${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
372
373FILES_${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
374FILES_${PN}-mt7601u = " \
375 ${nonarch_base_libdir}/firmware/mt7601u.bin \
376"
377
378RDEPENDS_${PN}-mt7601u += "${PN}-mt7601u-license"
379
380# For radeon
381LICENSE_${PN}-radeon = "Firmware-radeon"
382LICENSE_${PN}-radeon-license = "Firmware-radeon"
383
384FILES_${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
385FILES_${PN}-radeon = " \
386 ${nonarch_base_libdir}/firmware/radeon \
387"
388
389RDEPENDS_${PN}-radeon += "${PN}-radeon-license"
390
391# For marvell
392LICENSE_${PN}-pcie8897 = "Firmware-Marvell"
393LICENSE_${PN}-pcie8997 = "Firmware-Marvell"
394LICENSE_${PN}-sd8686 = "Firmware-Marvell"
395LICENSE_${PN}-sd8688 = "Firmware-Marvell"
396LICENSE_${PN}-sd8787 = "Firmware-Marvell"
397LICENSE_${PN}-sd8797 = "Firmware-Marvell"
398LICENSE_${PN}-sd8801 = "Firmware-Marvell"
399LICENSE_${PN}-sd8887 = "Firmware-Marvell"
400LICENSE_${PN}-sd8897 = "Firmware-Marvell"
401LICENSE_${PN}-usb8997 = "Firmware-Marvell"
402LICENSE_${PN}-marvell-license = "Firmware-Marvell"
403
404FILES_${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
405FILES_${PN}-pcie8897 = " \
406 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
407"
408FILES_${PN}-pcie8997 = " \
409 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
410 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
411 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
412"
413FILES_${PN}-sd8686 = " \
414 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
415 ${nonarch_base_libdir}/firmware/sd8686* \
416"
417FILES_${PN}-sd8688 = " \
418 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
419 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
420"
421FILES_${PN}-sd8787 = " \
422 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
423"
424FILES_${PN}-sd8797 = " \
425 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
426"
427FILES_${PN}-sd8801 = " \
428 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
429"
430FILES_${PN}-sd8887 = " \
431 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
432"
433FILES_${PN}-sd8897 = " \
434 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
435"
436FILES_${PN}-usb8997 = " \
437 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
438"
439
440RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
441RDEPENDS_${PN}-sd8688 += "${PN}-marvell-license"
442RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
443RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
444RDEPENDS_${PN}-sd8801 += "${PN}-marvell-license"
445RDEPENDS_${PN}-sd8887 += "${PN}-marvell-license"
446RDEPENDS_${PN}-sd8897 += "${PN}-marvell-license"
447RDEPENDS_${PN}-usb8997 += "${PN}-marvell-license"
448
449# For netronome
450LICENSE_${PN}-netronome = "Firmware-netronome"
451
452FILES_${PN}-netronome-license = " \
453 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
454"
455FILES_${PN}-netronome = " \
456 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
457 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
458 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
459 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
460"
461
462RDEPENDS_${PN}-netronome += "${PN}-netronome-license"
463
464# For rtl
465LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
466LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
467LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
468LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
469LICENSE_${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
470LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
471LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware"
472LICENSE_${PN}-rtl8168 = "WHENCE"
473
474FILES_${PN}-rtl-license = " \
475 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
476"
477FILES_${PN}-rtl8188 = " \
478 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
479"
480FILES_${PN}-rtl8192cu = " \
481 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
482"
483FILES_${PN}-rtl8192ce = " \
484 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
485"
486FILES_${PN}-rtl8192su = " \
487 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
488"
489FILES_${PN}-rtl8723 = " \
490 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
491"
492FILES_${PN}-rtl8821 = " \
493 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
494"
495FILES_${PN}-rtl8168 = " \
496 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
497"
498
499RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license"
500RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
501RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
502RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
503RDEPENDS_${PN}-rtl8723 += "${PN}-rtl-license"
504RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license"
505RDEPENDS_${PN}-rtl8168 += "${PN}-whence-license"
506
507# For ti-connectivity
508LICENSE_${PN}-wlcommon = "Firmware-ti-connectivity"
509LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
510LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
511LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
512
513FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
514# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
515# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
516# and drivers/net/wireless/ti/wlcore/spi.c.
517# While they're optional and actually only used to override the MAC
518# address on wl18xx, driver loading will delay (by udev timout - 60s)
519# if not there. So let's make it available always. Because it's a
520# symlink, both need to go to wlcommon.
521FILES_${PN}-wlcommon = " \
522 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
523 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
524 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
525"
526FILES_${PN}-wl12xx = " \
527 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
528"
529FILES_${PN}-wl18xx = " \
530 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
531"
532
533RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
534RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
535
536# For vt6656
537LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"
538LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656"
539
540FILES_${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
541FILES_${PN}-vt6656 = " \
542 ${nonarch_base_libdir}/firmware/vntwusb.fw \
543"
544
545RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license"
546
547# For broadcom
548
549# for i in `grep brcm WHENCE | grep ^File | sed 's/File: brcm.//g'`; do pkg=`echo $i | sed 's/-[sp40].*//g; s/\.bin//g; s/brcmfmac/bcm/g; s/_hdr/-hdr/g; s/BCM/bcm-0bb4-0306/g'`; echo -e " \${PN}-$pkg \\"; done | sort -u
550
551LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
552FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
553
554# for i in `grep brcm WHENCE | grep ^File | sed 's/File: brcm.//g'`; do pkg=`echo $i | sed 's/-[sp40].*//g; s/\.bin//g; s/brcmfmac/bcm/g; s/_hdr/-hdr/g; s/BCM/bcm-0bb4-0306/g'`; echo "$i - $pkg"; echo -e "FILES_\${PN}-$pkg = \"\${nonarch_base_libdir}/firmware/brcm/$i\""; done | grep ^FILES
555
556FILES_${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
557FILES_${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
558FILES_${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
559FILES_${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
560FILES_${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
561FILES_${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
562FILES_${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
563FILES_${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
564FILES_${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin"
565FILES_${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
566FILES_${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
567FILES_${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
568FILES_${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
569FILES_${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
570 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
571"
572FILES_${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
573FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.*"
574FILES_${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
575FILES_${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
576FILES_${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.bin"
577FILES_${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
578FILES_${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin"
579FILES_${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
580FILES_${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
581 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
582"
583FILES_${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
584FILES_${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
585FILES_${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
586
587# for i in `grep brcm WHENCE | grep ^File | sed 's/File: brcm.//g'`; do pkg=`echo $i | sed 's/-[sp40].*//g; s/\.bin//g; s/brcmfmac/bcm/g; s/_hdr/-hdr/g; s/BCM/bcm-0bb4-0306/g'`; echo -e "LICENSE_\${PN}-$pkg = \"Firmware-broadcom_bcm43xx\"\nRDEPENDS_\${PN}-$pkg += \"\${PN}-broadcom-license\""; done
588# Currently 1st one and last 6 have cypress LICENSE
589
590LICENSE_${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
591RDEPENDS_${PN}-bcm43xx += "${PN}-broadcom-license"
592LICENSE_${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
593RDEPENDS_${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
594LICENSE_${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
595RDEPENDS_${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
596LICENSE_${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
597RDEPENDS_${PN}-bcm43236b += "${PN}-broadcom-license"
598LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
599RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
600LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
601RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
602LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
603RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
604LICENSE_${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
605RDEPENDS_${PN}-bcm4335 += "${PN}-broadcom-license"
606LICENSE_${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
607RDEPENDS_${PN}-bcm4339 += "${PN}-broadcom-license"
608LICENSE_${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
609RDEPENDS_${PN}-bcm43241b0 += "${PN}-broadcom-license"
610LICENSE_${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
611RDEPENDS_${PN}-bcm43241b4 += "${PN}-broadcom-license"
612LICENSE_${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
613RDEPENDS_${PN}-bcm43241b5 += "${PN}-broadcom-license"
614LICENSE_${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
615RDEPENDS_${PN}-bcm43242a += "${PN}-broadcom-license"
616LICENSE_${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
617RDEPENDS_${PN}-bcm43143 += "${PN}-broadcom-license"
618LICENSE_${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
619RDEPENDS_${PN}-bcm43430a0 += "${PN}-broadcom-license"
620LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
621RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
622LICENSE_${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
623RDEPENDS_${PN}-bcm4350c2 += "${PN}-broadcom-license"
624LICENSE_${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
625RDEPENDS_${PN}-bcm4350 += "${PN}-broadcom-license"
626LICENSE_${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
627RDEPENDS_${PN}-bcm4356 += "${PN}-broadcom-license"
628LICENSE_${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
629RDEPENDS_${PN}-bcm43569 += "${PN}-broadcom-license"
630LICENSE_${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
631RDEPENDS_${PN}-bcm43570 += "${PN}-broadcom-license"
632LICENSE_${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
633RDEPENDS_${PN}-bcm4358 += "${PN}-broadcom-license"
634LICENSE_${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
635RDEPENDS_${PN}-bcm43602 += "${PN}-broadcom-license"
636LICENSE_${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
637RDEPENDS_${PN}-bcm4366b += "${PN}-broadcom-license"
638LICENSE_${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
639RDEPENDS_${PN}-bcm4366c += "${PN}-broadcom-license"
640LICENSE_${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
641RDEPENDS_${PN}-bcm4371 += "${PN}-broadcom-license"
642
643# For broadcom cypress
644
645LICENSE_${PN}-cypress-license = "Firmware-cypress"
646FILES_${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
647
648FILES_${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
649FILES_${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.*"
650FILES_${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.*"
651FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.*"
652FILES_${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin"
653FILES_${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.*"
654FILES_${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
655 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
656"
657
658LICENSE_${PN}-bcm-0bb4-0306 = "Firmware-cypress"
659RDEPENDS_${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
660LICENSE_${PN}-bcm43340 = "Firmware-cypress"
661RDEPENDS_${PN}-bcm43340 += "${PN}-cypress-license"
662LICENSE_${PN}-bcm43362 = "Firmware-cypress"
663RDEPENDS_${PN}-bcm43362 += "${PN}-cypress-license"
664LICENSE_${PN}-bcm43430 = "Firmware-cypress"
665RDEPENDS_${PN}-bcm43430 += "${PN}-cypress-license"
666LICENSE_${PN}-bcm4354 = "Firmware-cypress"
667RDEPENDS_${PN}-bcm4354 += "${PN}-cypress-license"
668LICENSE_${PN}-bcm4356-pcie = "Firmware-cypress"
669RDEPENDS_${PN}-bcm4356-pcie += "${PN}-cypress-license"
670LICENSE_${PN}-bcm4373 = "Firmware-cypress"
671RDEPENDS_${PN}-bcm4373 += "${PN}-cypress-license"
672
673# For Broadcom bnx2-mips
674#
675# which is a separate case to the other Broadcom firmwares since its
676# license is contained in the shared WHENCE file.
677
678LICENSE_${PN}-bnx2-mips = "WHENCE"
679LICENSE_${PN}-whence-license = "WHENCE"
680
681FILES_${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
682FILES_${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
683
684RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license"
685
686# For imx-sdma
687LICENSE_${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
688LICENSE_${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
689LICENSE_${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
690
691FILES_${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
692
693RPROVIDES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
694RREPLACES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
695RCONFLICTS_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
696
697FILES_${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
698
699FILES_${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
700
701RDEPENDS_${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
702RDEPENDS_${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
703
704# For iwlwifi
705LICENSE_${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
706LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
707LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
708LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
709LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
710LICENSE_${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
711LICENSE_${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
712LICENSE_${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
713LICENSE_${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
714LICENSE_${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
715LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
716LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
717LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
718LICENSE_${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
719LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
720LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
721LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
722LICENSE_${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
723LICENSE_${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
724LICENSE_${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
725LICENSE_${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
726LICENSE_${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
727LICENSE_${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
728LICENSE_${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
729LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
730
731
732FILES_${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
733FILES_${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
734FILES_${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
735FILES_${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
736FILES_${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
737FILES_${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
738FILES_${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
739FILES_${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
740FILES_${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
741FILES_${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
742FILES_${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
743FILES_${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
744FILES_${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
745FILES_${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
746FILES_${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
747FILES_${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
748FILES_${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
749FILES_${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
750FILES_${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
751FILES_${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
752FILES_${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
753FILES_${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
754FILES_${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
755FILES_${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
756
757RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
758RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
759RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
760RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
761RDEPENDS_${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
762RDEPENDS_${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
763RDEPENDS_${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
764RDEPENDS_${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
765RDEPENDS_${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
766RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
767RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
768RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
769RDEPENDS_${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
770RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
771RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
772RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
773RDEPENDS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
774RDEPENDS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
775RDEPENDS_${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
776RDEPENDS_${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
777RDEPENDS_${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
778RDEPENDS_${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
779RDEPENDS_${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
780
781# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
782# firmwares that are not already included in other -iwlwifi- packages.
783# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
784# These are distinct in order to allow the -misc firmwares to be installed
785# without pulling in every other iwlwifi package.
786ALLOW_EMPTY_${PN}-iwlwifi = "1"
787ALLOW_EMPTY_${PN}-iwlwifi-misc = "1"
788
789# Handle package updating for the newly merged iwlwifi groupings
790RPROVIDES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
791RREPLACES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
792RCONFLICTS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
793
794RPROVIDES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
795RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
796RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
797
798# For ibt
799LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware"
800LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
801LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
802LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware"
803LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware"
804LICENSE_${PN}-ibt-17 = "Firmware-ibt_firmware"
805LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware"
806
807FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
808FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
809FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
810FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
811FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
812FILES_${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
813FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/ibt-*"
814
815RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
816RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
817RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license"
818RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license"
819RDEPENDS_${PN}-ibt-17 = "${PN}-ibt-license"
820RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license"
821
822ALLOW_EMPTY_${PN}-ibt= "1"
823ALLOW_EMPTY_${PN}-ibt-misc = "1"
824
825LICENSE_${PN}-i915 = "Firmware-i915"
826LICENSE_${PN}-i915-license = "Firmware-i915"
827FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
828FILES_${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
829RDEPENDS_${PN}-i915 = "${PN}-i915-license"
830
831FILES_${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
832LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst"
833LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst"
834FILES_${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
835RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license"
836
837# For QAT
838LICENSE_${PN}-qat = "Firmware-qat"
839LICENSE_${PN}-qat-license = "Firmware-qat"
840FILES_${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
841FILES_${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
842RDEPENDS_${PN}-qat = "${PN}-qat-license"
843
844# For QCOM VPU/GPU and SDM845
845LICENSE_${PN}-qcom-license = "Firmware-qcom"
846FILES_${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
847FILES_${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
848FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
849FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
850FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
851FILES_${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
852FILES_${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
853FILES_${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
854FILES_${PN}-qcom-sdm845-modem = "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
855RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
856RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
857RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
858RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
859RDEPENDS_${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
860RDEPENDS_${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
861RDEPENDS_${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
862RDEPENDS_${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
863
864FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
865
866# For other firmwares
867# Maybe split out to separate packages when needed.
868LICENSE_${PN} = "\
869 Firmware-Abilis \
870 & Firmware-agere \
871 & Firmware-amdgpu \
872 & Firmware-amd-ucode \
873 & Firmware-atmel \
874 & Firmware-ca0132 \
875 & Firmware-cavium \
876 & Firmware-chelsio_firmware \
877 & Firmware-cw1200 \
878 & Firmware-dib0700 \
879 & Firmware-e100 \
880 & Firmware-ene_firmware \
881 & Firmware-fw_sst_0f28 \
882 & Firmware-go7007 \
883 & Firmware-hfi1_firmware \
884 & Firmware-i2400m \
885 & Firmware-ibt_firmware \
886 & Firmware-it913x \
887 & Firmware-IntcSST2 \
888 & Firmware-kaweth \
889 & Firmware-moxa \
890 & Firmware-myri10ge_firmware \
891 & Firmware-nvidia \
892 & Firmware-OLPC \
893 & Firmware-ath9k-htc \
894 & Firmware-phanfw \
895 & Firmware-qat \
896 & Firmware-qcom \
897 & Firmware-qla1280 \
898 & Firmware-qla2xxx \
899 & Firmware-r8a779x_usb3 \
900 & Firmware-radeon \
901 & Firmware-ralink_a_mediatek_company_firmware \
902 & Firmware-ralink-firmware \
903 & Firmware-imx-sdma_firmware \
904 & Firmware-siano \
905 & Firmware-tda7706-firmware \
906 & Firmware-ti-connectivity \
907 & Firmware-ti-keystone \
908 & Firmware-ueagle-atm4-firmware \
909 & Firmware-wl1251 \
910 & Firmware-xc4000 \
911 & Firmware-xc5000 \
912 & Firmware-xc5000c \
913 & WHENCE \
914"
915
916FILES_${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
917FILES_${PN} += "${nonarch_base_libdir}/firmware/*"
918RDEPENDS_${PN} += "${PN}-license"
919RDEPENDS_${PN} += "${PN}-whence-license"
920
921# Make linux-firmware depend on all of the split-out packages.
922# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
923# Make linux-firmware-ibt depend on all of the split-out ibt packages.
924python populate_packages_prepend () {
925 firmware_pkgs = oe.utils.packages_filter_out_system(d)
926 d.appendVar('RRECOMMENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
927
928 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
929 d.appendVar('RRECOMMENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
930
931 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
932 d.appendVar('RRECOMMENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
933}
934
935# Firmware files are generally not ran on the CPU, so they can be
936# allarch despite being architecture specific
937INSANE_SKIP = "arch"