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