blob: c0394b9b3b9574978196fc557eb655df71b442ee [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 \
343 ${PN}-bnx2-mips \
344 ${PN}-liquidio \
345 ${PN}-nvidia-license \
346 ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
347 ${PN}-nvidia-gpu \
348 ${PN}-nxp-license \
349 ${PN}-nxp8987-sdio \
350 ${PN}-nxp8997-common \
351 ${PN}-nxp8997-pcie \
352 ${PN}-nxp8997-sdio \
353 ${PN}-nxp9098-common \
354 ${PN}-nxp9098-pcie \
355 ${PN}-nxp9098-sdio \
356 ${PN}-nxpiw416-sdio \
357 ${PN}-nxpiw612-sdio \
358 ${PN}-nxp-mc-license ${PN}-nxp-mc \
359 ${PN}-netronome-license ${PN}-netronome \
360 ${PN}-olpc-license ${PN}-olpc \
361 ${PN}-phanfw-license ${PN}-phanfw \
362 ${PN}-qat ${PN}-qat-license \
363 ${PN}-qcom-license ${PN}-qcom-yamato-license \
364 ${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 \
365 ${PN}-qcom-vpu-1.0 ${PN}-qcom-vpu-2.0 \
366 ${PN}-qcom-adreno-a2xx ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a4xx ${PN}-qcom-adreno-a530 \
367 ${PN}-qcom-adreno-a630 ${PN}-qcom-adreno-a650 ${PN}-qcom-adreno-a660 ${PN}-qcom-adreno-a702 \
368 ${PN}-qcom-apq8016-modem ${PN}-qcom-apq8016-wifi \
369 ${PN}-qcom-apq8096-adreno ${PN}-qcom-apq8096-audio ${PN}-qcom-apq8096-modem \
370 ${PN}-qcom-qcm2290-adreno ${PN}-qcom-qcm2290-audio ${PN}-qcom-qcm2290-modem ${PN}-qcom-qcm2290-wifi \
371 ${PN}-qcom-qrb4210-adreno ${PN}-qcom-qrb4210-audio ${PN}-qcom-qrb4210-compute \
372 ${PN}-qcom-qrb4210-modem ${PN}-qcom-qrb4210-wifi \
373 ${PN}-qcom-sc8280xp-lenovo-x13s-compat \
374 ${PN}-qcom-sc8280xp-lenovo-x13s-audio \
375 ${PN}-qcom-sc8280xp-lenovo-x13s-adreno \
376 ${PN}-qcom-sc8280xp-lenovo-x13s-compute \
377 ${PN}-qcom-sc8280xp-lenovo-x13s-sensors \
378 ${PN}-qcom-sdm845-adreno ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
379 ${PN}-qcom-sdm845-thundercomm-db845c-sensors \
380 ${PN}-qcom-sm8250-adreno ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \
381 ${PN}-qcom-sm8250-thundercomm-rb5-sensors \
382 ${PN}-qla2xxx ${PN}-qla2xxx-license \
383 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \
384 ${PN}-lt9611uxc ${PN}-lontium-license \
385 ${PN}-whence-license \
386 ${PN}-wl1251-license ${PN}-wl1251 \
387 ${PN}-xc4000-license ${PN}-xc4000 \
388 ${PN}-xc5000-license ${PN}-xc5000 \
389 ${PN}-xc5000c-license ${PN}-xc5000c \
390 ${PN}-license \
391 "
392
393# For Amphion VPU
394LICENSE:${PN}-amphion-vpu = "Firmware-amphion_vpu"
395LICENSE:${PN}-amphion-vpu-license = "Firmware-amphion_vpu"
396
397FILES:${PN}-amphion-vpu = "${nonarch_base_libdir}/firmware/amphion/*"
398FILES:${PN}-amphion-vpu-license = " \
399 ${nonarch_base_libdir}/firmware/LICENSE.amphion_vpu \
400"
401RDEPENDS:${PN}-amphion-vpu += "${PN}-amphion-vpu-license"
402
403# For cw1200
404LICENSE:${PN}-cw1200 = "Firmware-cw1200"
405LICENSE:${PN}-cw1200-license = "Firmware-cw1200"
406
407FILES:${PN}-cw1200 = "${nonarch_base_libdir}/firmware/wsm_22.bin"
408FILES:${PN}-cw1200-license = "${nonarch_base_libdir}/firmware/LICENCE.cw1200"
409
410RDEPENDS:${PN}-cw1200 += "${PN}-cw1200-license"
411
412# For atheros
413LICENSE:${PN}-ar5523 = "Firmware-atheros_firmware"
414LICENSE:${PN}-ar9170 = "Firmware-atheros_firmware"
415LICENSE:${PN}-ath3k = "Firmware-atheros_firmware"
416LICENSE:${PN}-ath6k = "Firmware-atheros_firmware"
417LICENSE:${PN}-ath9k = "Firmware-atheros_firmware"
418LICENSE:${PN}-atheros-license = "Firmware-atheros_firmware"
419
420FILES:${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
421FILES:${PN}-ar5523 = " \
422 ${nonarch_base_libdir}/firmware/ar5523.bin \
423"
424FILES:${PN}-ar9170 = " \
425 ${nonarch_base_libdir}/firmware/ar9170*.fw \
426"
427FILES:${PN}-ath3k = " \
428 ${nonarch_base_libdir}/firmware/ath3k*fw \
429"
430FILES:${PN}-ath6k = " \
431 ${nonarch_base_libdir}/firmware/ath6k \
432"
433FILES:${PN}-ath9k = " \
434 ${nonarch_base_libdir}/firmware/ar9271.fw \
435 ${nonarch_base_libdir}/firmware/ar7010*.fw \
436 ${nonarch_base_libdir}/firmware/htc_9271.fw \
437 ${nonarch_base_libdir}/firmware/htc_7010.fw \
438 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
439 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
440"
441
442RDEPENDS:${PN}-ar5523 += "${PN}-atheros-license"
443RDEPENDS:${PN}-ar9170 += "${PN}-atheros-license"
444RDEPENDS:${PN}-ath6k += "${PN}-atheros-license"
445RDEPENDS:${PN}-ath9k += "${PN}-atheros-license"
446
447# For carl9170
448LICENSE:${PN}-carl9170 = "Firmware-GPLv2"
449LICENSE:${PN}-gplv2-license = "Firmware-GPLv2"
450
451FILES:${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
452FILES:${PN}-carl9170 = " \
453 ${nonarch_base_libdir}/firmware/carl9170*.fw \
454"
455
456RDEPENDS:${PN}-carl9170 += "${PN}-gplv2-license"
457
458# For QualCommAthos
459LICENSE:${PN}-ar3k = "Firmware-qualcommAthos_ar3k & Firmware-atheros_firmware"
460LICENSE:${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
461LICENSE:${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
462LICENSE:${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
463LICENSE:${PN}-qca = "Firmware-qualcommAthos_ath10k"
464
465FILES:${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
466FILES:${PN}-ar3k = " \
467 ${nonarch_base_libdir}/firmware/ar3k \
468"
469
470FILES:${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
471FILES:${PN}-ath10k = " \
472 ${nonarch_base_libdir}/firmware/ath10k \
473"
474
475FILES:${PN}-ath11k = " \
476 ${nonarch_base_libdir}/firmware/ath11k \
477"
478
479FILES:${PN}-qca = " \
480 ${nonarch_base_libdir}/firmware/qca \
481"
482
483RDEPENDS:${PN}-ar3k += "${PN}-ar3k-license ${PN}-atheros-license"
484RDEPENDS:${PN}-ath10k += "${PN}-ath10k-license"
485RDEPENDS:${PN}-ath11k += "${PN}-ath10k-license"
486RDEPENDS:${PN}-qca += "${PN}-ath10k-license"
487
488# For ralink
489LICENSE:${PN}-ralink = "Firmware-ralink-firmware"
490LICENSE:${PN}-ralink-license = "Firmware-ralink-firmware"
491
492FILES:${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
493FILES:${PN}-ralink = " \
494 ${nonarch_base_libdir}/firmware/rt*.bin \
495"
496
497RDEPENDS:${PN}-ralink += "${PN}-ralink-license"
498
499# For mediatek MT7601U
500LICENSE:${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
501LICENSE:${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
502
503FILES:${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
504FILES:${PN}-mt7601u = " \
505 ${nonarch_base_libdir}/firmware/mediatek/mt7601u.bin \
506 ${nonarch_base_libdir}/firmware/mt7601u.bin \
507"
508RDEPENDS:${PN}-mt7601u += "${PN}-mt7601u-license"
509
510# For MediaTek Bluetooth USB driver 7650
511LICENSE:${PN}-mt7650 = "Firmware-ralink_a_mediatek_company_firmware"
512LICENSE:${PN}-mt7650-license = "Firmware-ralink_a_mediatek_company_firmware"
513
514FILES:${PN}-mt7650-license = " \
515 ${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware \
516"
517FILES:${PN}-mt7650 = " \
518 ${nonarch_base_libdir}/firmware/mediatek/mt7650.bin \
519 ${nonarch_base_libdir}/firmware/mt7650.bin \
520"
521RDEPENDS:${PN}-mt7650 += "${PN}-mt7650-license"
522
523# For MediaTek MT76x2 Wireless MACs
524LICENSE:${PN}-mt76x2 = "Firmware-ralink_a_mediatek_company_firmware"
525LICENSE:${PN}-mt76x2-license = "Firmware-ralink_a_mediatek_company_firmware"
526
527FILES:${PN}-mt76x2-license = " \
528 ${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware \
529"
530FILES:${PN}-mt76x2 = " \
531 ${nonarch_base_libdir}/firmware/mediatek/mt7662.bin \
532 ${nonarch_base_libdir}/firmware/mt7662.bin \
533 ${nonarch_base_libdir}/firmware/mediatek/mt7662_rom_patch.bin \
534 ${nonarch_base_libdir}/firmware/mt7662_rom_patch.bin \
535"
536RDEPENDS:${PN}-mt76x2 += "${PN}-mt76x2-license"
537
538# For MediaTek
539LICENSE:${PN}-mediatek = "Firmware-mediatek"
540LICENSE:${PN}-mediatek-license = "Firmware-mediatek"
541
542FILES:${PN}-mediatek = " \
543 ${nonarch_base_libdir}/firmware/mediatek/* \
544 ${nonarch_base_libdir}/firmware/vpu_d.bin \
545 ${nonarch_base_libdir}/firmware/vpu_p.bin \
546"
547FILES:${PN}-mediatek-license = " \
548 ${nonarch_base_libdir}/firmware/LICENCE.mediatek \
549"
550RDEPENDS:${PN}-mediatek += "${PN}-mediatek-license"
551
552# For Microchip
553LICENSE:${PN}-microchip = "Firmware-microchip"
554LICENSE:${PN}-microchip-license = "Firmware-microchip"
555
556FILES:${PN}-microchip = "${nonarch_base_libdir}/firmware/microchip/*"
557FILES:${PN}-microchip-license = " \
558 ${nonarch_base_libdir}/firmware/LICENCE.microchip \
559"
560RDEPENDS:${PN}-microchip += "${PN}-microchip-license"
561
562# For MOXA
563LICENSE:${PN}-moxa = "Firmware-moxa"
564LICENSE:${PN}-moxa-license = "Firmware-moxa"
565
566FILES:${PN}-moxa = "${nonarch_base_libdir}/firmware/moxa"
567FILES:${PN}-moxa-license = "${nonarch_base_libdir}/firmware/LICENCE.moxa"
568
569RDEPENDS:${PN}-moxa += "${PN}-moxa-license"
570
571# For radeon
572
573LICENSE:${PN}-radeon = "Firmware-radeon"
574LICENSE:${PN}-radeon-license = "Firmware-radeon"
575
576FILES:${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
577FILES:${PN}-radeon = " \
578 ${nonarch_base_libdir}/firmware/radeon \
579"
580
581RDEPENDS:${PN}-radeon += "${PN}-radeon-license"
582
583# For amdgpu
584LICENSE:${PN}-amdgpu = "Firmware-amdgpu"
585LICENSE:${PN}-amdgpu-license = "Firmware-amdgpu"
586
587FILES:${PN}-amdgpu-license = "${nonarch_base_libdir}/firmware/LICENSE.amdgpu"
588FILES:${PN}-amdgpu = " \
589 ${nonarch_base_libdir}/firmware/amdgpu \
590"
591
592RDEPENDS:${PN}-amdgpu += "${PN}-amdgpu-license"
593
594# For lontium
595LICENSE:${PN}-lt9611uxc = "Firmware-Lontium"
596
597FILES:${PN}-lontium-license = "${nonarch_base_libdir}/firmware/LICENSE.Lontium"
598FILES:${PN}-lt9611uxc = "${nonarch_base_libdir}/firmware/lt9611uxc_fw.bin"
599
600# For marvell
601LICENSE:${PN}-pcie8897 = "Firmware-Marvell"
602LICENSE:${PN}-pcie8997 = "Firmware-Marvell"
603LICENSE:${PN}-sd8686 = "Firmware-Marvell"
604LICENSE:${PN}-sd8688 = "Firmware-Marvell"
605LICENSE:${PN}-sd8787 = "Firmware-Marvell"
606LICENSE:${PN}-sd8797 = "Firmware-Marvell"
607LICENSE:${PN}-sd8801 = "Firmware-Marvell"
608LICENSE:${PN}-sd8887 = "Firmware-Marvell"
609LICENSE:${PN}-sd8897 = "Firmware-Marvell"
610LICENSE:${PN}-sd8997 = "Firmware-Marvell"
611LICENSE:${PN}-usb8997 = "Firmware-Marvell"
612LICENSE:${PN}-marvell-license = "Firmware-Marvell"
613
614FILES:${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
615FILES:${PN}-pcie8897 = " \
616 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
617"
618FILES:${PN}-pcie8997 = " \
619 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
620 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
621 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
622"
623FILES:${PN}-sd8686 = " \
624 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
625 ${nonarch_base_libdir}/firmware/sd8686* \
626"
627FILES:${PN}-sd8688 = " \
628 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
629 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
630"
631FILES:${PN}-sd8787 = " \
632 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
633"
634FILES:${PN}-sd8797 = " \
635 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
636"
637FILES:${PN}-sd8801 = " \
638 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
639"
640FILES:${PN}-sd8887 = " \
641 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
642"
643FILES:${PN}-sd8897 = " \
644 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
645"
646do_install:append() {
647 # The kernel 5.6.x driver still uses the old name, provide a symlink for
648 # older kernels
649 ln -fs sdsd8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin
650}
651FILES:${PN}-sd8997 = " \
652 ${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin \
653 ${nonarch_base_libdir}/firmware/mrvl/sdsd8997_combo_v4.bin \
654"
655FILES:${PN}-usb8997 = " \
656 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
657"
658
659RDEPENDS:${PN}-sd8686 += "${PN}-marvell-license"
660RDEPENDS:${PN}-sd8688 += "${PN}-marvell-license"
661RDEPENDS:${PN}-sd8787 += "${PN}-marvell-license"
662RDEPENDS:${PN}-sd8797 += "${PN}-marvell-license"
663RDEPENDS:${PN}-sd8801 += "${PN}-marvell-license"
664RDEPENDS:${PN}-sd8887 += "${PN}-marvell-license"
665RDEPENDS:${PN}-sd8897 += "${PN}-marvell-license"
666RDEPENDS:${PN}-sd8997 += "${PN}-marvell-license"
667RDEPENDS:${PN}-usb8997 += "${PN}-marvell-license"
668
669# For netronome
670LICENSE:${PN}-netronome = "Firmware-netronome"
671
672FILES:${PN}-netronome-license = " \
673 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
674"
675FILES:${PN}-netronome = " \
676 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
677 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
678 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
679 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
680 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0011_2x40.nffw \
681 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0012_2x40.nffw \
682 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0078-0011_1x100.nffw \
683 ${nonarch_base_libdir}/firmware/netronome/bpf \
684 ${nonarch_base_libdir}/firmware/netronome/flower \
685 ${nonarch_base_libdir}/firmware/netronome/nic \
686 ${nonarch_base_libdir}/firmware/netronome/nic-sriov \
687"
688
689RDEPENDS:${PN}-netronome += "${PN}-netronome-license"
690
691# For NXP
692LICENSE:${PN}-nxp8987-sdio = "Firmware-nxp"
693LICENSE:${PN}-nxp8997-common = "Firmware-nxp"
694LICENSE:${PN}-nxp8997-pcie = "Firmware-nxp"
695LICENSE:${PN}-nxp8997-sdio = "Firmware-nxp"
696LICENSE:${PN}-nxp9098-common = "Firmware-nxp"
697LICENSE:${PN}-nxp9098-pcie = "Firmware-nxp"
698LICENSE:${PN}-nxp9098-sdio = "Firmware-nxp"
699LICENSE:${PN}-nxpiw416-sdio = "Firmware-nxp"
700LICENSE:${PN}-nxpiw612-sdio = "Firmware-nxp"
701LICENSE:${PN}-nxp-license = "Firmware-nxp"
702
703FILES:${PN}-nxp8987-sdio = "${nonarch_base_libdir}/firmware/nxp/*8987*"
704FILES:${PN}-nxp8997-common = " \
705 ${nonarch_base_libdir}/firmware/nxp/uartuart8997_bt_v4.bin \
706 ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \
707"
708ALLOW_EMPTY:${PN}-nxp8997-pcie = "1"
709ALLOW_EMPTY:${PN}-nxp8997-sdio = "1"
710FILES:${PN}-nxp9098-common = "${nonarch_base_libdir}/firmware/nxp/uartuart9098_bt_v1.bin"
711ALLOW_EMPTY:${PN}-nxp9098-pcie = "1"
712ALLOW_EMPTY:${PN}-nxp9098-sdio = "1"
713FILES:${PN}-nxpiw416-sdio = "${nonarch_base_libdir}/firmware/nxp/*iw416*"
714FILES:${PN}-nxpiw612-sdio = "${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se"
715FILES:${PN}-nxp-license = "${nonarch_base_libdir}/firmware/LICENSE.nxp"
716
717RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-license"
718RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-license"
719RDEPENDS:${PN}-nxp8997-pcie += "${PN}-nxp8997-common"
720RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common"
721RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-license"
722RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common"
723RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common"
724RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-license"
725RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-license"
726
727# For nxp-mc
728LICENSE:${PN}-nxp-mc = "Firmware-nxp_mc_firmware"
729LICENSE:${PN}-nxp-mc-license = "Firmware-nxp_mc_firmware"
730
731FILES:${PN}-nxp-mc= "${nonarch_base_libdir}/firmware/dpaa2/mc/*"
732FILES:${PN}-nxp-mc-license = " \
733 ${nonarch_base_libdir}/firmware/LICENSE.nxp_mc_firmware \
734"
735RDEPENDS:${PN}-nxp-mc += "${PN}-nxp-mc-license"
736
737# For Nvidia
738LICENSE:${PN}-nvidia-gpu = "Firmware-nvidia"
739LICENSE:${PN}-nvidia-tegra = "Firmware-nvidia"
740LICENSE:${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
741LICENSE:${PN}-nvidia-license = "Firmware-nvidia"
742
743FILES:${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia"
744FILES:${PN}-nvidia-tegra = " \
745 ${nonarch_base_libdir}/firmware/nvidia/tegra* \
746 ${nonarch_base_libdir}/firmware/nvidia/gm20b \
747 ${nonarch_base_libdir}/firmware/nvidia/gp10b \
748"
749FILES:${PN}-nvidia-tegra-k1 = " \
750 ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
751 ${nonarch_base_libdir}/firmware/nvidia/gk20a \
752"
753FILES:${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia"
754
755RDEPENDS:${PN}-nvidia-gpu += "${PN}-nvidia-license"
756RDEPENDS:${PN}-nvidia-tegra += "${PN}-nvidia-license"
757RDEPENDS:${PN}-nvidia-tegra-k1 += "${PN}-nvidia-license"
758
759# For OLPC
760LICENSE:${PN}-olpc = "Firmware-OLPC"
761LICENSE:${PN}-olpc-license = "Firmware-OLPC"
762
763FILES:${PN}-olpc = " \
764 ${nonarch_base_libdir}/firmware/libertas/lbtf_sdio.bin \
765 ${nonarch_base_libdir}/firmware/lbtf_usb.bin \
766 ${nonarch_base_libdir}/firmware/libertas/usb8388_olpc.bin \
767"
768FILES:${PN}-olpc-license = "${nonarch_base_libdir}/firmware/LICENCE.OLPC"
769
770RDEPENDS:${PN}-olpc += "${PN}-olpc-license"
771
772# For phanfw
773LICENSE:${PN}-phanfw = "Firmware-phanfw"
774LICENSE:${PN}-phanfw-license = "Firmware-phanfw"
775
776FILES:${PN}-phanfw = "${nonarch_base_libdir}/firmware/phanfw.bin"
777FILES:${PN}-phanfw-license = "${nonarch_base_libdir}/firmware/LICENCE.phanfw"
778
779RDEPENDS:${PN}-phanfw += "${PN}-phanfw-license"
780
781# For qla2xxx
782LICENSE:${PN}-qla2xxx = "Firmware-qla2xxx"
783LICENSE:${PN}-qla2xxx-license = "Firmware-qla2xxx"
784
785FILES:${PN}-qla2xxx = "${nonarch_base_libdir}/firmware/ql2*"
786FILES:${PN}-qla2xxx-license = "${nonarch_base_libdir}/firmware/LICENCE.qla2xxx"
787
788RDEPENDS:${PN}-qla2xxx += "${PN}-qla2xxx-license"
789
790# For RSI RS911x WiFi
791LICENSE:${PN}-rs9113 = "WHENCE"
792LICENSE:${PN}-rs9116 = "WHENCE"
793
794FILES:${PN}-rs9113 = " ${nonarch_base_libdir}/firmware/rsi/rs9113*.rps "
795FILES:${PN}-rs9116 = " ${nonarch_base_libdir}/firmware/rsi/rs9116*.rps "
796
797RDEPENDS:${PN}-rs9113 += "${PN}-whence-license"
798RDEPENDS:${PN}-rs9116 += "${PN}-whence-license"
799
800# For rtl
801LICENSE:${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
802LICENSE:${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
803LICENSE:${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
804LICENSE:${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
805LICENSE:${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
806LICENSE:${PN}-rtl8761 = "Firmware-rtlwifi_firmware"
807LICENSE:${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
808LICENSE:${PN}-rtl8822 = "Firmware-rtlwifi_firmware"
809LICENSE:${PN}-rtl-license = "Firmware-rtlwifi_firmware"
810LICENSE:${PN}-rtl8168 = "WHENCE"
811
812FILES:${PN}-rtl-license = " \
813 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
814"
815FILES:${PN}-rtl8188 = " \
816 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
817"
818FILES:${PN}-rtl8192cu = " \
819 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
820"
821FILES:${PN}-rtl8192ce = " \
822 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
823"
824FILES:${PN}-rtl8192su = " \
825 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
826"
827FILES:${PN}-rtl8723 = " \
828 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
829"
830FILES:${PN}-rtl8821 = " \
831 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
832 ${nonarch_base_libdir}/firmware/rtw88/rtw8821*.bin \
833"
834FILES:${PN}-rtl8761 = " \
835 ${nonarch_base_libdir}/firmware/rtl_bt/rtl8761*.bin \
836"
837FILES:${PN}-rtl8168 = " \
838 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
839"
840FILES:${PN}-rtl8822 = " \
841 ${nonarch_base_libdir}/firmware/rtl_bt/rtl8822*.bin \
842 ${nonarch_base_libdir}/firmware/rtw88/rtw8822*.bin \
843 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8822*.bin \
844"
845
846RDEPENDS:${PN}-rtl8188 += "${PN}-rtl-license"
847RDEPENDS:${PN}-rtl8192ce += "${PN}-rtl-license"
848RDEPENDS:${PN}-rtl8192cu += "${PN}-rtl-license"
849RDEPENDS:${PN}-rtl8192su = "${PN}-rtl-license"
850RDEPENDS:${PN}-rtl8723 += "${PN}-rtl-license"
851RDEPENDS:${PN}-rtl8821 += "${PN}-rtl-license"
852RDEPENDS:${PN}-rtl8761 += "${PN}-rtl-license"
853RDEPENDS:${PN}-rtl8822 += "${PN}-rtl-license"
854RDEPENDS:${PN}-rtl8168 += "${PN}-whence-license"
855
856# For TI wl1251
857LICENSE:${PN}-wl1251 = "Firmware-wl1251"
858LICENSE:${PN}-wl1251-license = "Firmware-wl1251"
859
860FILES:${PN}-wl1251 = " \
861 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1251-fw.bin \
862 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1251-nvs.bin \
863"
864FILES:${PN}-wl1251-license = "${nonarch_base_libdir}/firmware/LICENCE.wl1251"
865
866RDEPENDS:${PN}-wl1251 += "${PN}-wl1251-license"
867
868# For ti-connectivity
869LICENSE:${PN}-wlcommon = "Firmware-ti-connectivity"
870LICENSE:${PN}-wl12xx = "Firmware-ti-connectivity"
871LICENSE:${PN}-wl18xx = "Firmware-ti-connectivity"
872LICENSE:${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
873
874FILES:${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
875# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
876# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
877# and drivers/net/wireless/ti/wlcore/spi.c.
878# While they're optional and actually only used to override the MAC
879# address on wl18xx, driver loading will delay (by udev timout - 60s)
880# if not there. So let's make it available always. Because it's a
881# symlink, both need to go to wlcommon.
882FILES:${PN}-wlcommon = " \
883 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
884 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
885 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
886"
887FILES:${PN}-wl12xx = " \
888 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
889"
890FILES:${PN}-wl18xx = " \
891 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
892"
893
894RDEPENDS:${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
895RDEPENDS:${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
896
897# For ti-keystone
898LICENSE:${PN}-ti-keystone = "Firmware-ti-keystone"
899LICENSE:${PN}-ti-keystone-license = "Firmware-ti-keystone"
900
901FILES:${PN}-ti-keystone = "${nonarch_base_libdir}/firmware/ti-keystone/*"
902FILES:${PN}-ti-keystone-license = " \
903 ${nonarch_base_libdir}/firmware/LICENCE.ti-keystone \
904"
905RDEPENDS:${PN}-ti-keystone += "${PN}-ti-keystone-license"
906
907# For vt6656
908LICENSE:${PN}-vt6656 = "Firmware-via_vt6656"
909LICENSE:${PN}-vt6656-license = "Firmware-via_vt6656"
910
911FILES:${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
912FILES:${PN}-vt6656 = " \
913 ${nonarch_base_libdir}/firmware/vntwusb.fw \
914"
915
916RDEPENDS:${PN}-vt6656 = "${PN}-vt6656-license"
917
918# For xc4000
919LICENSE:${PN}-xc4000 = "Firmware-xc4000"
920LICENSE:${PN}-xc4000-license = "Firmware-xc4000"
921
922FILES:${PN}-xc4000 = "${nonarch_base_libdir}/firmware/dvb-fe-xc4000-1.4.1.fw"
923FILES:${PN}-xc4000-license = "${nonarch_base_libdir}/firmware/LICENCE.xc4000"
924
925RDEPENDS:${PN}-xc4000 += "${PN}-xc4000-license"
926
927# For xc5000
928LICENSE:${PN}-xc5000 = "Firmware-xc5000"
929LICENSE:${PN}-xc5000-license = "Firmware-xc5000"
930
931FILES:${PN}-xc5000 = "${nonarch_base_libdir}/firmware/dvb-fe-xc5000-1.6.114.fw"
932FILES:${PN}-xc5000-license = "${nonarch_base_libdir}/firmware/LICENCE.xc5000"
933
934RDEPENDS:${PN}-xc5000 += "${PN}-xc5000-license"
935
936# For xc5000c
937LICENSE:${PN}-xc5000c = "Firmware-xc5000c"
938LICENSE:${PN}-xc5000c-license = "Firmware-xc5000c"
939
940FILES:${PN}-xc5000c = " \
941 ${nonarch_base_libdir}/firmware/dvb-fe-xc5000c-4.1.30.7.fw \
942"
943FILES:${PN}-xc5000c-license = "${nonarch_base_libdir}/firmware/LICENCE.xc5000c"
944
945RDEPENDS:${PN}-xc5000c += "${PN}-xc5000c-license"
946
947# For broadcom
948
949# 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
950
951LICENSE:${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
952FILES:${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
953
954# 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
955
956FILES:${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
957FILES:${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
958FILES:${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
959FILES:${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
960FILES:${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
961FILES:${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
962FILES:${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
963FILES:${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
964FILES:${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin \
965 ${nonarch_base_libdir}/firmware/cypress/cyfmac4339-sdio.bin \
966"
967FILES:${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
968FILES:${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
969FILES:${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
970FILES:${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
971FILES:${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
972 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
973"
974FILES:${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
975FILES:${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \
976 ${nonarch_base_libdir}/firmware/cypress/cyfmac43455-sdio.* \
977"
978FILES:${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
979FILES:${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
980FILES:${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.* \
981 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-sdio.* \
982"
983FILES:${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
984FILES:${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin \
985 ${nonarch_base_libdir}/firmware/cypress/cyfmac43570-pcie.bin \
986"
987FILES:${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
988FILES:${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
989 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
990"
991FILES:${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
992FILES:${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
993FILES:${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
994
995# 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
996# Currently 1st one and last 6 have cypress LICENSE
997
998LICENSE:${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
999RDEPENDS:${PN}-bcm43xx += "${PN}-broadcom-license"
1000LICENSE:${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
1001RDEPENDS:${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
1002LICENSE:${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
1003RDEPENDS:${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
1004LICENSE:${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
1005RDEPENDS:${PN}-bcm43236b += "${PN}-broadcom-license"
1006LICENSE:${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
1007RDEPENDS:${PN}-bcm4329 += "${PN}-broadcom-license"
1008LICENSE:${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
1009RDEPENDS:${PN}-bcm4330 += "${PN}-broadcom-license"
1010LICENSE:${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
1011RDEPENDS:${PN}-bcm4334 += "${PN}-broadcom-license"
1012LICENSE:${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
1013RDEPENDS:${PN}-bcm4335 += "${PN}-broadcom-license"
1014LICENSE:${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
1015RDEPENDS:${PN}-bcm4339 += "${PN}-broadcom-license"
1016LICENSE:${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
1017RDEPENDS:${PN}-bcm43241b0 += "${PN}-broadcom-license"
1018LICENSE:${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
1019RDEPENDS:${PN}-bcm43241b4 += "${PN}-broadcom-license"
1020LICENSE:${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
1021RDEPENDS:${PN}-bcm43241b5 += "${PN}-broadcom-license"
1022LICENSE:${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
1023RDEPENDS:${PN}-bcm43242a += "${PN}-broadcom-license"
1024LICENSE:${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
1025RDEPENDS:${PN}-bcm43143 += "${PN}-broadcom-license"
1026LICENSE:${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
1027RDEPENDS:${PN}-bcm43430a0 += "${PN}-broadcom-license"
1028LICENSE:${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
1029RDEPENDS:${PN}-bcm43455 += "${PN}-broadcom-license"
1030LICENSE:${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
1031RDEPENDS:${PN}-bcm4350c2 += "${PN}-broadcom-license"
1032LICENSE:${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
1033RDEPENDS:${PN}-bcm4350 += "${PN}-broadcom-license"
1034LICENSE:${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
1035RDEPENDS:${PN}-bcm4356 += "${PN}-broadcom-license"
1036LICENSE:${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
1037RDEPENDS:${PN}-bcm43569 += "${PN}-broadcom-license"
1038LICENSE:${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
1039RDEPENDS:${PN}-bcm43570 += "${PN}-broadcom-license"
1040LICENSE:${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
1041RDEPENDS:${PN}-bcm4358 += "${PN}-broadcom-license"
1042LICENSE:${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
1043RDEPENDS:${PN}-bcm43602 += "${PN}-broadcom-license"
1044LICENSE:${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
1045RDEPENDS:${PN}-bcm4366b += "${PN}-broadcom-license"
1046LICENSE:${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
1047RDEPENDS:${PN}-bcm4366c += "${PN}-broadcom-license"
1048LICENSE:${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
1049RDEPENDS:${PN}-bcm4371 += "${PN}-broadcom-license"
1050
1051# For broadcom cypress
1052
1053LICENSE:${PN}-cypress-license = "Firmware-cypress"
1054FILES:${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
1055
1056FILES:${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
1057FILES:${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.* \
1058 ${nonarch_base_libdir}/firmware/cypress/cyfmac43340-sdio.*"
1059FILES:${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.* \
1060 ${nonarch_base_libdir}/firmware/cypress/cyfmac43362-sdio.*"
1061FILES:${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \
1062 ${nonarch_base_libdir}/firmware/cypress/cyfmac43430-sdio.*"
1063FILES:${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin \
1064 ${nonarch_base_libdir}/firmware/cypress/cyfmac4354-sdio.bin \
1065"
1066FILES:${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \
1067 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-pcie.* \
1068"
1069FILES:${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
1070 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
1071 ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.bin \
1072 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.clm_blob \
1073"
1074
1075LICENSE:${PN}-bcm-0bb4-0306 = "Firmware-cypress"
1076RDEPENDS:${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
1077LICENSE:${PN}-bcm43340 = "Firmware-cypress"
1078RDEPENDS:${PN}-bcm43340 += "${PN}-cypress-license"
1079LICENSE:${PN}-bcm43362 = "Firmware-cypress"
1080RDEPENDS:${PN}-bcm43362 += "${PN}-cypress-license"
1081LICENSE:${PN}-bcm43430 = "Firmware-cypress"
1082RDEPENDS:${PN}-bcm43430 += "${PN}-cypress-license"
1083LICENSE:${PN}-bcm4354 = "Firmware-cypress"
1084RDEPENDS:${PN}-bcm4354 += "${PN}-cypress-license"
1085LICENSE:${PN}-bcm4356-pcie = "Firmware-cypress"
1086RDEPENDS:${PN}-bcm4356-pcie += "${PN}-cypress-license"
1087LICENSE:${PN}-bcm4373 = "Firmware-cypress"
1088RDEPENDS:${PN}-bcm4373 += "${PN}-cypress-license"
1089
1090# For Broadcom bnx2-mips
1091#
1092# which is a separate case to the other Broadcom firmwares since its
1093# license is contained in the shared WHENCE file.
1094
1095LICENSE:${PN}-bnx2-mips = "WHENCE"
1096LICENSE:${PN}-whence-license = "WHENCE"
1097
1098FILES:${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
1099FILES:${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
1100
1101RDEPENDS:${PN}-bnx2-mips += "${PN}-whence-license"
1102
1103# For cirrus
1104LICENSE:${PN}-cirrus = "Firmware-cirrus"
1105LICENSE:${PN}-cirrus-license = "Firmware-cirrus"
1106
1107FILES:${PN}-cirrus = "${nonarch_base_libdir}/firmware/cirrus/*"
1108FILES:${PN}-cirrus-license = "${nonarch_base_libdir}/firmware/LICENSE.cirrus"
1109
1110RDEPENDS:${PN}-cirrus += "${PN}-cirrus-license"
1111
1112# For cnm
1113LICENSE:${PN}-cnm = "Firmware-cnm"
1114LICENSE:${PN}-cnm-license = "Firmware-cnm"
1115
1116FILES:${PN}-cnm = "${nonarch_base_libdir}/firmware/cnm/wave521c_k3_codec_fw.bin"
1117FILES:${PN}-cnm-license = "${nonarch_base_libdir}/firmware/LICENCE.cnm"
1118
1119RDEPENDS:${PN}-cnm += "${PN}-cnm-license"
1120
1121# For imx-sdma
1122LICENSE:${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
1123LICENSE:${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
1124LICENSE:${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
1125
1126FILES:${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
1127
1128RPROVIDES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
1129RREPLACES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
1130RCONFLICTS:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
1131
1132FILES:${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
1133
1134FILES:${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
1135
1136RDEPENDS:${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
1137RDEPENDS:${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
1138
1139# For iwlwifi
1140LICENSE:${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
1141LICENSE:${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
1142LICENSE:${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
1143LICENSE:${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
1144LICENSE:${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
1145LICENSE:${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
1146LICENSE:${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
1147LICENSE:${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
1148LICENSE:${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
1149LICENSE:${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
1150LICENSE:${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
1151LICENSE:${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
1152LICENSE:${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
1153LICENSE:${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
1154LICENSE:${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
1155LICENSE:${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
1156LICENSE:${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
1157LICENSE:${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
1158LICENSE:${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
1159LICENSE:${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
1160LICENSE:${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
1161LICENSE:${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
1162LICENSE:${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
1163LICENSE:${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
1164LICENSE:${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
1165
1166
1167FILES:${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
1168FILES:${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
1169FILES:${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
1170FILES:${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
1171FILES:${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
1172FILES:${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
1173FILES:${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
1174FILES:${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
1175FILES:${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
1176FILES:${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
1177FILES:${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
1178FILES:${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
1179FILES:${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
1180FILES:${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
1181FILES:${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
1182FILES:${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
1183FILES:${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
1184FILES:${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
1185FILES:${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
1186FILES:${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
1187FILES:${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
1188FILES:${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
1189FILES:${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
1190FILES:${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
1191
1192RDEPENDS:${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
1193RDEPENDS:${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
1194RDEPENDS:${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
1195RDEPENDS:${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
1196RDEPENDS:${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
1197RDEPENDS:${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
1198RDEPENDS:${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
1199RDEPENDS:${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
1200RDEPENDS:${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
1201RDEPENDS:${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
1202RDEPENDS:${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
1203RDEPENDS:${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
1204RDEPENDS:${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
1205RDEPENDS:${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
1206RDEPENDS:${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
1207RDEPENDS:${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
1208RDEPENDS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
1209RDEPENDS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
1210RDEPENDS:${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
1211RDEPENDS:${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
1212RDEPENDS:${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
1213RDEPENDS:${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
1214RDEPENDS:${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
1215
1216# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
1217# firmwares that are not already included in other -iwlwifi- packages.
1218# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
1219# These are distinct in order to allow the -misc firmwares to be installed
1220# without pulling in every other iwlwifi package.
1221ALLOW_EMPTY:${PN}-iwlwifi = "1"
1222ALLOW_EMPTY:${PN}-iwlwifi-misc = "1"
1223
1224# Handle package updating for the newly merged iwlwifi groupings
1225RPROVIDES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
1226RREPLACES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
1227RCONFLICTS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
1228
1229RPROVIDES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
1230RREPLACES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
1231RCONFLICTS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
1232
1233# For ibt
1234LICENSE:${PN}-ibt-license = "Firmware-ibt_firmware"
1235LICENSE:${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
1236LICENSE:${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
1237LICENSE:${PN}-ibt-11-5 = "Firmware-ibt_firmware"
1238LICENSE:${PN}-ibt-12-16 = "Firmware-ibt_firmware"
1239LICENSE:${PN}-ibt-17 = "Firmware-ibt_firmware"
1240LICENSE:${PN}-ibt-20 = "Firmware-ibt_firmware"
1241LICENSE:${PN}-ibt-misc = "Firmware-ibt_firmware"
1242
1243FILES:${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
1244FILES:${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
1245FILES:${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
1246FILES:${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
1247FILES:${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
1248FILES:${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
1249FILES:${PN}-ibt-20 = "${nonarch_base_libdir}/firmware/intel/ibt-20-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-20-*.ddc"
1250FILES:${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/intel/ibt-*"
1251
1252RDEPENDS:${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
1253RDEPENDS:${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
1254RDEPENDS:${PN}-ibt-11-5 = "${PN}-ibt-license"
1255RDEPENDS:${PN}-ibt-12-16 = "${PN}-ibt-license"
1256RDEPENDS:${PN}-ibt-17 = "${PN}-ibt-license"
1257RDEPENDS:${PN}-ibt-20 = "${PN}-ibt-license"
1258RDEPENDS:${PN}-ibt-misc = "${PN}-ibt-license"
1259
1260ALLOW_EMPTY:${PN}-ibt= "1"
1261ALLOW_EMPTY:${PN}-ibt-misc = "1"
1262
1263LICENSE:${PN}-i915 = "Firmware-i915"
1264LICENSE:${PN}-i915-license = "Firmware-i915"
1265FILES:${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
1266FILES:${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
1267RDEPENDS:${PN}-i915 = "${PN}-i915-license"
1268
1269# For ice-enhanced
1270LICENSE:${PN}-ice-enhanced = "Firmware-ice_enhanced"
1271LICENSE:${PN}-ice-enhanced-license = "Firmware-ice_enhanced"
1272
1273FILES:${PN}-ice-enhanced = " \
1274 ${nonarch_base_libdir}/firmware/intel/ice/ddp-comms/* \
1275 ${nonarch_base_libdir}/firmware/intel/ice/ddp-wireless_edge/* \
1276"
1277FILES:${PN}-ice-enhanced-license = " \
1278 ${nonarch_base_libdir}/firmware/LICENSE.ice_enhanced \
1279"
1280RDEPENDS:${PN}-ice-enhanced = "${PN}-ice-enhanced-license"
1281
1282LICENSE:${PN}-ice = "Firmware-ice"
1283LICENSE:${PN}-ice-license = "Firmware-ice"
1284FILES:${PN}-ice-license = "${nonarch_base_libdir}/firmware/LICENSE.ice"
1285FILES:${PN}-ice = " \
1286 ${nonarch_base_libdir}/firmware/intel/ice/ddp/* \
1287 ${nonarch_base_libdir}/firmware/intel/ice/ddp-lag/* \
1288"
1289RDEPENDS:${PN}-ice = "${PN}-ice-license"
1290
1291FILES:${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
1292LICENSE:${PN}-adsp-sst = "Firmware-adsp_sst"
1293LICENSE:${PN}-adsp-sst-license = "Firmware-adsp_sst"
1294FILES:${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
1295RDEPENDS:${PN}-adsp-sst = "${PN}-adsp-sst-license"
1296
1297# For QAT
1298LICENSE:${PN}-qat = "Firmware-qat"
1299LICENSE:${PN}-qat-license = "Firmware-qat"
1300FILES:${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
1301FILES:${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
1302RDEPENDS:${PN}-qat = "${PN}-qat-license"
1303
1304# For QCOM VPU/GPU and SDM845
1305LICENSE:${PN}-qcom-license = "Firmware-qcom"
1306LICENSE:${PN}-qcom-yamato-license = "Firmware-qcom-yamato"
1307LICENSE:${PN}-qcom-venus-1.8 = "Firmware-qcom"
1308LICENSE:${PN}-qcom-venus-4.2 = "Firmware-qcom"
1309LICENSE:${PN}-qcom-venus-5.2 = "Firmware-qcom"
1310LICENSE:${PN}-qcom-venus-5.4 = "Firmware-qcom"
1311LICENSE:${PN}-qcom-venus-6.0 = "Firmware-qcom"
1312LICENSE:${PN}-qcom-vpu-1.0 = "Firmware-qcom"
1313LICENSE:${PN}-qcom-vpu-2.0 = "Firmware-qcom"
1314LICENSE:${PN}-qcom-adreno-a2xx = "Firmware-qcom Firmware-qcom-yamato"
1315LICENSE:${PN}-qcom-adreno-a3xx = "Firmware-qcom"
1316LICENSE:${PN}-qcom-adreno-a4xx = "Firmware-qcom"
1317LICENSE:${PN}-qcom-adreno-a530 = "Firmware-qcom"
1318LICENSE:${PN}-qcom-adreno-a630 = "Firmware-qcom"
1319LICENSE:${PN}-qcom-adreno-a650 = "Firmware-qcom"
1320LICENSE:${PN}-qcom-adreno-a660 = "Firmware-qcom"
1321LICENSE:${PN}-qcom-adreno-a702 = "Firmware-qcom"
1322LICENSE:${PN}-qcom-apq8016-modem = "Firmware-qcom"
1323LICENSE:${PN}-qcom-apq8016-wifi = "Firmware-qcom"
1324LICENSE:${PN}-qcom-apq8096-audio = "Firmware-qcom"
1325LICENSE:${PN}-qcom-apq8096-adreno = "Firmware-qcom"
1326LICENSE:${PN}-qcom-apq8096-modem = "Firmware-qcom"
1327LICENSE:${PN}-qcom-qcm2290-adreno = "Firmware-qcom"
1328LICENSE:${PN}-qcom-qcm2290-audio = "Firmware-qcom"
1329LICENSE:${PN}-qcom-qcm2290-modem = "Firmware-qcom"
1330LICENSE:${PN}-qcom-qcm2290-wifi = "Firmware-qcom"
1331LICENSE:${PN}-qcom-qrb4210-adreno = "Firmware-qcom"
1332LICENSE:${PN}-qcom-qrb4210-audio = "Firmware-qcom"
1333LICENSE:${PN}-qcom-qrb4210-compute = "Firmware-qcom"
1334LICENSE:${PN}-qcom-qrb4210-modem = "Firmware-qcom"
1335LICENSE:${PN}-qcom-qrb4210-wifi = "Firmware-qcom"
1336LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "Firmware-qcom & Firmware-linaro"
1337LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "Firmware-qcom"
1338LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "Firmware-qcom"
1339LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "Firmware-qcom"
1340LICENSE:${PN}-qcom-sdm845-audio = "Firmware-qcom"
1341LICENSE:${PN}-qcom-sdm845-adreno = "Firmware-qcom"
1342LICENSE:${PN}-qcom-sdm845-compute = "Firmware-qcom"
1343LICENSE:${PN}-qcom-sdm845-modem = "Firmware-qcom"
1344LICENSE:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "Firmware-qcom"
1345LICENSE:${PN}-qcom-sm8250-audio = "Firmware-qcom"
1346LICENSE:${PN}-qcom-sm8250-adreno = "Firmware-qcom"
1347LICENSE:${PN}-qcom-sm8250-compute = "Firmware-qcom"
1348LICENSE:${PN}-qcom-sm8250-thundercomm-rb5-sensors = "Firmware-qcom"
1349
1350FILES:${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
1351FILES:${PN}-qcom-yamato-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom_yamato"
1352FILES:${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
1353FILES:${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
1354FILES:${PN}-qcom-venus-5.2 = "${nonarch_base_libdir}/firmware/qcom/venus-5.2/*"
1355FILES:${PN}-qcom-venus-5.4 = "${nonarch_base_libdir}/firmware/qcom/venus-5.4/*"
1356FILES:${PN}-qcom-venus-6.0 = "${nonarch_base_libdir}/firmware/qcom/venus-6.0/*"
1357FILES:${PN}-qcom-vpu-1.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-1.0/*"
1358FILES:${PN}-qcom-vpu-2.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-2.0/*"
1359FILES:${PN}-qcom-adreno-a2xx = "${nonarch_base_libdir}/firmware/qcom/leia_*.fw ${nonarch_base_libdir}/firmware/qcom/yamato_*.fw"
1360FILES:${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a3*_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
1361FILES:${PN}-qcom-adreno-a4xx = "${nonarch_base_libdir}/firmware/qcom/a4*_*.fw"
1362FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.fw*"
1363FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.*"
1364FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.*"
1365FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
1366FILES:${PN}-qcom-adreno-a702 = "${nonarch_base_libdir}/firmware/qcom/a702*.*"
1367FILES:${PN}-qcom-apq8016-modem = "${nonarch_base_libdir}/firmware/qcom/apq8016/mba.mbn ${nonarch_base_libdir}/firmware/qcom/apq8016/modem.mbn"
1368FILES:${PN}-qcom-apq8016-wifi = "${nonarch_base_libdir}/firmware/qcom/apq8016/wcnss.mbn ${nonarch_base_libdir}/firmware/qcom/apq8016/WCNSS*"
1369FILES:${PN}-qcom-apq8096-adreno = "${nonarch_base_libdir}/firmware/qcom/apq8096/a530_zap.mbn ${nonarch_base_libdir}/firmware/qcom/a530_zap.mdt"
1370FILES:${PN}-qcom-apq8096-audio = "${nonarch_base_libdir}/firmware/qcom/apq8096/adsp*.*"
1371FILES:${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"
1372FILES:${PN}-qcom-qcm2290-adreno = "${nonarch_base_libdir}/firmware/qcom/qcm2290/a702_zap.mbn"
1373FILES:${PN}-qcom-qcm2290-audio = "${nonarch_base_libdir}/firmware/qcom/qcm2290/adsp*.*"
1374FILES:${PN}-qcom-qcm2290-modem = "${nonarch_base_libdir}/firmware/qcom/qcm2290/modem*.*"
1375FILES:${PN}-qcom-qcm2290-wifi = "${nonarch_base_libdir}/firmware/qcom/qcm2290/wlanmdsp.mbn"
1376FILES:${PN}-qcom-qrb4210-adreno = "${nonarch_base_libdir}/firmware/qcom/qrb4210/a610_zap.mbn"
1377FILES:${PN}-qcom-qrb4210-audio = "${nonarch_base_libdir}/firmware/qcom/qrb4210/adsp*.*"
1378FILES:${PN}-qcom-qrb4210-compute = "${nonarch_base_libdir}/firmware/qcom/qrb4210/cdsp*.*"
1379FILES:${PN}-qcom-qrb4210-modem = "${nonarch_base_libdir}/firmware/qcom/qrb4210/modem*.*"
1380FILES:${PN}-qcom-qrb4210-wifi = "${nonarch_base_libdir}/firmware/qcom/qrb4210/wlanmdsp.mbn"
1381FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compat = "${nonarch_base_libdir}/firmware/qcom/LENOVO/21BX"
1382FILES:${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"
1383FILES:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn"
1384FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*cdsp*.*"
1385FILES:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*slpi*.*"
1386FILES:${PN}-qcom-sdm845-adreno = "${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
1387FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
1388FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
1389FILES:${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"
1390FILES:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "${nonarch_base_libdir}/firmware/qcom/sdm845/Thundercomm/db845c/slpi*.*"
1391FILES:${PN}-qcom-sm8250-adreno = "${nonarch_base_libdir}/firmware/qcom/sm8250/a650*.*"
1392FILES:${PN}-qcom-sm8250-audio = "${nonarch_base_libdir}/firmware/qcom/sm8250/adsp*.*"
1393FILES:${PN}-qcom-sm8250-compute = "${nonarch_base_libdir}/firmware/qcom/sm8250/cdsp*.*"
1394FILES:${PN}-qcom-sm8250-thundercomm-rb5-sensors = "${nonarch_base_libdir}/firmware/qcom/sm8250/Thundercomm/RB5/slpi*.*"
1395
1396RDEPENDS:${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
1397RDEPENDS:${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
1398RDEPENDS:${PN}-qcom-venus-5.2 = "${PN}-qcom-license"
1399RDEPENDS:${PN}-qcom-venus-5.4 = "${PN}-qcom-license"
1400RDEPENDS:${PN}-qcom-venus-6.0 = "${PN}-qcom-license"
1401RDEPENDS:${PN}-qcom-vpu-1.0 = "${PN}-qcom-license"
1402RDEPENDS:${PN}-qcom-vpu-2.0 = "${PN}-qcom-license"
1403RDEPENDS:${PN}-qcom-adreno-a2xx = "${PN}-qcom-license ${PN}-qcom-yamato-license"
1404RDEPENDS:${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
1405RDEPENDS:${PN}-qcom-adreno-a4xx = "${PN}-qcom-license"
1406RDEPENDS:${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
1407RDEPENDS:${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
1408RDEPENDS:${PN}-qcom-adreno-a650 = "${PN}-qcom-license"
1409RDEPENDS:${PN}-qcom-adreno-a660 = "${PN}-qcom-license"
1410RDEPENDS:${PN}-qcom-adreno-a702 = "${PN}-qcom-license"
1411RDEPENDS:${PN}-qcom-apq8016-modem = "${PN}-qcom-license"
1412RDEPENDS:${PN}-qcom-apq8016-wifi = "${PN}-qcom-license"
1413RDEPENDS:${PN}-qcom-apq8096-adreno = "${PN}-qcom-license"
1414RDEPENDS:${PN}-qcom-apq8096-audio = "${PN}-qcom-license"
1415RDEPENDS:${PN}-qcom-apq8096-modem = "${PN}-qcom-license"
1416RDEPENDS:${PN}-qcom-qcm2290-adreno = "${PN}-qcom-license"
1417RDEPENDS:${PN}-qcom-qcm2290-audio = "${PN}-qcom-license"
1418RDEPENDS:${PN}-qcom-qcm2290-modem = "${PN}-qcom-license"
1419RDEPENDS:${PN}-qcom-qcm2290-wifi = "${PN}-qcom-license"
1420RDEPENDS:${PN}-qcom-qrb4210-adreno = "${PN}-qcom-license"
1421RDEPENDS:${PN}-qcom-qrb4210-audio = "${PN}-qcom-license"
1422RDEPENDS:${PN}-qcom-qrb4210-compute = "${PN}-qcom-license"
1423RDEPENDS:${PN}-qcom-qrb4210-modem = "${PN}-qcom-license"
1424RDEPENDS:${PN}-qcom-qrb4210-wifi = "${PN}-qcom-license"
1425RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-license"
1426RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-license"
1427RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-license"
1428RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-license"
1429RDEPENDS:${PN}-qcom-sdm845-adreno = "${PN}-qcom-license"
1430RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
1431RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
1432RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
1433RDEPENDS:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "${PN}-qcom-license"
1434RDEPENDS:${PN}-qcom-sm8250-adreno = "${PN}-qcom-license"
1435RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license"
1436RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license"
1437RDEPENDS:${PN}-qcom-sm8250-thundercomm-rb5-sensors = "${PN}-qcom-license"
1438
1439RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1440RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1441RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1442RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1443
1444FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
1445
1446# For Amlogic VDEC
1447LICENSE:${PN}-amlogic-vdec = "Firmware-amlogic_vdec"
1448FILES:${PN}-amlogic-vdec-license = "${nonarch_base_libdir}/firmware/LICENSE.amlogic_vdec"
1449FILES:${PN}-amlogic-vdec = "${nonarch_base_libdir}/firmware/meson/vdec/*"
1450RDEPENDS:${PN}-amlogic-vdec = "${PN}-amlogic-vdec-license"
1451
1452# For other firmwares
1453# Maybe split out to separate packages when needed.
1454LICENSE:${PN} = "\
1455 Firmware-Abilis \
1456 & Firmware-agere \
1457 & Firmware-amdgpu \
1458 & Firmware-amd-ucode \
1459 & Firmware-amlogic_vdec \
1460 & Firmware-atmel \
1461 & Firmware-ca0132 \
1462 & Firmware-cavium \
1463 & Firmware-chelsio_firmware \
1464 & Firmware-cirrus \
1465 & Firmware-cnm \
1466 & Firmware-cw1200 \
1467 & Firmware-dib0700 \
1468 & Firmware-e100 \
1469 & Firmware-ene_firmware \
1470 & Firmware-fw_sst_0f28 \
1471 & Firmware-go7007 \
1472 & Firmware-hfi1_firmware \
1473 & Firmware-ibt_firmware \
1474 & Firmware-it913x \
1475 & Firmware-IntcSST2 \
1476 & Firmware-kaweth \
1477 & Firmware-moxa \
1478 & Firmware-myri10ge_firmware \
1479 & Firmware-nvidia \
1480 & Firmware-nxp \
1481 & Firmware-OLPC \
1482 & Firmware-ath9k-htc \
1483 & Firmware-phanfw \
1484 & Firmware-qat \
1485 & Firmware-qcom \
1486 & Firmware-qla1280 \
1487 & Firmware-qla2xxx \
1488 & Firmware-r8a779x_usb3 \
1489 & Firmware-radeon \
1490 & Firmware-ralink_a_mediatek_company_firmware \
1491 & Firmware-ralink-firmware \
1492 & Firmware-imx-sdma_firmware \
1493 & Firmware-siano \
1494 & Firmware-ti-connectivity \
1495 & Firmware-ti-keystone \
1496 & Firmware-ueagle-atm4-firmware \
1497 & Firmware-wl1251 \
1498 & Firmware-xc4000 \
1499 & Firmware-xc5000 \
1500 & Firmware-xc5000c \
1501 & WHENCE \
1502"
1503
1504FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
1505FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
1506RDEPENDS:${PN} += "${PN}-license"
1507RDEPENDS:${PN} += "${PN}-whence-license"
1508
1509# Make linux-firmware depend on all of the split-out packages.
1510# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
1511# Make linux-firmware-ibt depend on all of the split-out ibt packages.
1512python populate_packages:prepend () {
1513 firmware_pkgs = oe.utils.packages_filter_out_system(d)
1514 d.appendVar('RRECOMMENDS:linux-firmware', ' ' + ' '.join(firmware_pkgs))
1515
1516 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
1517 d.appendVar('RRECOMMENDS:linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
1518
1519 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
1520 d.appendVar('RRECOMMENDS:linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
1521}
1522
1523# Firmware files are generally not ran on the CPU, so they can be
1524# allarch despite being architecture specific
1525INSANE_SKIP = "arch"
1526
1527# Don't warn about already stripped files
1528INSANE_SKIP:${PN} = "already-stripped"
1529
1530# No need to put firmware into the sysroot
1531SYSROOT_DIRS_IGNORE += "${nonarch_base_libdir}/firmware"