summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb942
1 files changed, 942 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
new file mode 100644
index 0000000000..0d1422cfca
--- /dev/null
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -0,0 +1,942 @@
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=c27d0c06cd5d376d8ab55860e65ba4e4 \
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[md5sum] = "ac291b21f366ae2a37193ec8f14c39d2"
200SRC_URI[sha256sum] = "a30e811b3736a72b874ac27e10662f5e5409b1cadf8aab7ba88e8f8bc8083986"
201
202inherit allarch
203
204CLEANBROKEN = "1"
205
206do_compile() {
207 :
208}
209
210do_install() {
211 install -d ${D}${nonarch_base_libdir}/firmware/
212 cp -r * ${D}${nonarch_base_libdir}/firmware/
213
214 # Avoid Makefile to be deployed
215 rm ${D}${nonarch_base_libdir}/firmware/Makefile
216
217 # Remove unbuild firmware which needs cmake and bash
218 rm ${D}${nonarch_base_libdir}/firmware/carl9170fw -rf
219
220 # Remove pointless bash script
221 rm ${D}${nonarch_base_libdir}/firmware/configure
222
223 # Remove python script used to check the WHENCE file
224 rm ${D}${nonarch_base_libdir}/firmware/check_whence.py
225
226 # Libertas sd8686
227 ln -sf libertas/sd8686_v9.bin ${D}${nonarch_base_libdir}/firmware/sd8686.bin
228 ln -sf libertas/sd8686_v9_helper.bin ${D}${nonarch_base_libdir}/firmware/sd8686_helper.bin
229
230 # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
231 ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . )
232}
233
234
235PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
236 ${PN}-mt7601u-license ${PN}-mt7601u \
237 ${PN}-radeon-license ${PN}-radeon \
238 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
239 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \
240 ${PN}-usb8997 \
241 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
242 ${PN}-vt6656-license ${PN}-vt6656 \
243 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
244 ${PN}-rtl8168 \
245 ${PN}-cypress-license \
246 ${PN}-broadcom-license \
247 ${PN}-bcm-0bb4-0306 \
248 ${PN}-bcm43143 \
249 ${PN}-bcm43236b \
250 ${PN}-bcm43241b0 \
251 ${PN}-bcm43241b4 \
252 ${PN}-bcm43241b5 \
253 ${PN}-bcm43242a \
254 ${PN}-bcm4329 \
255 ${PN}-bcm4329-fullmac \
256 ${PN}-bcm4330 \
257 ${PN}-bcm4334 \
258 ${PN}-bcm43340 \
259 ${PN}-bcm4335 \
260 ${PN}-bcm43362 \
261 ${PN}-bcm4339 \
262 ${PN}-bcm43430 \
263 ${PN}-bcm43430a0 \
264 ${PN}-bcm43455 \
265 ${PN}-bcm4350 \
266 ${PN}-bcm4350c2 \
267 ${PN}-bcm4354 \
268 ${PN}-bcm4356 \
269 ${PN}-bcm4356-pcie \
270 ${PN}-bcm43569 \
271 ${PN}-bcm43570 \
272 ${PN}-bcm4358 \
273 ${PN}-bcm43602 \
274 ${PN}-bcm4366b \
275 ${PN}-bcm4366c \
276 ${PN}-bcm4371 \
277 ${PN}-bcm4373 \
278 ${PN}-bcm43xx \
279 ${PN}-bcm43xx-hdr \
280 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \
281 ${PN}-gplv2-license ${PN}-carl9170 \
282 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-qca \
283 \
284 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
285 \
286 ${PN}-iwlwifi-license ${PN}-iwlwifi \
287 ${PN}-iwlwifi-135-6 \
288 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
289 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
290 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
291 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
292 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
293 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
294 ${PN}-iwlwifi-7260 \
295 ${PN}-iwlwifi-7265 \
296 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
297 ${PN}-iwlwifi-9000 \
298 ${PN}-iwlwifi-misc \
299 ${PN}-ibt-license ${PN}-ibt ${PN}-ibt-misc \
300 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
301 ${PN}-ibt-17 \
302 ${PN}-i915-license ${PN}-i915 \
303 ${PN}-adsp-sst-license ${PN}-adsp-sst \
304 ${PN}-bnx2-mips \
305 ${PN}-liquidio \
306 ${PN}-netronome-license ${PN}-netronome \
307 ${PN}-qat ${PN}-qat-license \
308 ${PN}-qcom-license \
309 ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \
310 ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \
311 ${PN}-whence-license \
312 ${PN}-license \
313 "
314
315# For atheros
316LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware"
317LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
318LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
319LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware"
320
321FILES_${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
322FILES_${PN}-ar9170 = " \
323 ${nonarch_base_libdir}/firmware/ar9170*.fw \
324"
325FILES_${PN}-ath6k = " \
326 ${nonarch_base_libdir}/firmware/ath6k \
327"
328FILES_${PN}-ath9k = " \
329 ${nonarch_base_libdir}/firmware/ar9271.fw \
330 ${nonarch_base_libdir}/firmware/ar7010*.fw \
331 ${nonarch_base_libdir}/firmware/htc_9271.fw \
332 ${nonarch_base_libdir}/firmware/htc_7010.fw \
333 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
334 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
335"
336
337RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
338RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
339RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
340
341# For carl9170
342LICENSE_${PN}-carl9170 = "Firmware-GPLv2"
343LICENSE_${PN}-gplv2-license = "Firmware-GPLv2"
344
345FILES_${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
346FILES_${PN}-carl9170 = " \
347 ${nonarch_base_libdir}/firmware/carl9170*.fw \
348"
349
350RDEPENDS_${PN}-carl9170 += "${PN}-gplv2-license"
351
352# For QualCommAthos
353LICENSE_${PN}-ar3k = "Firmware-qualcommAthos_ar3k"
354LICENSE_${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
355LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
356LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
357LICENSE_${PN}-qca = "Firmware-qualcommAthos_ath10k"
358
359FILES_${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
360FILES_${PN}-ar3k = " \
361 ${nonarch_base_libdir}/firmware/ar3k \
362"
363
364FILES_${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
365FILES_${PN}-ath10k = " \
366 ${nonarch_base_libdir}/firmware/ath10k \
367"
368
369FILES_${PN}-qca = " \
370 ${nonarch_base_libdir}/firmware/qca \
371"
372
373RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license"
374RDEPENDS_${PN}-ath10k += "${PN}-ath10k-license"
375RDEPENDS_${PN}-qca += "${PN}-ath10k-license"
376
377# For ralink
378LICENSE_${PN}-ralink = "Firmware-ralink-firmware"
379LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware"
380
381FILES_${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
382FILES_${PN}-ralink = " \
383 ${nonarch_base_libdir}/firmware/rt*.bin \
384"
385
386RDEPENDS_${PN}-ralink += "${PN}-ralink-license"
387
388# For mediatek MT7601U
389LICENSE_${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
390LICENSE_${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
391
392FILES_${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
393FILES_${PN}-mt7601u = " \
394 ${nonarch_base_libdir}/firmware/mt7601u.bin \
395"
396
397RDEPENDS_${PN}-mt7601u += "${PN}-mt7601u-license"
398
399# For radeon
400LICENSE_${PN}-radeon = "Firmware-radeon"
401LICENSE_${PN}-radeon-license = "Firmware-radeon"
402
403FILES_${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
404FILES_${PN}-radeon = " \
405 ${nonarch_base_libdir}/firmware/radeon \
406"
407
408RDEPENDS_${PN}-radeon += "${PN}-radeon-license"
409
410# For marvell
411LICENSE_${PN}-pcie8897 = "Firmware-Marvell"
412LICENSE_${PN}-pcie8997 = "Firmware-Marvell"
413LICENSE_${PN}-sd8686 = "Firmware-Marvell"
414LICENSE_${PN}-sd8688 = "Firmware-Marvell"
415LICENSE_${PN}-sd8787 = "Firmware-Marvell"
416LICENSE_${PN}-sd8797 = "Firmware-Marvell"
417LICENSE_${PN}-sd8801 = "Firmware-Marvell"
418LICENSE_${PN}-sd8887 = "Firmware-Marvell"
419LICENSE_${PN}-sd8897 = "Firmware-Marvell"
420LICENSE_${PN}-usb8997 = "Firmware-Marvell"
421LICENSE_${PN}-marvell-license = "Firmware-Marvell"
422
423FILES_${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
424FILES_${PN}-pcie8897 = " \
425 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
426"
427FILES_${PN}-pcie8997 = " \
428 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
429 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
430 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
431"
432FILES_${PN}-sd8686 = " \
433 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
434 ${nonarch_base_libdir}/firmware/sd8686* \
435"
436FILES_${PN}-sd8688 = " \
437 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
438 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
439"
440FILES_${PN}-sd8787 = " \
441 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
442"
443FILES_${PN}-sd8797 = " \
444 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
445"
446FILES_${PN}-sd8801 = " \
447 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
448"
449FILES_${PN}-sd8887 = " \
450 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
451"
452FILES_${PN}-sd8897 = " \
453 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
454"
455FILES_${PN}-usb8997 = " \
456 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
457"
458
459RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
460RDEPENDS_${PN}-sd8688 += "${PN}-marvell-license"
461RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
462RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
463RDEPENDS_${PN}-sd8801 += "${PN}-marvell-license"
464RDEPENDS_${PN}-sd8887 += "${PN}-marvell-license"
465RDEPENDS_${PN}-sd8897 += "${PN}-marvell-license"
466RDEPENDS_${PN}-usb8997 += "${PN}-marvell-license"
467
468# For netronome
469LICENSE_${PN}-netronome = "Firmware-netronome"
470
471FILES_${PN}-netronome-license = " \
472 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
473"
474FILES_${PN}-netronome = " \
475 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
476 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
477 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
478 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
479"
480
481RDEPENDS_${PN}-netronome += "${PN}-netronome-license"
482
483# For rtl
484LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
485LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
486LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
487LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
488LICENSE_${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
489LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
490LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware"
491LICENSE_${PN}-rtl8168 = "WHENCE"
492
493FILES_${PN}-rtl-license = " \
494 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
495"
496FILES_${PN}-rtl8188 = " \
497 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
498"
499FILES_${PN}-rtl8192cu = " \
500 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
501"
502FILES_${PN}-rtl8192ce = " \
503 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
504"
505FILES_${PN}-rtl8192su = " \
506 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
507"
508FILES_${PN}-rtl8723 = " \
509 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
510"
511FILES_${PN}-rtl8821 = " \
512 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
513"
514FILES_${PN}-rtl8168 = " \
515 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
516"
517
518RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license"
519RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
520RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
521RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
522RDEPENDS_${PN}-rtl8723 += "${PN}-rtl-license"
523RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license"
524RDEPENDS_${PN}-rtl8168 += "${PN}-whence-license"
525
526# For ti-connectivity
527LICENSE_${PN}-wlcommon = "Firmware-ti-connectivity"
528LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
529LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
530LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
531
532FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
533FILES_${PN}-wlcommon = " \
534 ${nonarch_base_libdir}/firmware/TI* \
535 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
536"
537FILES_${PN}-wl12xx = " \
538 ${nonarch_base_libdir}/firmware/wl12* \
539 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
540"
541FILES_${PN}-wl18xx = " \
542 ${nonarch_base_libdir}/firmware/wl18* \
543 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
544"
545
546RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
547RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
548
549# For vt6656
550LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"
551LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656"
552
553FILES_${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
554FILES_${PN}-vt6656 = " \
555 ${nonarch_base_libdir}/firmware/vntwusb.fw \
556"
557
558RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license"
559
560# For broadcom
561
562# 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
563
564LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
565FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
566
567# 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
568
569FILES_${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
570FILES_${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
571FILES_${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
572FILES_${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
573FILES_${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
574FILES_${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
575FILES_${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
576FILES_${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
577FILES_${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin"
578FILES_${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
579FILES_${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
580FILES_${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
581FILES_${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
582FILES_${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
583 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
584"
585FILES_${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
586FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.*"
587FILES_${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
588FILES_${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
589FILES_${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.bin"
590FILES_${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
591FILES_${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin"
592FILES_${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
593FILES_${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
594 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
595"
596FILES_${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
597FILES_${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
598FILES_${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
599
600# 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
601# Currently 1st one and last 6 have cypress LICENSE
602
603LICENSE_${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
604RDEPENDS_${PN}-bcm43xx += "${PN}-broadcom-license"
605LICENSE_${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
606RDEPENDS_${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
607LICENSE_${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
608RDEPENDS_${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
609LICENSE_${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
610RDEPENDS_${PN}-bcm43236b += "${PN}-broadcom-license"
611LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
612RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
613LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
614RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
615LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
616RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
617LICENSE_${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
618RDEPENDS_${PN}-bcm4335 += "${PN}-broadcom-license"
619LICENSE_${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
620RDEPENDS_${PN}-bcm4339 += "${PN}-broadcom-license"
621LICENSE_${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
622RDEPENDS_${PN}-bcm43241b0 += "${PN}-broadcom-license"
623LICENSE_${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
624RDEPENDS_${PN}-bcm43241b4 += "${PN}-broadcom-license"
625LICENSE_${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
626RDEPENDS_${PN}-bcm43241b5 += "${PN}-broadcom-license"
627LICENSE_${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
628RDEPENDS_${PN}-bcm43242a += "${PN}-broadcom-license"
629LICENSE_${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
630RDEPENDS_${PN}-bcm43143 += "${PN}-broadcom-license"
631LICENSE_${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
632RDEPENDS_${PN}-bcm43430a0 += "${PN}-broadcom-license"
633LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
634RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
635LICENSE_${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
636RDEPENDS_${PN}-bcm4350c2 += "${PN}-broadcom-license"
637LICENSE_${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
638RDEPENDS_${PN}-bcm4350 += "${PN}-broadcom-license"
639LICENSE_${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
640RDEPENDS_${PN}-bcm4356 += "${PN}-broadcom-license"
641LICENSE_${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
642RDEPENDS_${PN}-bcm43569 += "${PN}-broadcom-license"
643LICENSE_${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
644RDEPENDS_${PN}-bcm43570 += "${PN}-broadcom-license"
645LICENSE_${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
646RDEPENDS_${PN}-bcm4358 += "${PN}-broadcom-license"
647LICENSE_${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
648RDEPENDS_${PN}-bcm43602 += "${PN}-broadcom-license"
649LICENSE_${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
650RDEPENDS_${PN}-bcm4366b += "${PN}-broadcom-license"
651LICENSE_${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
652RDEPENDS_${PN}-bcm4366c += "${PN}-broadcom-license"
653LICENSE_${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
654RDEPENDS_${PN}-bcm4371 += "${PN}-broadcom-license"
655
656# For broadcom cypress
657
658LICENSE_${PN}-cypress-license = "Firmware-cypress"
659FILES_${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
660
661FILES_${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
662FILES_${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.*"
663FILES_${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.*"
664FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.*"
665FILES_${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin"
666FILES_${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.*"
667FILES_${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
668 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
669"
670
671LICENSE_${PN}-bcm-0bb4-0306 = "Firmware-cypress"
672RDEPENDS_${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
673LICENSE_${PN}-bcm43340 = "Firmware-cypress"
674RDEPENDS_${PN}-bcm43340 += "${PN}-cypress-license"
675LICENSE_${PN}-bcm43362 = "Firmware-cypress"
676RDEPENDS_${PN}-bcm43362 += "${PN}-cypress-license"
677LICENSE_${PN}-bcm43430 = "Firmware-cypress"
678RDEPENDS_${PN}-bcm43430 += "${PN}-cypress-license"
679LICENSE_${PN}-bcm4354 = "Firmware-cypress"
680RDEPENDS_${PN}-bcm4354 += "${PN}-cypress-license"
681LICENSE_${PN}-bcm4356-pcie = "Firmware-cypress"
682RDEPENDS_${PN}-bcm4356-pcie += "${PN}-cypress-license"
683LICENSE_${PN}-bcm4373 = "Firmware-cypress"
684RDEPENDS_${PN}-bcm4373 += "${PN}-cypress-license"
685
686# For Broadcom bnx2-mips
687#
688# which is a separate case to the other Broadcom firmwares since its
689# license is contained in the shared WHENCE file.
690
691LICENSE_${PN}-bnx2-mips = "WHENCE"
692LICENSE_${PN}-whence-license = "WHENCE"
693
694FILES_${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
695FILES_${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
696
697RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license"
698
699# For imx-sdma
700LICENSE_${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
701LICENSE_${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
702LICENSE_${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
703
704FILES_${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
705
706RPROVIDES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
707RREPLACES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
708RCONFLICTS_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
709
710FILES_${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
711
712FILES_${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
713
714RDEPENDS_${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
715RDEPENDS_${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
716
717# For iwlwifi
718LICENSE_${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
719LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
720LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
721LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
722LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
723LICENSE_${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
724LICENSE_${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
725LICENSE_${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
726LICENSE_${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
727LICENSE_${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
728LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
729LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
730LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
731LICENSE_${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
732LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
733LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
734LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
735LICENSE_${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
736LICENSE_${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
737LICENSE_${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
738LICENSE_${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
739LICENSE_${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
740LICENSE_${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
741LICENSE_${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
742LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
743
744
745FILES_${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
746FILES_${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
747FILES_${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
748FILES_${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
749FILES_${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
750FILES_${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
751FILES_${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
752FILES_${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
753FILES_${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
754FILES_${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
755FILES_${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
756FILES_${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
757FILES_${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
758FILES_${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
759FILES_${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
760FILES_${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
761FILES_${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
762FILES_${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
763FILES_${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
764FILES_${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
765FILES_${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
766FILES_${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
767FILES_${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
768FILES_${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
769
770RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
771RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
772RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
773RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
774RDEPENDS_${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
775RDEPENDS_${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
776RDEPENDS_${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
777RDEPENDS_${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
778RDEPENDS_${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
779RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
780RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
781RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
782RDEPENDS_${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
783RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
784RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
785RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
786RDEPENDS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
787RDEPENDS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
788RDEPENDS_${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
789RDEPENDS_${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
790RDEPENDS_${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
791RDEPENDS_${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
792RDEPENDS_${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
793
794# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
795# firmwares that are not already included in other -iwlwifi- packages.
796# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
797# These are distinct in order to allow the -misc firmwares to be installed
798# without pulling in every other iwlwifi package.
799ALLOW_EMPTY_${PN}-iwlwifi = "1"
800ALLOW_EMPTY_${PN}-iwlwifi-misc = "1"
801
802# Handle package updating for the newly merged iwlwifi groupings
803RPROVIDES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
804RREPLACES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
805RCONFLICTS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
806
807RPROVIDES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
808RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
809RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
810
811# For ibt
812LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware"
813LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
814LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
815LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware"
816LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware"
817LICENSE_${PN}-ibt-17 = "Firmware-ibt_firmware"
818LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware"
819
820FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
821FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
822FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
823FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
824FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
825FILES_${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
826FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/ibt-*"
827
828RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
829RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
830RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license"
831RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license"
832RDEPENDS_${PN}-ibt-17 = "${PN}-ibt-license"
833RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license"
834
835ALLOW_EMPTY_${PN}-ibt= "1"
836ALLOW_EMPTY_${PN}-ibt-misc = "1"
837
838LICENSE_${PN}-i915 = "Firmware-i915"
839LICENSE_${PN}-i915-license = "Firmware-i915"
840FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
841FILES_${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
842RDEPENDS_${PN}-i915 = "${PN}-i915-license"
843
844FILES_${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
845LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst"
846LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst"
847FILES_${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
848RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license"
849
850# For QAT
851LICENSE_${PN}-qat = "Firmware-qat"
852LICENSE_${PN}-qat-license = "Firmware-qat"
853FILES_${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
854FILES_${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
855RDEPENDS_${PN}-qat = "${PN}-qat-license"
856
857# For QCOM VPU/GPU
858LICENSE_${PN}-qcom-license = "Firmware-qcom"
859FILES_${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
860FILES_${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
861FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
862FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
863FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
864RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
865RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
866RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
867RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
868
869FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
870
871# For other firmwares
872# Maybe split out to separate packages when needed.
873LICENSE_${PN} = "\
874 Firmware-Abilis \
875 & Firmware-agere \
876 & Firmware-amdgpu \
877 & Firmware-amd-ucode \
878 & Firmware-atmel \
879 & Firmware-ca0132 \
880 & Firmware-cavium \
881 & Firmware-chelsio_firmware \
882 & Firmware-cw1200 \
883 & Firmware-dib0700 \
884 & Firmware-e100 \
885 & Firmware-ene_firmware \
886 & Firmware-fw_sst_0f28 \
887 & Firmware-go7007 \
888 & Firmware-hfi1_firmware \
889 & Firmware-i2400m \
890 & Firmware-ibt_firmware \
891 & Firmware-it913x \
892 & Firmware-IntcSST2 \
893 & Firmware-kaweth \
894 & Firmware-moxa \
895 & Firmware-myri10ge_firmware \
896 & Firmware-nvidia \
897 & Firmware-OLPC \
898 & Firmware-ath9k-htc \
899 & Firmware-phanfw \
900 & Firmware-qat \
901 & Firmware-qcom \
902 & Firmware-qla1280 \
903 & Firmware-qla2xxx \
904 & Firmware-r8a779x_usb3 \
905 & Firmware-radeon \
906 & Firmware-ralink_a_mediatek_company_firmware \
907 & Firmware-ralink-firmware \
908 & Firmware-imx-sdma_firmware \
909 & Firmware-siano \
910 & Firmware-tda7706-firmware \
911 & Firmware-ti-connectivity \
912 & Firmware-ti-keystone \
913 & Firmware-ueagle-atm4-firmware \
914 & Firmware-wl1251 \
915 & Firmware-xc4000 \
916 & Firmware-xc5000 \
917 & Firmware-xc5000c \
918 & WHENCE \
919"
920
921FILES_${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
922FILES_${PN} += "${nonarch_base_libdir}/firmware/*"
923RDEPENDS_${PN} += "${PN}-license"
924RDEPENDS_${PN} += "${PN}-whence-license"
925
926# Make linux-firmware depend on all of the split-out packages.
927# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
928# Make linux-firmware-ibt depend on all of the split-out ibt packages.
929python populate_packages_prepend () {
930 firmware_pkgs = oe.utils.packages_filter_out_system(d)
931 d.appendVar('RRECOMMENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
932
933 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
934 d.appendVar('RRECOMMENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
935
936 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
937 d.appendVar('RRECOMMENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
938}
939
940# Firmware files are generally not ran on the CPU, so they can be
941# allarch despite being architecture specific
942INSANE_SKIP = "arch"