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