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