summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb1579
1 files changed, 1579 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb
new file mode 100644
index 0000000000..1fd44f4d53
--- /dev/null
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20240220.bb
@@ -0,0 +1,1579 @@
1SUMMARY = "Firmware files for use with Linux kernel"
2HOMEPAGE = "https://www.kernel.org/"
3DESCRIPTION = "Linux firmware is a package distributed alongside the Linux kernel \
4that contains firmware binary blobs necessary for partial or full functionality \
5of certain hardware devices."
6SECTION = "kernel"
7
8LICENSE = "\
9 Firmware-Abilis \
10 & Firmware-adsp_sst \
11 & Firmware-agere \
12 & Firmware-amdgpu \
13 & Firmware-amd-ucode \
14 & Firmware-amlogic_vdec \
15 & Firmware-amphion_vpu \
16 & Firmware-atheros_firmware \
17 & Firmware-atmel \
18 & Firmware-broadcom_bcm43xx \
19 & Firmware-ca0132 \
20 & Firmware-cavium \
21 & Firmware-chelsio_firmware \
22 & Firmware-cirrus \
23 & Firmware-cnm \
24 & Firmware-cw1200 \
25 & Firmware-cypress \
26 & Firmware-dib0700 \
27 & Firmware-e100 \
28 & Firmware-ene_firmware \
29 & Firmware-fw_sst_0f28 \
30 & Firmware-go7007 \
31 & Firmware-GPLv2 \
32 & Firmware-hfi1_firmware \
33 & Firmware-i915 \
34 & Firmware-ibt_firmware \
35 & Firmware-ice \
36 & Firmware-ice_enhanced \
37 & Firmware-it913x \
38 & Firmware-iwlwifi_firmware \
39 & Firmware-IntcSST2 \
40 & Firmware-kaweth \
41 & Firmware-linaro \
42 & Firmware-Lontium \
43 & Firmware-Marvell \
44 & Firmware-mediatek \
45 & Firmware-microchip \
46 & Firmware-moxa \
47 & Firmware-myri10ge_firmware \
48 & Firmware-netronome \
49 & Firmware-nvidia \
50 & Firmware-nxp \
51 & Firmware-nxp_mc_firmware \
52 & Firmware-OLPC \
53 & Firmware-ath9k-htc \
54 & Firmware-phanfw \
55 & Firmware-powervr \
56 & Firmware-qat \
57 & Firmware-qcom \
58 & Firmware-qcom-yamato \
59 & Firmware-qla1280 \
60 & Firmware-qla2xxx \
61 & Firmware-qualcommAthos_ar3k \
62 & Firmware-qualcommAthos_ath10k \
63 & Firmware-r8a779x_usb3 \
64 & Firmware-radeon \
65 & Firmware-ralink_a_mediatek_company_firmware \
66 & Firmware-ralink-firmware \
67 & Firmware-rockchip \
68 & Firmware-rtlwifi_firmware \
69 & Firmware-imx-sdma_firmware \
70 & Firmware-siano \
71 & Firmware-ti-connectivity \
72 & Firmware-ti-keystone \
73 & Firmware-ueagle-atm4-firmware \
74 & Firmware-via_vt6656 \
75 & Firmware-wl1251 \
76 & Firmware-xc4000 \
77 & Firmware-xc5000 \
78 & Firmware-xc5000c \
79 & WHENCE \
80"
81
82LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
83 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
84 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
85 file://LICENSE.amdgpu;md5=a2589a05ea5b6bd2b7f4f623c7e7a649 \
86 file://LICENSE.amd-ucode;md5=6ca90c57f7b248de1e25c7f68ffc4698 \
87 file://LICENSE.amlogic_vdec;md5=dc44f59bf64a81643e500ad3f39a468a \
88 file://LICENSE.amphion_vpu;md5=2bcdc00527b2d0542bd92b52aaec2b60 \
89 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
90 file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \
91 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
92 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
93 file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \
94 file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
95 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
96 file://LICENSE.cirrus;md5=662ea2c1a8888f7d79ed7f27c27472e1 \
97 file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0 \
98 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
99 file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \
100 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
101 file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \
102 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
103 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
104 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
105 file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
106 file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \
107 file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \
108 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
109 file://LICENSE.ice;md5=742ab4850f2670792940e6d15c974b2f \
110 file://LICENSE.ice_enhanced;md5=f305cfc31b64f95f774f9edd9df0224d \
111 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
112 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
113 file://LICENCE.iwlwifi_firmware;md5=2ce6786e0fc11ac6e36b54bb9b799f1b \
114 file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
115 file://LICENCE.linaro;md5=936d91e71cf9cd30e733db4bf11661cc \
116 file://LICENSE.Lontium;md5=4ec8dc582ff7295f39e2ca6a7b0be2b6 \
117 file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \
118 file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \
119 file://LICENCE.microchip;md5=db753b00305675dfbf120e3f24a47277 \
120 file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \
121 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
122 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \
123 file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \
124 file://LICENCE.NXP;md5=58bb8ba632cd729b9ba6183bc6aed36f \
125 file://LICENSE.nxp;md5=cca321ca1524d6a1e4fed87486cd82dc \
126 file://LICENSE.nxp_mc_firmware;md5=9dc97e4b279b3858cae8879ae2fe5dd7 \
127 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
128 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
129 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
130 file://LICENSE.powervr;md5=83045ed2a2cda15b4eaff682c98c9533 \
131 file://LICENCE.qat_firmware;md5=72de83dfd9b87be7685ed099a39fbea4 \
132 file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \
133 file://LICENSE.qcom_yamato;md5=d0de0eeccaf1843a850bf7a6777eec5c \
134 file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \
135 file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \
136 file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \
137 file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \
138 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
139 file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \
140 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
141 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
142 file://LICENCE.rockchip;md5=5fd70190c5ed39734baceada8ecced26 \
143 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
144 file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \
145 file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \
146 file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \
147 file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \
148 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
149 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
150 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
151 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
152 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
153 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
154 file://WHENCE;md5=${WHENCE_CHKSUM} \
155 "
156# WHENCE checksum is defined separately to ease overriding it if
157# class-devupstream is selected.
158WHENCE_CHKSUM = "a344e6c28970fc7daafa81c10247aeb6"
159
160# These are not common licenses, set NO_GENERIC_LICENSE for them
161# so that the license files will be copied from fetched source
162NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
163NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst"
164NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
165NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu"
166NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
167NO_GENERIC_LICENSE[Firmware-amlogic_vdec] = "LICENSE.amlogic_vdec"
168NO_GENERIC_LICENSE[Firmware-amphion_vpu] = "LICENSE.amphion_vpu"
169NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
170NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel"
171NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
172NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
173NO_GENERIC_LICENSE[Firmware-cadence] = "LICENCE.cadence"
174NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium"
175NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
176NO_GENERIC_LICENSE[Firmware-cirrus] = "LICENSE.cirrus"
177NO_GENERIC_LICENSE[Firmware-cnm] = "LICENCE.cnm"
178NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
179NO_GENERIC_LICENSE[Firmware-cypress] = "LICENCE.cypress"
180NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
181NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100"
182NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
183NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
184NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
185NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2"
186NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware"
187NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915"
188NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
189NO_GENERIC_LICENSE[Firmware-ice] = "LICENSE.ice"
190NO_GENERIC_LICENSE[Firmware-ice_enhanced] = "LICENSE.ice_enhanced"
191NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
192NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
193NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
194NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth"
195NO_GENERIC_LICENSE[Firmware-linaro] = "LICENCE.linaro"
196NO_GENERIC_LICENSE[Firmware-Lontium] = "LICENSE.Lontium"
197NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
198NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek"
199NO_GENERIC_LICENSE[Firmware-microchip] = "LICENCE.microchip"
200NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa"
201NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
202NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome"
203NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia"
204NO_GENERIC_LICENSE[Firmware-nxp] = "LICENSE.nxp"
205NO_GENERIC_LICENSE[Firmware-nxp_mc_firmware] = "LICENSE.nxp_mc_firmware"
206NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
207NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
208NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
209NO_GENERIC_LICENSE[Firmware-powervr] = "LICENSE.powervr"
210NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware"
211NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom"
212NO_GENERIC_LICENSE[Firmware-qcom-yamato] = "LICENSE.qcom_yamato"
213NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280"
214NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
215NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k"
216NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k"
217NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
218NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
219NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
220NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
221NO_GENERIC_LICENSE[Firmware-rockchip] = "LICENCE.rockchip"
222NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
223NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
224NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware"
225NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
226NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone"
227NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
228NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
229NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
230NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
231NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
232NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
233NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
234
235PE = "1"
236
237SRC_URI = "\
238 ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \
239"
240
241BBCLASSEXTEND = "devupstream:target"
242SRC_URI:class-devupstream = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=https;branch=main"
243# Pin this to the 20220509 release, override this in local.conf
244SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae"
245
246SRC_URI[sha256sum] = "bf0f239dc0801e9d6bf5d5fb3e2f549575632cf4688f4348184199cb02c2bcd7"
247
248inherit allarch
249
250CLEANBROKEN = "1"
251
252do_compile() {
253 :
254}
255
256do_install() {
257 # install-nodedup avoids rdfind dependency
258 oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install-nodedup
259 cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
260}
261
262
263PACKAGES =+ "${PN}-amphion-vpu-license ${PN}-amphion-vpu \
264 ${PN}-cw1200-license ${PN}-cw1200 \
265 ${PN}-ralink-license ${PN}-ralink \
266 ${PN}-mt76x-license ${PN}-mt7601u ${PN}-mt7650 ${PN}-mt76x2 \
267 ${PN}-radeon-license ${PN}-radeon \
268 ${PN}-amdgpu-license ${PN}-amdgpu \
269 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
270 ${PN}-mediatek-license ${PN}-mediatek \
271 ${PN}-microchip-license ${PN}-microchip \
272 ${PN}-moxa-license ${PN}-moxa \
273 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 \
274 ${PN}-sd8887 ${PN}-sd8897 ${PN}-sd8997 ${PN}-usb8997 \
275 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
276 ${PN}-ti-keystone-license ${PN}-ti-keystone \
277 ${PN}-vt6656-license ${PN}-vt6656 \
278 ${PN}-rs9113 ${PN}-rs9116 \
279 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
280 ${PN}-rtl8761 \
281 ${PN}-rtl8168 \
282 ${PN}-rtl8822 \
283 ${PN}-rtl-nic \
284 ${PN}-cypress-license \
285 ${PN}-broadcom-license \
286 ${PN}-bcm-0bb4-0306 \
287 ${PN}-bcm43143 \
288 ${PN}-bcm43236b \
289 ${PN}-bcm43241b0 \
290 ${PN}-bcm43241b4 \
291 ${PN}-bcm43241b5 \
292 ${PN}-bcm43242a \
293 ${PN}-bcm4329 \
294 ${PN}-bcm4329-fullmac \
295 ${PN}-bcm4330 \
296 ${PN}-bcm4334 \
297 ${PN}-bcm43340 \
298 ${PN}-bcm4335 \
299 ${PN}-bcm43362 \
300 ${PN}-bcm4339 \
301 ${PN}-bcm43430 \
302 ${PN}-bcm43430a0 \
303 ${PN}-bcm43455 \
304 ${PN}-bcm4350 \
305 ${PN}-bcm4350c2 \
306 ${PN}-bcm4354 \
307 ${PN}-bcm4356 \
308 ${PN}-bcm4356-pcie \
309 ${PN}-bcm43569 \
310 ${PN}-bcm43570 \
311 ${PN}-bcm4358 \
312 ${PN}-bcm43602 \
313 ${PN}-bcm4366b \
314 ${PN}-bcm4366c \
315 ${PN}-bcm4371 \
316 ${PN}-bcm4373 \
317 ${PN}-bcm43xx \
318 ${PN}-bcm43xx-hdr \
319 ${PN}-cirrus-license ${PN}-cirrus \
320 ${PN}-cnm-license ${PN}-cnm \
321 ${PN}-atheros-license ${PN}-ar5523 ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k ${PN}-ath3k \
322 ${PN}-gplv2-license ${PN}-carl9170 \
323 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-ath11k ${PN}-qca \
324 \
325 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
326 \
327 ${PN}-iwlwifi-license ${PN}-iwlwifi \
328 ${PN}-iwlwifi-135-6 \
329 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
330 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
331 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
332 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
333 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
334 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
335 ${PN}-iwlwifi-7260 \
336 ${PN}-iwlwifi-7265 \
337 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
338 ${PN}-iwlwifi-9000 \
339 ${PN}-iwlwifi-misc \
340 ${PN}-ibt-license ${PN}-ibt \
341 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
342 ${PN}-ibt-17 \
343 ${PN}-ibt-20 \
344 ${PN}-ibt-misc \
345 ${PN}-i915-license ${PN}-i915 \
346 ${PN}-ice-license ${PN}-ice \
347 ${PN}-ice-enhanced-license ${PN}-ice-enhanced \
348 ${PN}-adsp-sst-license ${PN}-adsp-sst \
349 ${PN}-bnx2 \
350 ${PN}-bnx2x \
351 ${PN}-liquidio \
352 ${PN}-mellanox \
353 ${PN}-nvidia-license \
354 ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
355 ${PN}-nvidia-gpu \
356 ${PN}-nxp-license \
357 ${PN}-nxp8987-sdio \
358 ${PN}-nxp8997-common \
359 ${PN}-nxp8997-pcie \
360 ${PN}-nxp8997-sdio \
361 ${PN}-nxp9098-common \
362 ${PN}-nxp9098-pcie \
363 ${PN}-nxp9098-sdio \
364 ${PN}-nxpiw416-sdio \
365 ${PN}-nxpiw612-sdio \
366 ${PN}-nxp-mc-license ${PN}-nxp-mc \
367 ${PN}-netronome-license ${PN}-netronome \
368 ${PN}-olpc-license ${PN}-olpc \
369 ${PN}-phanfw-license ${PN}-phanfw \
370 ${PN}-powervr-license ${PN}-powervr \
371 ${PN}-prestera \
372 ${PN}-qat ${PN}-qat-license \
373 ${PN}-qed \
374 ${PN}-qcom-license ${PN}-qcom-yamato-license \
375 ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 ${PN}-qcom-venus-5.2 ${PN}-qcom-venus-5.4 ${PN}-qcom-venus-6.0 \
376 ${PN}-qcom-vpu-1.0 ${PN}-qcom-vpu-2.0 \
377 ${PN}-qcom-adreno-a2xx ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a4xx ${PN}-qcom-adreno-a530 \
378 ${PN}-qcom-adreno-a630 ${PN}-qcom-adreno-a650 ${PN}-qcom-adreno-a660 ${PN}-qcom-adreno-a702 \
379 ${PN}-qcom-apq8016-modem ${PN}-qcom-apq8016-wifi \
380 ${PN}-qcom-apq8096-adreno ${PN}-qcom-apq8096-audio ${PN}-qcom-apq8096-modem \
381 ${PN}-qcom-qcm2290-adreno ${PN}-qcom-qcm2290-audio ${PN}-qcom-qcm2290-modem ${PN}-qcom-qcm2290-wifi \
382 ${PN}-qcom-qrb4210-adreno ${PN}-qcom-qrb4210-audio ${PN}-qcom-qrb4210-compute \
383 ${PN}-qcom-qrb4210-modem ${PN}-qcom-qrb4210-wifi \
384 ${PN}-qcom-sc8280xp-lenovo-x13s-compat \
385 ${PN}-qcom-sc8280xp-lenovo-x13s-audio \
386 ${PN}-qcom-sc8280xp-lenovo-x13s-adreno \
387 ${PN}-qcom-sc8280xp-lenovo-x13s-compute \
388 ${PN}-qcom-sc8280xp-lenovo-x13s-sensors \
389 ${PN}-qcom-sdm845-adreno ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
390 ${PN}-qcom-sdm845-thundercomm-db845c-sensors \
391 ${PN}-qcom-sm8250-adreno ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \
392 ${PN}-qcom-sm8250-thundercomm-rb5-sensors \
393 ${PN}-qla2xxx ${PN}-qla2xxx-license \
394 ${PN}-rockchip-license ${PN}-rockchip-dptx \
395 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \
396 ${PN}-lt9611uxc ${PN}-lontium-license \
397 ${PN}-whence-license \
398 ${PN}-wl1251-license ${PN}-wl1251 \
399 ${PN}-xc4000-license ${PN}-xc4000 \
400 ${PN}-xc5000-license ${PN}-xc5000 \
401 ${PN}-xc5000c-license ${PN}-xc5000c \
402 ${PN}-license \
403 "
404
405# For Amphion VPU
406LICENSE:${PN}-amphion-vpu = "Firmware-amphion_vpu"
407LICENSE:${PN}-amphion-vpu-license = "Firmware-amphion_vpu"
408
409FILES:${PN}-amphion-vpu = "${nonarch_base_libdir}/firmware/amphion/*"
410FILES:${PN}-amphion-vpu-license = " \
411 ${nonarch_base_libdir}/firmware/LICENSE.amphion_vpu \
412"
413RDEPENDS:${PN}-amphion-vpu += "${PN}-amphion-vpu-license"
414
415# For cw1200
416LICENSE:${PN}-cw1200 = "Firmware-cw1200"
417LICENSE:${PN}-cw1200-license = "Firmware-cw1200"
418
419FILES:${PN}-cw1200 = "${nonarch_base_libdir}/firmware/wsm_22.bin"
420FILES:${PN}-cw1200-license = "${nonarch_base_libdir}/firmware/LICENCE.cw1200"
421
422RDEPENDS:${PN}-cw1200 += "${PN}-cw1200-license"
423
424# For atheros
425LICENSE:${PN}-ar5523 = "Firmware-atheros_firmware"
426LICENSE:${PN}-ar9170 = "Firmware-atheros_firmware"
427LICENSE:${PN}-ath3k = "Firmware-atheros_firmware"
428LICENSE:${PN}-ath6k = "Firmware-atheros_firmware"
429LICENSE:${PN}-ath9k = "Firmware-atheros_firmware"
430LICENSE:${PN}-atheros-license = "Firmware-atheros_firmware"
431
432FILES:${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
433FILES:${PN}-ar5523 = " \
434 ${nonarch_base_libdir}/firmware/ar5523.bin \
435"
436FILES:${PN}-ar9170 = " \
437 ${nonarch_base_libdir}/firmware/ar9170*.fw \
438"
439FILES:${PN}-ath3k = " \
440 ${nonarch_base_libdir}/firmware/ath3k*fw \
441"
442FILES:${PN}-ath6k = " \
443 ${nonarch_base_libdir}/firmware/ath6k \
444"
445FILES:${PN}-ath9k = " \
446 ${nonarch_base_libdir}/firmware/ar9271.fw \
447 ${nonarch_base_libdir}/firmware/ar7010*.fw \
448 ${nonarch_base_libdir}/firmware/htc_9271.fw \
449 ${nonarch_base_libdir}/firmware/htc_7010.fw \
450 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
451 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
452"
453
454RDEPENDS:${PN}-ar5523 += "${PN}-atheros-license"
455RDEPENDS:${PN}-ar9170 += "${PN}-atheros-license"
456RDEPENDS:${PN}-ath6k += "${PN}-atheros-license"
457RDEPENDS:${PN}-ath9k += "${PN}-atheros-license"
458
459# For carl9170
460LICENSE:${PN}-carl9170 = "Firmware-GPLv2"
461LICENSE:${PN}-gplv2-license = "Firmware-GPLv2"
462
463FILES:${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
464FILES:${PN}-carl9170 = " \
465 ${nonarch_base_libdir}/firmware/carl9170*.fw \
466"
467
468RDEPENDS:${PN}-carl9170 += "${PN}-gplv2-license"
469
470# For QualCommAthos
471LICENSE:${PN}-ar3k = "Firmware-qualcommAthos_ar3k & Firmware-atheros_firmware"
472LICENSE:${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
473LICENSE:${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
474LICENSE:${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
475LICENSE:${PN}-qca = "Firmware-qualcommAthos_ath10k"
476
477FILES:${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
478FILES:${PN}-ar3k = " \
479 ${nonarch_base_libdir}/firmware/ar3k \
480"
481
482FILES:${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
483FILES:${PN}-ath10k = " \
484 ${nonarch_base_libdir}/firmware/ath10k \
485"
486
487FILES:${PN}-ath11k = " \
488 ${nonarch_base_libdir}/firmware/ath11k \
489"
490
491FILES:${PN}-qca = " \
492 ${nonarch_base_libdir}/firmware/qca \
493"
494
495RDEPENDS:${PN}-ar3k += "${PN}-ar3k-license ${PN}-atheros-license"
496RDEPENDS:${PN}-ath10k += "${PN}-ath10k-license"
497RDEPENDS:${PN}-ath11k += "${PN}-ath10k-license"
498RDEPENDS:${PN}-qca += "${PN}-ath10k-license"
499
500# For ralink
501LICENSE:${PN}-ralink = "Firmware-ralink-firmware"
502LICENSE:${PN}-ralink-license = "Firmware-ralink-firmware"
503
504FILES:${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
505FILES:${PN}-ralink = " \
506 ${nonarch_base_libdir}/firmware/rt*.bin \
507"
508
509RDEPENDS:${PN}-ralink += "${PN}-ralink-license"
510
511# For mediatek MT7601U
512LICENSE:${PN}-mt76x-license = "Firmware-ralink_a_mediatek_company_firmware"
513FILES:${PN}-mt76x-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
514
515LICENSE:${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
516
517FILES:${PN}-mt7601u = " \
518 ${nonarch_base_libdir}/firmware/mediatek/mt7601u.bin \
519 ${nonarch_base_libdir}/firmware/mt7601u.bin \
520"
521RDEPENDS:${PN}-mt7601u += "${PN}-mt76x-license"
522
523# For MediaTek Bluetooth USB driver 7650
524LICENSE:${PN}-mt7650 = "Firmware-ralink_a_mediatek_company_firmware"
525
526FILES:${PN}-mt7650 = " \
527 ${nonarch_base_libdir}/firmware/mediatek/mt7650.bin \
528 ${nonarch_base_libdir}/firmware/mt7650.bin \
529"
530RDEPENDS:${PN}-mt7650 += "${PN}-mt76x-license"
531
532# For MediaTek MT76x2 Wireless MACs
533LICENSE:${PN}-mt76x2 = "Firmware-ralink_a_mediatek_company_firmware"
534
535FILES:${PN}-mt76x2 = " \
536 ${nonarch_base_libdir}/firmware/mediatek/mt7662.bin \
537 ${nonarch_base_libdir}/firmware/mt7662.bin \
538 ${nonarch_base_libdir}/firmware/mediatek/mt7662_rom_patch.bin \
539 ${nonarch_base_libdir}/firmware/mt7662_rom_patch.bin \
540"
541RDEPENDS:${PN}-mt76x2 += "${PN}-mt76x-license"
542
543# For MediaTek
544LICENSE:${PN}-mediatek = "Firmware-mediatek"
545LICENSE:${PN}-mediatek-license = "Firmware-mediatek"
546
547FILES:${PN}-mediatek = " \
548 ${nonarch_base_libdir}/firmware/mediatek/* \
549 ${nonarch_base_libdir}/firmware/vpu_d.bin \
550 ${nonarch_base_libdir}/firmware/vpu_p.bin \
551"
552FILES:${PN}-mediatek-license = " \
553 ${nonarch_base_libdir}/firmware/LICENCE.mediatek \
554"
555RDEPENDS:${PN}-mediatek += "${PN}-mediatek-license"
556
557# For Microchip
558LICENSE:${PN}-microchip = "Firmware-microchip"
559LICENSE:${PN}-microchip-license = "Firmware-microchip"
560
561FILES:${PN}-microchip = "${nonarch_base_libdir}/firmware/microchip/*"
562FILES:${PN}-microchip-license = " \
563 ${nonarch_base_libdir}/firmware/LICENCE.microchip \
564"
565RDEPENDS:${PN}-microchip += "${PN}-microchip-license"
566
567# For MOXA
568LICENSE:${PN}-moxa = "Firmware-moxa"
569LICENSE:${PN}-moxa-license = "Firmware-moxa"
570
571FILES:${PN}-moxa = "${nonarch_base_libdir}/firmware/moxa"
572FILES:${PN}-moxa-license = "${nonarch_base_libdir}/firmware/LICENCE.moxa"
573
574RDEPENDS:${PN}-moxa += "${PN}-moxa-license"
575
576# For radeon
577
578LICENSE:${PN}-radeon = "Firmware-radeon"
579LICENSE:${PN}-radeon-license = "Firmware-radeon"
580
581FILES:${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
582FILES:${PN}-radeon = " \
583 ${nonarch_base_libdir}/firmware/radeon \
584"
585
586RDEPENDS:${PN}-radeon += "${PN}-radeon-license"
587
588# For amdgpu
589LICENSE:${PN}-amdgpu = "Firmware-amdgpu"
590LICENSE:${PN}-amdgpu-license = "Firmware-amdgpu"
591
592FILES:${PN}-amdgpu-license = "${nonarch_base_libdir}/firmware/LICENSE.amdgpu"
593FILES:${PN}-amdgpu = " \
594 ${nonarch_base_libdir}/firmware/amdgpu \
595"
596
597RDEPENDS:${PN}-amdgpu += "${PN}-amdgpu-license"
598
599# For lontium
600LICENSE:${PN}-lt9611uxc = "Firmware-Lontium"
601
602FILES:${PN}-lontium-license = "${nonarch_base_libdir}/firmware/LICENSE.Lontium"
603FILES:${PN}-lt9611uxc = "${nonarch_base_libdir}/firmware/lt9611uxc_fw.bin"
604
605# For marvell
606LICENSE:${PN}-pcie8897 = "Firmware-Marvell"
607LICENSE:${PN}-pcie8997 = "Firmware-Marvell"
608LICENSE:${PN}-sd8686 = "Firmware-Marvell"
609LICENSE:${PN}-sd8688 = "Firmware-Marvell"
610LICENSE:${PN}-sd8787 = "Firmware-Marvell"
611LICENSE:${PN}-sd8797 = "Firmware-Marvell"
612LICENSE:${PN}-sd8801 = "Firmware-Marvell"
613LICENSE:${PN}-sd8887 = "Firmware-Marvell"
614LICENSE:${PN}-sd8897 = "Firmware-Marvell"
615LICENSE:${PN}-sd8997 = "Firmware-Marvell"
616LICENSE:${PN}-usb8997 = "Firmware-Marvell"
617LICENSE:${PN}-marvell-license = "Firmware-Marvell"
618
619FILES:${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
620FILES:${PN}-pcie8897 = " \
621 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
622"
623FILES:${PN}-pcie8997 = " \
624 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
625 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
626 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
627"
628FILES:${PN}-sd8686 = " \
629 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
630 ${nonarch_base_libdir}/firmware/sd8686* \
631"
632FILES:${PN}-sd8688 = " \
633 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
634 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
635"
636FILES:${PN}-sd8787 = " \
637 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
638"
639FILES:${PN}-sd8797 = " \
640 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
641"
642FILES:${PN}-sd8801 = " \
643 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
644"
645FILES:${PN}-sd8887 = " \
646 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
647"
648FILES:${PN}-sd8897 = " \
649 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
650"
651do_install:append() {
652 # The kernel 5.6.x driver still uses the old name, provide a symlink for
653 # older kernels
654 ln -fs sdsd8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin
655}
656FILES:${PN}-sd8997 = " \
657 ${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin \
658 ${nonarch_base_libdir}/firmware/mrvl/sdsd8997_combo_v4.bin \
659"
660FILES:${PN}-usb8997 = " \
661 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
662"
663
664RDEPENDS:${PN}-sd8686 += "${PN}-marvell-license"
665RDEPENDS:${PN}-sd8688 += "${PN}-marvell-license"
666RDEPENDS:${PN}-sd8787 += "${PN}-marvell-license"
667RDEPENDS:${PN}-sd8797 += "${PN}-marvell-license"
668RDEPENDS:${PN}-sd8801 += "${PN}-marvell-license"
669RDEPENDS:${PN}-sd8887 += "${PN}-marvell-license"
670RDEPENDS:${PN}-sd8897 += "${PN}-marvell-license"
671RDEPENDS:${PN}-sd8997 += "${PN}-marvell-license"
672RDEPENDS:${PN}-usb8997 += "${PN}-marvell-license"
673
674# For netronome
675LICENSE:${PN}-netronome = "Firmware-netronome"
676
677FILES:${PN}-netronome-license = " \
678 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
679"
680FILES:${PN}-netronome = " \
681 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
682 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
683 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
684 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
685 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0011_2x40.nffw \
686 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0012_2x40.nffw \
687 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0078-0011_1x100.nffw \
688 ${nonarch_base_libdir}/firmware/netronome/bpf \
689 ${nonarch_base_libdir}/firmware/netronome/flower \
690 ${nonarch_base_libdir}/firmware/netronome/nic \
691 ${nonarch_base_libdir}/firmware/netronome/nic-sriov \
692"
693
694RDEPENDS:${PN}-netronome += "${PN}-netronome-license"
695
696# For NXP
697LICENSE:${PN}-nxp8987-sdio = "Firmware-nxp"
698LICENSE:${PN}-nxp8997-common = "Firmware-nxp"
699LICENSE:${PN}-nxp8997-pcie = "Firmware-nxp"
700LICENSE:${PN}-nxp8997-sdio = "Firmware-nxp"
701LICENSE:${PN}-nxp9098-common = "Firmware-nxp"
702LICENSE:${PN}-nxp9098-pcie = "Firmware-nxp"
703LICENSE:${PN}-nxp9098-sdio = "Firmware-nxp"
704LICENSE:${PN}-nxpiw416-sdio = "Firmware-nxp"
705LICENSE:${PN}-nxpiw612-sdio = "Firmware-nxp"
706LICENSE:${PN}-nxp-license = "Firmware-nxp"
707
708FILES:${PN}-nxp8987-sdio = "${nonarch_base_libdir}/firmware/nxp/*8987*"
709FILES:${PN}-nxp8997-common = " \
710 ${nonarch_base_libdir}/firmware/nxp/uartuart8997_bt_v4.bin \
711 ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \
712"
713ALLOW_EMPTY:${PN}-nxp8997-pcie = "1"
714ALLOW_EMPTY:${PN}-nxp8997-sdio = "1"
715FILES:${PN}-nxp9098-common = "${nonarch_base_libdir}/firmware/nxp/uartuart9098_bt_v1.bin"
716ALLOW_EMPTY:${PN}-nxp9098-pcie = "1"
717ALLOW_EMPTY:${PN}-nxp9098-sdio = "1"
718FILES:${PN}-nxpiw416-sdio = "${nonarch_base_libdir}/firmware/nxp/*iw416*"
719FILES:${PN}-nxpiw612-sdio = "${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se"
720FILES:${PN}-nxp-license = "${nonarch_base_libdir}/firmware/LICENSE.nxp"
721
722RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-license"
723RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-license"
724RDEPENDS:${PN}-nxp8997-pcie += "${PN}-nxp8997-common"
725RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common"
726RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-license"
727RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common"
728RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common"
729RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-license"
730RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-license"
731
732# For nxp-mc
733LICENSE:${PN}-nxp-mc = "Firmware-nxp_mc_firmware"
734LICENSE:${PN}-nxp-mc-license = "Firmware-nxp_mc_firmware"
735
736FILES:${PN}-nxp-mc= "${nonarch_base_libdir}/firmware/dpaa2/mc/*"
737FILES:${PN}-nxp-mc-license = " \
738 ${nonarch_base_libdir}/firmware/LICENSE.nxp_mc_firmware \
739"
740RDEPENDS:${PN}-nxp-mc += "${PN}-nxp-mc-license"
741
742# For Nvidia
743LICENSE:${PN}-nvidia-gpu = "Firmware-nvidia"
744LICENSE:${PN}-nvidia-tegra = "Firmware-nvidia"
745LICENSE:${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
746LICENSE:${PN}-nvidia-license = "Firmware-nvidia"
747
748FILES:${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia"
749FILES:${PN}-nvidia-tegra = " \
750 ${nonarch_base_libdir}/firmware/nvidia/tegra* \
751 ${nonarch_base_libdir}/firmware/nvidia/gm20b \
752 ${nonarch_base_libdir}/firmware/nvidia/gp10b \
753"
754FILES:${PN}-nvidia-tegra-k1 = " \
755 ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
756 ${nonarch_base_libdir}/firmware/nvidia/gk20a \
757"
758FILES:${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia"
759
760RDEPENDS:${PN}-nvidia-gpu += "${PN}-nvidia-license"
761RDEPENDS:${PN}-nvidia-tegra += "${PN}-nvidia-license"
762RDEPENDS:${PN}-nvidia-tegra-k1 += "${PN}-nvidia-license"
763
764# For OLPC
765LICENSE:${PN}-olpc = "Firmware-OLPC"
766LICENSE:${PN}-olpc-license = "Firmware-OLPC"
767
768FILES:${PN}-olpc = " \
769 ${nonarch_base_libdir}/firmware/libertas/lbtf_sdio.bin \
770 ${nonarch_base_libdir}/firmware/lbtf_usb.bin \
771 ${nonarch_base_libdir}/firmware/libertas/usb8388_olpc.bin \
772"
773FILES:${PN}-olpc-license = "${nonarch_base_libdir}/firmware/LICENCE.OLPC"
774
775RDEPENDS:${PN}-olpc += "${PN}-olpc-license"
776
777# For phanfw
778LICENSE:${PN}-phanfw = "Firmware-phanfw"
779LICENSE:${PN}-phanfw-license = "Firmware-phanfw"
780
781FILES:${PN}-phanfw = "${nonarch_base_libdir}/firmware/phanfw.bin"
782FILES:${PN}-phanfw-license = "${nonarch_base_libdir}/firmware/LICENCE.phanfw"
783
784RDEPENDS:${PN}-phanfw += "${PN}-phanfw-license"
785
786# For PowerVR
787LICENSE:${PN}-powervr = "Firmware-powervr"
788LICENSE:${PN}-powervr-license = "Firmware-powervr"
789
790FILES:${PN}-powervr = "${nonarch_base_libdir}/firmware/powervr"
791FILES:${PN}-powervr-license = "${nonarch_base_libdir}/firmware/LICENSE.powervr"
792
793RDEPENDS:${PN}-powervr += "${PN}-powervr-license"
794
795# For qla2xxx
796LICENSE:${PN}-qla2xxx = "Firmware-qla2xxx"
797LICENSE:${PN}-qla2xxx-license = "Firmware-qla2xxx"
798
799FILES:${PN}-qla2xxx = "${nonarch_base_libdir}/firmware/ql2*"
800FILES:${PN}-qla2xxx-license = "${nonarch_base_libdir}/firmware/LICENCE.qla2xxx"
801
802RDEPENDS:${PN}-qla2xxx += "${PN}-qla2xxx-license"
803
804# For RSI RS911x WiFi
805LICENSE:${PN}-rs9113 = "WHENCE"
806LICENSE:${PN}-rs9116 = "WHENCE"
807
808FILES:${PN}-rs9113 = " ${nonarch_base_libdir}/firmware/rsi/rs9113*.rps "
809FILES:${PN}-rs9116 = " ${nonarch_base_libdir}/firmware/rsi/rs9116*.rps "
810
811RDEPENDS:${PN}-rs9113 += "${PN}-whence-license"
812RDEPENDS:${PN}-rs9116 += "${PN}-whence-license"
813
814# For rtl
815LICENSE:${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
816LICENSE:${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
817LICENSE:${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
818LICENSE:${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
819LICENSE:${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
820LICENSE:${PN}-rtl8761 = "Firmware-rtlwifi_firmware"
821LICENSE:${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
822LICENSE:${PN}-rtl8822 = "Firmware-rtlwifi_firmware"
823LICENSE:${PN}-rtl-license = "Firmware-rtlwifi_firmware"
824LICENSE:${PN}-rtl-nic = "WHENCE"
825LICENSE:${PN}-rtl8168 = "WHENCE"
826
827FILES:${PN}-rtl-license = " \
828 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
829"
830FILES:${PN}-rtl8188 = " \
831 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
832"
833FILES:${PN}-rtl8192cu = " \
834 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
835"
836FILES:${PN}-rtl8192ce = " \
837 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
838"
839FILES:${PN}-rtl8192su = " \
840 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
841"
842FILES:${PN}-rtl8723 = " \
843 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
844"
845FILES:${PN}-rtl8821 = " \
846 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
847 ${nonarch_base_libdir}/firmware/rtw88/rtw8821*.bin \
848"
849FILES:${PN}-rtl8761 = " \
850 ${nonarch_base_libdir}/firmware/rtl_bt/rtl8761*.bin \
851"
852FILES:${PN}-rtl8168 = " \
853 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
854"
855FILES:${PN}-rtl8822 = " \
856 ${nonarch_base_libdir}/firmware/rtl_bt/rtl8822*.bin \
857 ${nonarch_base_libdir}/firmware/rtw88/rtw8822*.bin \
858 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8822*.bin \
859"
860FILES:${PN}-rtl-nic = " \
861 ${nonarch_base_libdir}/firmware/rtl_nic/*.fw \
862"
863
864RDEPENDS:${PN}-rtl8188 += "${PN}-rtl-license"
865RDEPENDS:${PN}-rtl8192ce += "${PN}-rtl-license"
866RDEPENDS:${PN}-rtl8192cu += "${PN}-rtl-license"
867RDEPENDS:${PN}-rtl8192su = "${PN}-rtl-license"
868RDEPENDS:${PN}-rtl8723 += "${PN}-rtl-license"
869RDEPENDS:${PN}-rtl8821 += "${PN}-rtl-license"
870RDEPENDS:${PN}-rtl8761 += "${PN}-rtl-license"
871RDEPENDS:${PN}-rtl8822 += "${PN}-rtl-license"
872RDEPENDS:${PN}-rtl8168 += "${PN}-whence-license"
873RDEPENDS:${PN}-rtl-nic += "${PN}-whence-license"
874
875# For TI wl1251
876LICENSE:${PN}-wl1251 = "Firmware-wl1251"
877LICENSE:${PN}-wl1251-license = "Firmware-wl1251"
878
879FILES:${PN}-wl1251 = " \
880 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1251-fw.bin \
881 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1251-nvs.bin \
882"
883FILES:${PN}-wl1251-license = "${nonarch_base_libdir}/firmware/LICENCE.wl1251"
884
885RDEPENDS:${PN}-wl1251 += "${PN}-wl1251-license"
886
887# For ti-connectivity
888LICENSE:${PN}-wlcommon = "Firmware-ti-connectivity"
889LICENSE:${PN}-wl12xx = "Firmware-ti-connectivity"
890LICENSE:${PN}-wl18xx = "Firmware-ti-connectivity"
891LICENSE:${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
892
893FILES:${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
894# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
895# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
896# and drivers/net/wireless/ti/wlcore/spi.c.
897# While they're optional and actually only used to override the MAC
898# address on wl18xx, driver loading will delay (by udev timout - 60s)
899# if not there. So let's make it available always. Because it's a
900# symlink, both need to go to wlcommon.
901FILES:${PN}-wlcommon = " \
902 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
903 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
904 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
905"
906FILES:${PN}-wl12xx = " \
907 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
908"
909FILES:${PN}-wl18xx = " \
910 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
911"
912
913RDEPENDS:${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
914RDEPENDS:${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
915
916# For ti-keystone
917LICENSE:${PN}-ti-keystone = "Firmware-ti-keystone"
918LICENSE:${PN}-ti-keystone-license = "Firmware-ti-keystone"
919
920FILES:${PN}-ti-keystone = "${nonarch_base_libdir}/firmware/ti-keystone/*"
921FILES:${PN}-ti-keystone-license = " \
922 ${nonarch_base_libdir}/firmware/LICENCE.ti-keystone \
923"
924RDEPENDS:${PN}-ti-keystone += "${PN}-ti-keystone-license"
925
926# For vt6656
927LICENSE:${PN}-vt6656 = "Firmware-via_vt6656"
928LICENSE:${PN}-vt6656-license = "Firmware-via_vt6656"
929
930FILES:${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
931FILES:${PN}-vt6656 = " \
932 ${nonarch_base_libdir}/firmware/vntwusb.fw \
933"
934
935RDEPENDS:${PN}-vt6656 = "${PN}-vt6656-license"
936
937# For xc4000
938LICENSE:${PN}-xc4000 = "Firmware-xc4000"
939LICENSE:${PN}-xc4000-license = "Firmware-xc4000"
940
941FILES:${PN}-xc4000 = "${nonarch_base_libdir}/firmware/dvb-fe-xc4000-1.4.1.fw"
942FILES:${PN}-xc4000-license = "${nonarch_base_libdir}/firmware/LICENCE.xc4000"
943
944RDEPENDS:${PN}-xc4000 += "${PN}-xc4000-license"
945
946# For xc5000
947LICENSE:${PN}-xc5000 = "Firmware-xc5000"
948LICENSE:${PN}-xc5000-license = "Firmware-xc5000"
949
950FILES:${PN}-xc5000 = "${nonarch_base_libdir}/firmware/dvb-fe-xc5000-1.6.114.fw"
951FILES:${PN}-xc5000-license = "${nonarch_base_libdir}/firmware/LICENCE.xc5000"
952
953RDEPENDS:${PN}-xc5000 += "${PN}-xc5000-license"
954
955# For xc5000c
956LICENSE:${PN}-xc5000c = "Firmware-xc5000c"
957LICENSE:${PN}-xc5000c-license = "Firmware-xc5000c"
958
959FILES:${PN}-xc5000c = " \
960 ${nonarch_base_libdir}/firmware/dvb-fe-xc5000c-4.1.30.7.fw \
961"
962FILES:${PN}-xc5000c-license = "${nonarch_base_libdir}/firmware/LICENCE.xc5000c"
963
964RDEPENDS:${PN}-xc5000c += "${PN}-xc5000c-license"
965
966# For broadcom
967
968# 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
969
970LICENSE:${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
971FILES:${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
972
973# 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
974
975FILES:${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
976FILES:${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
977FILES:${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
978FILES:${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
979FILES:${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
980FILES:${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
981FILES:${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
982FILES:${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
983FILES:${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin \
984 ${nonarch_base_libdir}/firmware/cypress/cyfmac4339-sdio.bin \
985"
986FILES:${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
987FILES:${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
988FILES:${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
989FILES:${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
990FILES:${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
991 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
992"
993FILES:${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
994FILES:${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \
995 ${nonarch_base_libdir}/firmware/cypress/cyfmac43455-sdio.* \
996"
997FILES:${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
998FILES:${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
999FILES:${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.* \
1000 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-sdio.* \
1001"
1002FILES:${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
1003FILES:${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin \
1004 ${nonarch_base_libdir}/firmware/cypress/cyfmac43570-pcie.bin \
1005"
1006FILES:${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
1007FILES:${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
1008 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
1009"
1010FILES:${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
1011FILES:${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
1012FILES:${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
1013
1014# 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
1015# Currently 1st one and last 6 have cypress LICENSE
1016
1017LICENSE:${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
1018RDEPENDS:${PN}-bcm43xx += "${PN}-broadcom-license"
1019LICENSE:${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
1020RDEPENDS:${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
1021LICENSE:${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
1022RDEPENDS:${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
1023LICENSE:${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
1024RDEPENDS:${PN}-bcm43236b += "${PN}-broadcom-license"
1025LICENSE:${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
1026RDEPENDS:${PN}-bcm4329 += "${PN}-broadcom-license"
1027LICENSE:${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
1028RDEPENDS:${PN}-bcm4330 += "${PN}-broadcom-license"
1029LICENSE:${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
1030RDEPENDS:${PN}-bcm4334 += "${PN}-broadcom-license"
1031LICENSE:${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
1032RDEPENDS:${PN}-bcm4335 += "${PN}-broadcom-license"
1033LICENSE:${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
1034RDEPENDS:${PN}-bcm4339 += "${PN}-broadcom-license"
1035LICENSE:${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
1036RDEPENDS:${PN}-bcm43241b0 += "${PN}-broadcom-license"
1037LICENSE:${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
1038RDEPENDS:${PN}-bcm43241b4 += "${PN}-broadcom-license"
1039LICENSE:${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
1040RDEPENDS:${PN}-bcm43241b5 += "${PN}-broadcom-license"
1041LICENSE:${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
1042RDEPENDS:${PN}-bcm43242a += "${PN}-broadcom-license"
1043LICENSE:${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
1044RDEPENDS:${PN}-bcm43143 += "${PN}-broadcom-license"
1045LICENSE:${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
1046RDEPENDS:${PN}-bcm43430a0 += "${PN}-broadcom-license"
1047LICENSE:${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
1048RDEPENDS:${PN}-bcm43455 += "${PN}-broadcom-license"
1049LICENSE:${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
1050RDEPENDS:${PN}-bcm4350c2 += "${PN}-broadcom-license"
1051LICENSE:${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
1052RDEPENDS:${PN}-bcm4350 += "${PN}-broadcom-license"
1053LICENSE:${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
1054RDEPENDS:${PN}-bcm4356 += "${PN}-broadcom-license"
1055LICENSE:${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
1056RDEPENDS:${PN}-bcm43569 += "${PN}-broadcom-license"
1057LICENSE:${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
1058RDEPENDS:${PN}-bcm43570 += "${PN}-broadcom-license"
1059LICENSE:${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
1060RDEPENDS:${PN}-bcm4358 += "${PN}-broadcom-license"
1061LICENSE:${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
1062RDEPENDS:${PN}-bcm43602 += "${PN}-broadcom-license"
1063LICENSE:${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
1064RDEPENDS:${PN}-bcm4366b += "${PN}-broadcom-license"
1065LICENSE:${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
1066RDEPENDS:${PN}-bcm4366c += "${PN}-broadcom-license"
1067LICENSE:${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
1068RDEPENDS:${PN}-bcm4371 += "${PN}-broadcom-license"
1069
1070# For broadcom cypress
1071
1072LICENSE:${PN}-cypress-license = "Firmware-cypress"
1073FILES:${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
1074
1075FILES:${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
1076FILES:${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.* \
1077 ${nonarch_base_libdir}/firmware/cypress/cyfmac43340-sdio.*"
1078FILES:${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.* \
1079 ${nonarch_base_libdir}/firmware/cypress/cyfmac43362-sdio.*"
1080FILES:${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \
1081 ${nonarch_base_libdir}/firmware/cypress/cyfmac43430-sdio.*"
1082FILES:${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin \
1083 ${nonarch_base_libdir}/firmware/cypress/cyfmac4354-sdio.bin \
1084"
1085FILES:${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \
1086 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-pcie.* \
1087"
1088FILES:${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
1089 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
1090 ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.bin \
1091 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.clm_blob \
1092 ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.clm_blob \
1093"
1094
1095LICENSE:${PN}-bcm-0bb4-0306 = "Firmware-cypress"
1096RDEPENDS:${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
1097LICENSE:${PN}-bcm43340 = "Firmware-cypress"
1098RDEPENDS:${PN}-bcm43340 += "${PN}-cypress-license"
1099LICENSE:${PN}-bcm43362 = "Firmware-cypress"
1100RDEPENDS:${PN}-bcm43362 += "${PN}-cypress-license"
1101LICENSE:${PN}-bcm43430 = "Firmware-cypress"
1102RDEPENDS:${PN}-bcm43430 += "${PN}-cypress-license"
1103LICENSE:${PN}-bcm4354 = "Firmware-cypress"
1104RDEPENDS:${PN}-bcm4354 += "${PN}-cypress-license"
1105LICENSE:${PN}-bcm4356-pcie = "Firmware-cypress"
1106RDEPENDS:${PN}-bcm4356-pcie += "${PN}-cypress-license"
1107LICENSE:${PN}-bcm4373 = "Firmware-cypress"
1108RDEPENDS:${PN}-bcm4373 += "${PN}-cypress-license"
1109
1110# For Broadcom bnx2
1111#
1112# which is a separate case to the other Broadcom firmwares since its
1113# license is contained in the shared WHENCE file.
1114
1115LICENSE:${PN}-bnx2 = "WHENCE"
1116LICENSE:${PN}-whence-license = "WHENCE"
1117
1118FILES:${PN}-bnx2 = " \
1119 ${nonarch_base_libdir}/firmware/bnx2/bnx2-mips*.fw \
1120 ${nonarch_base_libdir}/firmware/bnx2/bnx2-rv2p*.fw \
1121"
1122FILES:${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
1123
1124RDEPENDS:${PN}-bnx2 += "${PN}-whence-license"
1125RPROVIDES:${PN}-bnx2 = "${PN}-bnx2-mips"
1126
1127LICENSE:${PN}-bnx2x = "WHENCE"
1128
1129FILES:${PN}-bnx2x = "${nonarch_base_libdir}/firmware/bnx2x/bnx2x*.fw"
1130
1131RDEPENDS:${PN}-bnx2x += "${PN}-whence-license"
1132
1133# For cirrus
1134LICENSE:${PN}-cirrus = "Firmware-cirrus"
1135LICENSE:${PN}-cirrus-license = "Firmware-cirrus"
1136
1137FILES:${PN}-cirrus = "${nonarch_base_libdir}/firmware/cirrus/*"
1138FILES:${PN}-cirrus-license = "${nonarch_base_libdir}/firmware/LICENSE.cirrus"
1139
1140RDEPENDS:${PN}-cirrus += "${PN}-cirrus-license"
1141
1142# For cnm
1143LICENSE:${PN}-cnm = "Firmware-cnm"
1144LICENSE:${PN}-cnm-license = "Firmware-cnm"
1145
1146FILES:${PN}-cnm = "${nonarch_base_libdir}/firmware/cnm/wave521c_k3_codec_fw.bin"
1147FILES:${PN}-cnm-license = "${nonarch_base_libdir}/firmware/LICENCE.cnm"
1148
1149RDEPENDS:${PN}-cnm += "${PN}-cnm-license"
1150
1151# For imx-sdma
1152LICENSE:${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
1153LICENSE:${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
1154LICENSE:${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
1155
1156FILES:${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
1157
1158RPROVIDES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
1159RREPLACES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
1160RCONFLICTS:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
1161
1162FILES:${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
1163
1164FILES:${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
1165
1166RDEPENDS:${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
1167RDEPENDS:${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
1168
1169# For iwlwifi
1170LICENSE:${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
1171LICENSE:${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
1172LICENSE:${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
1173LICENSE:${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
1174LICENSE:${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
1175LICENSE:${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
1176LICENSE:${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
1177LICENSE:${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
1178LICENSE:${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
1179LICENSE:${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
1180LICENSE:${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
1181LICENSE:${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
1182LICENSE:${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
1183LICENSE:${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
1184LICENSE:${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
1185LICENSE:${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
1186LICENSE:${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
1187LICENSE:${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
1188LICENSE:${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
1189LICENSE:${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
1190LICENSE:${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
1191LICENSE:${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
1192LICENSE:${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
1193LICENSE:${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
1194LICENSE:${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
1195
1196
1197FILES:${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
1198FILES:${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
1199FILES:${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
1200FILES:${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
1201FILES:${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
1202FILES:${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
1203FILES:${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
1204FILES:${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
1205FILES:${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
1206FILES:${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
1207FILES:${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
1208FILES:${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
1209FILES:${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
1210FILES:${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
1211FILES:${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
1212FILES:${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
1213FILES:${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
1214FILES:${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
1215FILES:${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
1216FILES:${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
1217FILES:${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
1218FILES:${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
1219FILES:${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
1220FILES:${PN}-iwlwifi-misc = " \
1221 ${nonarch_base_libdir}/firmware/iwlwifi-*.ucode \
1222 ${nonarch_base_libdir}/firmware/iwlwifi-*.pnvm \
1223"
1224
1225RDEPENDS:${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
1226RDEPENDS:${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
1227RDEPENDS:${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
1228RDEPENDS:${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
1229RDEPENDS:${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
1230RDEPENDS:${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
1231RDEPENDS:${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
1232RDEPENDS:${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
1233RDEPENDS:${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
1234RDEPENDS:${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
1235RDEPENDS:${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
1236RDEPENDS:${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
1237RDEPENDS:${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
1238RDEPENDS:${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
1239RDEPENDS:${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
1240RDEPENDS:${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
1241RDEPENDS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
1242RDEPENDS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
1243RDEPENDS:${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
1244RDEPENDS:${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
1245RDEPENDS:${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
1246RDEPENDS:${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
1247RDEPENDS:${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
1248
1249# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
1250# firmwares that are not already included in other -iwlwifi- packages.
1251# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
1252# These are distinct in order to allow the -misc firmwares to be installed
1253# without pulling in every other iwlwifi package.
1254ALLOW_EMPTY:${PN}-iwlwifi = "1"
1255ALLOW_EMPTY:${PN}-iwlwifi-misc = "1"
1256
1257# Handle package updating for the newly merged iwlwifi groupings
1258RPROVIDES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
1259RREPLACES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
1260RCONFLICTS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
1261
1262RPROVIDES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
1263RREPLACES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
1264RCONFLICTS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
1265
1266# For ibt
1267LICENSE:${PN}-ibt-license = "Firmware-ibt_firmware"
1268LICENSE:${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
1269LICENSE:${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
1270LICENSE:${PN}-ibt-11-5 = "Firmware-ibt_firmware"
1271LICENSE:${PN}-ibt-12-16 = "Firmware-ibt_firmware"
1272LICENSE:${PN}-ibt-17 = "Firmware-ibt_firmware"
1273LICENSE:${PN}-ibt-20 = "Firmware-ibt_firmware"
1274LICENSE:${PN}-ibt-misc = "Firmware-ibt_firmware"
1275
1276FILES:${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
1277FILES:${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
1278FILES:${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
1279FILES:${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
1280FILES:${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
1281FILES:${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
1282FILES:${PN}-ibt-20 = "${nonarch_base_libdir}/firmware/intel/ibt-20-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-20-*.ddc"
1283FILES:${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/intel/ibt-*"
1284
1285RDEPENDS:${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
1286RDEPENDS:${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
1287RDEPENDS:${PN}-ibt-11-5 = "${PN}-ibt-license"
1288RDEPENDS:${PN}-ibt-12-16 = "${PN}-ibt-license"
1289RDEPENDS:${PN}-ibt-17 = "${PN}-ibt-license"
1290RDEPENDS:${PN}-ibt-20 = "${PN}-ibt-license"
1291RDEPENDS:${PN}-ibt-misc = "${PN}-ibt-license"
1292
1293ALLOW_EMPTY:${PN}-ibt= "1"
1294ALLOW_EMPTY:${PN}-ibt-misc = "1"
1295
1296LICENSE:${PN}-i915 = "Firmware-i915"
1297LICENSE:${PN}-i915-license = "Firmware-i915"
1298FILES:${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
1299FILES:${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
1300RDEPENDS:${PN}-i915 = "${PN}-i915-license"
1301
1302# For ice-enhanced
1303LICENSE:${PN}-ice-enhanced = "Firmware-ice_enhanced"
1304LICENSE:${PN}-ice-enhanced-license = "Firmware-ice_enhanced"
1305
1306FILES:${PN}-ice-enhanced = " \
1307 ${nonarch_base_libdir}/firmware/intel/ice/ddp-comms/* \
1308 ${nonarch_base_libdir}/firmware/intel/ice/ddp-wireless_edge/* \
1309"
1310FILES:${PN}-ice-enhanced-license = " \
1311 ${nonarch_base_libdir}/firmware/LICENSE.ice_enhanced \
1312"
1313RDEPENDS:${PN}-ice-enhanced = "${PN}-ice-enhanced-license"
1314
1315LICENSE:${PN}-ice = "Firmware-ice"
1316LICENSE:${PN}-ice-license = "Firmware-ice"
1317FILES:${PN}-ice-license = "${nonarch_base_libdir}/firmware/LICENSE.ice"
1318FILES:${PN}-ice = " \
1319 ${nonarch_base_libdir}/firmware/intel/ice/ddp/* \
1320 ${nonarch_base_libdir}/firmware/intel/ice/ddp-lag/* \
1321"
1322RDEPENDS:${PN}-ice = "${PN}-ice-license"
1323
1324FILES:${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
1325LICENSE:${PN}-adsp-sst = "Firmware-adsp_sst"
1326LICENSE:${PN}-adsp-sst-license = "Firmware-adsp_sst"
1327FILES:${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
1328RDEPENDS:${PN}-adsp-sst = "${PN}-adsp-sst-license"
1329
1330# For QAT
1331LICENSE:${PN}-qat = "Firmware-qat"
1332LICENSE:${PN}-qat-license = "Firmware-qat"
1333FILES:${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
1334FILES:${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
1335RDEPENDS:${PN}-qat = "${PN}-qat-license"
1336
1337LICENSE:${PN}-qed = "WHENCE"
1338FILES:${PN}-qed = "${nonarch_base_libdir}/firmware/qed/*"
1339
1340# For QCOM VPU/GPU and SDM845
1341LICENSE:${PN}-qcom-license = "Firmware-qcom"
1342LICENSE:${PN}-qcom-yamato-license = "Firmware-qcom-yamato"
1343LICENSE:${PN}-qcom-venus-1.8 = "Firmware-qcom"
1344LICENSE:${PN}-qcom-venus-4.2 = "Firmware-qcom"
1345LICENSE:${PN}-qcom-venus-5.2 = "Firmware-qcom"
1346LICENSE:${PN}-qcom-venus-5.4 = "Firmware-qcom"
1347LICENSE:${PN}-qcom-venus-6.0 = "Firmware-qcom"
1348LICENSE:${PN}-qcom-vpu-1.0 = "Firmware-qcom"
1349LICENSE:${PN}-qcom-vpu-2.0 = "Firmware-qcom"
1350LICENSE:${PN}-qcom-adreno-a2xx = "Firmware-qcom Firmware-qcom-yamato"
1351LICENSE:${PN}-qcom-adreno-a3xx = "Firmware-qcom"
1352LICENSE:${PN}-qcom-adreno-a4xx = "Firmware-qcom"
1353LICENSE:${PN}-qcom-adreno-a530 = "Firmware-qcom"
1354LICENSE:${PN}-qcom-adreno-a630 = "Firmware-qcom"
1355LICENSE:${PN}-qcom-adreno-a650 = "Firmware-qcom"
1356LICENSE:${PN}-qcom-adreno-a660 = "Firmware-qcom"
1357LICENSE:${PN}-qcom-adreno-a702 = "Firmware-qcom"
1358LICENSE:${PN}-qcom-apq8016-modem = "Firmware-qcom"
1359LICENSE:${PN}-qcom-apq8016-wifi = "Firmware-qcom"
1360LICENSE:${PN}-qcom-apq8096-audio = "Firmware-qcom"
1361LICENSE:${PN}-qcom-apq8096-adreno = "Firmware-qcom"
1362LICENSE:${PN}-qcom-apq8096-modem = "Firmware-qcom"
1363LICENSE:${PN}-qcom-qcm2290-adreno = "Firmware-qcom"
1364LICENSE:${PN}-qcom-qcm2290-audio = "Firmware-qcom"
1365LICENSE:${PN}-qcom-qcm2290-modem = "Firmware-qcom"
1366LICENSE:${PN}-qcom-qcm2290-wifi = "Firmware-qcom"
1367LICENSE:${PN}-qcom-qrb4210-adreno = "Firmware-qcom"
1368LICENSE:${PN}-qcom-qrb4210-audio = "Firmware-qcom"
1369LICENSE:${PN}-qcom-qrb4210-compute = "Firmware-qcom"
1370LICENSE:${PN}-qcom-qrb4210-modem = "Firmware-qcom"
1371LICENSE:${PN}-qcom-qrb4210-wifi = "Firmware-qcom"
1372LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "Firmware-qcom & Firmware-linaro"
1373LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "Firmware-qcom"
1374LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "Firmware-qcom"
1375LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "Firmware-qcom"
1376LICENSE:${PN}-qcom-sdm845-audio = "Firmware-qcom"
1377LICENSE:${PN}-qcom-sdm845-adreno = "Firmware-qcom"
1378LICENSE:${PN}-qcom-sdm845-compute = "Firmware-qcom"
1379LICENSE:${PN}-qcom-sdm845-modem = "Firmware-qcom"
1380LICENSE:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "Firmware-qcom"
1381LICENSE:${PN}-qcom-sm8250-audio = "Firmware-qcom"
1382LICENSE:${PN}-qcom-sm8250-adreno = "Firmware-qcom"
1383LICENSE:${PN}-qcom-sm8250-compute = "Firmware-qcom"
1384LICENSE:${PN}-qcom-sm8250-thundercomm-rb5-sensors = "Firmware-qcom"
1385
1386FILES:${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
1387FILES:${PN}-qcom-yamato-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom_yamato"
1388FILES:${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
1389FILES:${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
1390FILES:${PN}-qcom-venus-5.2 = "${nonarch_base_libdir}/firmware/qcom/venus-5.2/*"
1391FILES:${PN}-qcom-venus-5.4 = "${nonarch_base_libdir}/firmware/qcom/venus-5.4/*"
1392FILES:${PN}-qcom-venus-6.0 = "${nonarch_base_libdir}/firmware/qcom/venus-6.0/*"
1393FILES:${PN}-qcom-vpu-1.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-1.0/*"
1394FILES:${PN}-qcom-vpu-2.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-2.0/*"
1395FILES:${PN}-qcom-adreno-a2xx = "${nonarch_base_libdir}/firmware/qcom/leia_*.fw ${nonarch_base_libdir}/firmware/qcom/yamato_*.fw"
1396FILES:${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a3*_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
1397FILES:${PN}-qcom-adreno-a4xx = "${nonarch_base_libdir}/firmware/qcom/a4*_*.fw"
1398FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.fw*"
1399FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.*"
1400FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.*"
1401FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
1402FILES:${PN}-qcom-adreno-a702 = "${nonarch_base_libdir}/firmware/qcom/a702*.*"
1403FILES:${PN}-qcom-apq8016-modem = "${nonarch_base_libdir}/firmware/qcom/apq8016/mba.mbn ${nonarch_base_libdir}/firmware/qcom/apq8016/modem.mbn"
1404FILES:${PN}-qcom-apq8016-wifi = "${nonarch_base_libdir}/firmware/qcom/apq8016/wcnss.mbn ${nonarch_base_libdir}/firmware/qcom/apq8016/WCNSS*"
1405FILES:${PN}-qcom-apq8096-adreno = "${nonarch_base_libdir}/firmware/qcom/apq8096/a530_zap.mbn ${nonarch_base_libdir}/firmware/qcom/a530_zap.mdt"
1406FILES:${PN}-qcom-apq8096-audio = "${nonarch_base_libdir}/firmware/qcom/apq8096/adsp*.*"
1407FILES:${PN}-qcom-apq8096-modem = "${nonarch_base_libdir}/firmware/qcom/apq8096/mba.mbn ${nonarch_base_libdir}/firmware/qcom/apq8096/modem*.* ${nonarch_base_libdir}/firmware/qcom/apq8096/wlanmdsp.mbn"
1408FILES:${PN}-qcom-qcm2290-adreno = "${nonarch_base_libdir}/firmware/qcom/qcm2290/a702_zap.mbn"
1409FILES:${PN}-qcom-qcm2290-audio = "${nonarch_base_libdir}/firmware/qcom/qcm2290/adsp*.*"
1410FILES:${PN}-qcom-qcm2290-modem = "${nonarch_base_libdir}/firmware/qcom/qcm2290/modem*.*"
1411FILES:${PN}-qcom-qcm2290-wifi = "${nonarch_base_libdir}/firmware/qcom/qcm2290/wlanmdsp.mbn"
1412FILES:${PN}-qcom-qrb4210-adreno = "${nonarch_base_libdir}/firmware/qcom/qrb4210/a610_zap.mbn"
1413FILES:${PN}-qcom-qrb4210-audio = "${nonarch_base_libdir}/firmware/qcom/qrb4210/adsp*.*"
1414FILES:${PN}-qcom-qrb4210-compute = "${nonarch_base_libdir}/firmware/qcom/qrb4210/cdsp*.*"
1415FILES:${PN}-qcom-qrb4210-modem = "${nonarch_base_libdir}/firmware/qcom/qrb4210/modem*.*"
1416FILES:${PN}-qcom-qrb4210-wifi = "${nonarch_base_libdir}/firmware/qcom/qrb4210/wlanmdsp.mbn"
1417FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compat = "${nonarch_base_libdir}/firmware/qcom/LENOVO/21BX"
1418FILES:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*adsp*.* ${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/battmgr.jsn ${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/audioreach-tplg.bin ${nonarch_base_libdir}/firmware/qcom/sc8280xp/SC8280XP-LENOVO-X13S-tplg.bin"
1419FILES:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn"
1420FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*cdsp*.*"
1421FILES:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*slpi*.*"
1422FILES:${PN}-qcom-sdm845-adreno = "${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
1423FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
1424FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
1425FILES:${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 ${nonarch_base_libdir}/firmware/qcom/sdm845/notice.txt_wlanmdsp"
1426FILES:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "${nonarch_base_libdir}/firmware/qcom/sdm845/Thundercomm/db845c/slpi*.*"
1427FILES:${PN}-qcom-sm8250-adreno = "${nonarch_base_libdir}/firmware/qcom/sm8250/a650*.*"
1428FILES:${PN}-qcom-sm8250-audio = "${nonarch_base_libdir}/firmware/qcom/sm8250/adsp*.*"
1429FILES:${PN}-qcom-sm8250-compute = "${nonarch_base_libdir}/firmware/qcom/sm8250/cdsp*.*"
1430FILES:${PN}-qcom-sm8250-thundercomm-rb5-sensors = "${nonarch_base_libdir}/firmware/qcom/sm8250/Thundercomm/RB5/slpi*.*"
1431
1432RDEPENDS:${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
1433RDEPENDS:${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
1434RDEPENDS:${PN}-qcom-venus-5.2 = "${PN}-qcom-license"
1435RDEPENDS:${PN}-qcom-venus-5.4 = "${PN}-qcom-license"
1436RDEPENDS:${PN}-qcom-venus-6.0 = "${PN}-qcom-license"
1437RDEPENDS:${PN}-qcom-vpu-1.0 = "${PN}-qcom-license"
1438RDEPENDS:${PN}-qcom-vpu-2.0 = "${PN}-qcom-license"
1439RDEPENDS:${PN}-qcom-adreno-a2xx = "${PN}-qcom-license ${PN}-qcom-yamato-license"
1440RDEPENDS:${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
1441RDEPENDS:${PN}-qcom-adreno-a4xx = "${PN}-qcom-license"
1442RDEPENDS:${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
1443RDEPENDS:${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
1444RDEPENDS:${PN}-qcom-adreno-a650 = "${PN}-qcom-license"
1445RDEPENDS:${PN}-qcom-adreno-a660 = "${PN}-qcom-license"
1446RDEPENDS:${PN}-qcom-adreno-a702 = "${PN}-qcom-license"
1447RDEPENDS:${PN}-qcom-apq8016-modem = "${PN}-qcom-license"
1448RDEPENDS:${PN}-qcom-apq8016-wifi = "${PN}-qcom-license"
1449RDEPENDS:${PN}-qcom-apq8096-adreno = "${PN}-qcom-license"
1450RDEPENDS:${PN}-qcom-apq8096-audio = "${PN}-qcom-license"
1451RDEPENDS:${PN}-qcom-apq8096-modem = "${PN}-qcom-license"
1452RDEPENDS:${PN}-qcom-qcm2290-adreno = "${PN}-qcom-license"
1453RDEPENDS:${PN}-qcom-qcm2290-audio = "${PN}-qcom-license"
1454RDEPENDS:${PN}-qcom-qcm2290-modem = "${PN}-qcom-license"
1455RDEPENDS:${PN}-qcom-qcm2290-wifi = "${PN}-qcom-license"
1456RDEPENDS:${PN}-qcom-qrb4210-adreno = "${PN}-qcom-license"
1457RDEPENDS:${PN}-qcom-qrb4210-audio = "${PN}-qcom-license"
1458RDEPENDS:${PN}-qcom-qrb4210-compute = "${PN}-qcom-license"
1459RDEPENDS:${PN}-qcom-qrb4210-modem = "${PN}-qcom-license"
1460RDEPENDS:${PN}-qcom-qrb4210-wifi = "${PN}-qcom-license"
1461RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-license"
1462RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-license"
1463RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-license"
1464RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-license"
1465RDEPENDS:${PN}-qcom-sdm845-adreno = "${PN}-qcom-license"
1466RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
1467RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
1468RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
1469RDEPENDS:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "${PN}-qcom-license"
1470RDEPENDS:${PN}-qcom-sm8250-adreno = "${PN}-qcom-license"
1471RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license"
1472RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license"
1473RDEPENDS:${PN}-qcom-sm8250-thundercomm-rb5-sensors = "${PN}-qcom-license"
1474
1475RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1476RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1477RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1478RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1479
1480FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
1481
1482FILES:${PN}-mellanox = "${nonarch_base_libdir}/firmware/mellanox"
1483
1484LICENSE:${PN}-prestera = "Firmware-Marvell"
1485FILES:${PN}-prestera = "${nonarch_base_libdir}/firmware/mrvl/prestera"
1486RDEPENDS:${PN}-prestera = "${PN}-marvell-license"
1487
1488# For Rockchip
1489LICENSE:${PN}-rockchip-dptx = "Firmware-rockchip"
1490FILES:${PN}-rockchip-license = "${nonarch_base_libdir}/firmware/LICENCE.rockchip"
1491FILES:${PN}-rockchip-dptx = "${nonarch_base_libdir}/firmware/rockchip/dptx.bin"
1492RDEPENDS:${PN}-rockchip-dptx = "${PN}-rockchip-license"
1493
1494# For Amlogic VDEC
1495LICENSE:${PN}-amlogic-vdec = "Firmware-amlogic_vdec"
1496FILES:${PN}-amlogic-vdec-license = "${nonarch_base_libdir}/firmware/LICENSE.amlogic_vdec"
1497FILES:${PN}-amlogic-vdec = "${nonarch_base_libdir}/firmware/meson/vdec/*"
1498RDEPENDS:${PN}-amlogic-vdec = "${PN}-amlogic-vdec-license"
1499
1500# For other firmwares
1501# Maybe split out to separate packages when needed.
1502LICENSE:${PN} = "\
1503 Firmware-Abilis \
1504 & Firmware-agere \
1505 & Firmware-amdgpu \
1506 & Firmware-amd-ucode \
1507 & Firmware-amlogic_vdec \
1508 & Firmware-atmel \
1509 & Firmware-ca0132 \
1510 & Firmware-cavium \
1511 & Firmware-chelsio_firmware \
1512 & Firmware-cirrus \
1513 & Firmware-cnm \
1514 & Firmware-cw1200 \
1515 & Firmware-dib0700 \
1516 & Firmware-e100 \
1517 & Firmware-ene_firmware \
1518 & Firmware-fw_sst_0f28 \
1519 & Firmware-go7007 \
1520 & Firmware-hfi1_firmware \
1521 & Firmware-ibt_firmware \
1522 & Firmware-it913x \
1523 & Firmware-IntcSST2 \
1524 & Firmware-kaweth \
1525 & Firmware-moxa \
1526 & Firmware-myri10ge_firmware \
1527 & Firmware-nvidia \
1528 & Firmware-nxp \
1529 & Firmware-OLPC \
1530 & Firmware-ath9k-htc \
1531 & Firmware-phanfw \
1532 & Firmware-qat \
1533 & Firmware-qcom \
1534 & Firmware-qla1280 \
1535 & Firmware-qla2xxx \
1536 & Firmware-r8a779x_usb3 \
1537 & Firmware-radeon \
1538 & Firmware-ralink_a_mediatek_company_firmware \
1539 & Firmware-ralink-firmware \
1540 & Firmware-imx-sdma_firmware \
1541 & Firmware-siano \
1542 & Firmware-ti-connectivity \
1543 & Firmware-ti-keystone \
1544 & Firmware-ueagle-atm4-firmware \
1545 & Firmware-wl1251 \
1546 & Firmware-xc4000 \
1547 & Firmware-xc5000 \
1548 & Firmware-xc5000c \
1549 & WHENCE \
1550"
1551
1552FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
1553FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
1554RDEPENDS:${PN} += "${PN}-license"
1555RDEPENDS:${PN} += "${PN}-whence-license"
1556
1557# Make linux-firmware depend on all of the split-out packages.
1558# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
1559# Make linux-firmware-ibt depend on all of the split-out ibt packages.
1560python populate_packages:prepend () {
1561 firmware_pkgs = oe.utils.packages_filter_out_system(d)
1562 d.appendVar('RRECOMMENDS:linux-firmware', ' ' + ' '.join(firmware_pkgs))
1563
1564 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
1565 d.appendVar('RRECOMMENDS:linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
1566
1567 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
1568 d.appendVar('RRECOMMENDS:linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
1569}
1570
1571# Firmware files are generally not ran on the CPU, so they can be
1572# allarch despite being architecture specific
1573INSANE_SKIP = "arch"
1574
1575# Don't warn about already stripped files
1576INSANE_SKIP:${PN} = "already-stripped"
1577
1578# No need to put firmware into the sysroot
1579SYSROOT_DIRS_IGNORE += "${nonarch_base_libdir}/firmware"