blob: 3470131294270179b0506f7f09959b24cddc2f6d [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -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-atheros_firmware \
16 & Firmware-atmel \
17 & Firmware-broadcom_bcm43xx \
18 & Firmware-ca0132 \
19 & Firmware-cavium \
20 & Firmware-chelsio_firmware \
21 & Firmware-cw1200 \
22 & Firmware-cypress \
23 & Firmware-dib0700 \
24 & Firmware-e100 \
25 & Firmware-ene_firmware \
26 & Firmware-fw_sst_0f28 \
27 & Firmware-go7007 \
28 & Firmware-GPLv2 \
29 & Firmware-hfi1_firmware \
30 & Firmware-i915 \
31 & Firmware-ibt_firmware \
32 & Firmware-ice \
33 & Firmware-it913x \
34 & Firmware-iwlwifi_firmware \
35 & Firmware-IntcSST2 \
36 & Firmware-kaweth \
37 & Firmware-Lontium \
38 & Firmware-Marvell \
39 & Firmware-moxa \
40 & Firmware-myri10ge_firmware \
41 & Firmware-netronome \
42 & Firmware-nvidia \
43 & Firmware-OLPC \
44 & Firmware-ath9k-htc \
45 & Firmware-phanfw \
46 & Firmware-qat \
47 & Firmware-qcom \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060048 & Firmware-qcom-yamato \
Andrew Geissler517393d2023-01-13 08:55:19 -060049 & Firmware-qla1280 \
50 & Firmware-qla2xxx \
51 & Firmware-qualcommAthos_ar3k \
52 & Firmware-qualcommAthos_ath10k \
53 & Firmware-r8a779x_usb3 \
54 & Firmware-radeon \
55 & Firmware-ralink_a_mediatek_company_firmware \
56 & Firmware-ralink-firmware \
57 & Firmware-rtlwifi_firmware \
58 & Firmware-imx-sdma_firmware \
59 & Firmware-siano \
60 & Firmware-ti-connectivity \
61 & Firmware-ti-keystone \
62 & Firmware-ueagle-atm4-firmware \
63 & Firmware-via_vt6656 \
64 & Firmware-wl1251 \
65 & Firmware-xc4000 \
66 & Firmware-xc5000 \
67 & Firmware-xc5000c \
68 & WHENCE \
69"
70
71LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
72 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
73 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
Patrick Williams864cc432023-02-09 14:54:44 -060074 file://LICENSE.amdgpu;md5=a2589a05ea5b6bd2b7f4f623c7e7a649 \
Andrew Geissler517393d2023-01-13 08:55:19 -060075 file://LICENSE.amd-ucode;md5=6ca90c57f7b248de1e25c7f68ffc4698 \
76 file://LICENSE.amlogic_vdec;md5=dc44f59bf64a81643e500ad3f39a468a \
77 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
78 file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \
79 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
80 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
81 file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \
82 file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
83 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
84 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
85 file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \
86 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
87 file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \
88 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
89 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
90 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
91 file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
92 file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \
93 file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \
94 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
95 file://LICENSE.ice;md5=742ab4850f2670792940e6d15c974b2f \
96 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
97 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
98 file://LICENCE.iwlwifi_firmware;md5=2ce6786e0fc11ac6e36b54bb9b799f1b \
99 file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
100 file://LICENSE.Lontium;md5=4ec8dc582ff7295f39e2ca6a7b0be2b6 \
101 file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \
102 file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \
103 file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \
104 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
105 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \
106 file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \
107 file://LICENCE.NXP;md5=58bb8ba632cd729b9ba6183bc6aed36f \
108 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
109 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
110 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
Patrick Williams8e7b46e2023-05-01 14:19:06 -0500111 file://LICENCE.qat_firmware;md5=72de83dfd9b87be7685ed099a39fbea4 \
Andrew Geissler517393d2023-01-13 08:55:19 -0600112 file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -0600113 file://LICENSE.qcom_yamato;md5=d0de0eeccaf1843a850bf7a6777eec5c \
Andrew Geissler517393d2023-01-13 08:55:19 -0600114 file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \
115 file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \
116 file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \
117 file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \
118 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
119 file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \
120 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
121 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
122 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
123 file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \
124 file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \
125 file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \
126 file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \
127 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
128 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
129 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
130 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
131 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
132 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
133 file://WHENCE;md5=${WHENCE_CHKSUM} \
134 "
135# WHENCE checksum is defined separately to ease overriding it if
136# class-devupstream is selected.
Patrick Williams520786c2023-06-25 16:20:36 -0500137WHENCE_CHKSUM = "a0997fc7a9af4e46d96529d6ef13b58a"
Andrew Geissler517393d2023-01-13 08:55:19 -0600138
139# These are not common licenses, set NO_GENERIC_LICENSE for them
140# so that the license files will be copied from fetched source
141NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
142NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst"
143NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
144NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu"
145NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
146NO_GENERIC_LICENSE[Firmware-amlogic_vdec] = "LICENSE.amlogic_vdec"
147NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
148NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel"
149NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
150NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
151NO_GENERIC_LICENSE[Firmware-cadence] = "LICENCE.cadence"
152NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium"
153NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
154NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
155NO_GENERIC_LICENSE[Firmware-cypress] = "LICENCE.cypress"
156NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
157NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100"
158NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
159NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
160NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
161NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2"
162NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware"
163NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915"
164NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
165NO_GENERIC_LICENSE[Firmware-ice] = "LICENSE.ice"
166NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
167NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
168NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
169NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth"
170NO_GENERIC_LICENSE[Firmware-Lontium] = "LICENSE.Lontium"
171NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
172NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek"
173NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa"
174NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
175NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome"
176NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia"
177NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
178NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
179NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
180NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware"
181NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -0600182NO_GENERIC_LICENSE[Firmware-qcom-yamato] = "LICENSE.qcom_yamato"
Andrew Geissler517393d2023-01-13 08:55:19 -0600183NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280"
184NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
185NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k"
186NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k"
187NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
188NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
189NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
190NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
191NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
192NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
193NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware"
194NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
195NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone"
196NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
197NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
198NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
199NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
200NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
201NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
202NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
203
204PE = "1"
205
206SRC_URI = "\
207 ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \
208"
209
210BBCLASSEXTEND = "devupstream:target"
211SRC_URI:class-devupstream = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=https;branch=main"
212# Pin this to the 20220509 release, override this in local.conf
213SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae"
214
Patrick Williams520786c2023-06-25 16:20:36 -0500215SRC_URI[sha256sum] = "8b1acfa16f1ee94732a6acb50d9d6c835cf53af11068bd89ed207bbe04a1e951"
Andrew Geissler517393d2023-01-13 08:55:19 -0600216
217inherit allarch
218
219CLEANBROKEN = "1"
220
221do_compile() {
222 :
223}
224
225do_install() {
226 oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install
227 cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
228}
229
230
231PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
232 ${PN}-mt7601u-license ${PN}-mt7601u \
233 ${PN}-radeon-license ${PN}-radeon \
234 ${PN}-amdgpu-license ${PN}-amdgpu \
235 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
236 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 \
237 ${PN}-sd8887 ${PN}-sd8897 ${PN}-sd8997 ${PN}-usb8997 \
238 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
239 ${PN}-vt6656-license ${PN}-vt6656 \
240 ${PN}-rs9113 ${PN}-rs9116 \
241 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
242 ${PN}-rtl8761 \
243 ${PN}-rtl8168 \
244 ${PN}-cypress-license \
245 ${PN}-broadcom-license \
246 ${PN}-bcm-0bb4-0306 \
247 ${PN}-bcm43143 \
248 ${PN}-bcm43236b \
249 ${PN}-bcm43241b0 \
250 ${PN}-bcm43241b4 \
251 ${PN}-bcm43241b5 \
252 ${PN}-bcm43242a \
253 ${PN}-bcm4329 \
254 ${PN}-bcm4329-fullmac \
255 ${PN}-bcm4330 \
256 ${PN}-bcm4334 \
257 ${PN}-bcm43340 \
258 ${PN}-bcm4335 \
259 ${PN}-bcm43362 \
260 ${PN}-bcm4339 \
261 ${PN}-bcm43430 \
262 ${PN}-bcm43430a0 \
263 ${PN}-bcm43455 \
264 ${PN}-bcm4350 \
265 ${PN}-bcm4350c2 \
266 ${PN}-bcm4354 \
267 ${PN}-bcm4356 \
268 ${PN}-bcm4356-pcie \
269 ${PN}-bcm43569 \
270 ${PN}-bcm43570 \
271 ${PN}-bcm4358 \
272 ${PN}-bcm43602 \
273 ${PN}-bcm4366b \
274 ${PN}-bcm4366c \
275 ${PN}-bcm4371 \
276 ${PN}-bcm4373 \
277 ${PN}-bcm43xx \
278 ${PN}-bcm43xx-hdr \
279 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k ${PN}-ath3k \
280 ${PN}-gplv2-license ${PN}-carl9170 \
281 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-ath11k ${PN}-qca \
282 \
283 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
284 \
285 ${PN}-iwlwifi-license ${PN}-iwlwifi \
286 ${PN}-iwlwifi-135-6 \
287 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
288 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
289 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
290 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
291 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
292 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
293 ${PN}-iwlwifi-7260 \
294 ${PN}-iwlwifi-7265 \
295 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
296 ${PN}-iwlwifi-9000 \
297 ${PN}-iwlwifi-misc \
298 ${PN}-ibt-license ${PN}-ibt \
299 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
300 ${PN}-ibt-17 \
301 ${PN}-ibt-20 \
302 ${PN}-ibt-misc \
303 ${PN}-i915-license ${PN}-i915 \
304 ${PN}-ice-license ${PN}-ice \
305 ${PN}-adsp-sst-license ${PN}-adsp-sst \
306 ${PN}-bnx2-mips \
307 ${PN}-liquidio \
308 ${PN}-nvidia-license \
309 ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
310 ${PN}-nvidia-gpu \
311 ${PN}-netronome-license ${PN}-netronome \
312 ${PN}-qat ${PN}-qat-license \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -0600313 ${PN}-qcom-license ${PN}-qcom-yamato-license \
Andrew Geissler517393d2023-01-13 08:55:19 -0600314 ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 ${PN}-qcom-venus-5.2 ${PN}-qcom-venus-5.4 \
315 ${PN}-qcom-vpu-1.0 ${PN}-qcom-vpu-2.0 \
316 ${PN}-qcom-adreno-a2xx ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a4xx ${PN}-qcom-adreno-a530 \
317 ${PN}-qcom-adreno-a630 ${PN}-qcom-adreno-a650 ${PN}-qcom-adreno-a660 \
318 ${PN}-qcom-apq8096-audio ${PN}-qcom-apq8096-modem \
319 ${PN}-qcom-sc8280xp-lenovo-x13s-compat \
320 ${PN}-qcom-sc8280xp-lenovo-x13s-audio \
321 ${PN}-qcom-sc8280xp-lenovo-x13s-adreno \
322 ${PN}-qcom-sc8280xp-lenovo-x13s-compute \
323 ${PN}-qcom-sc8280xp-lenovo-x13s-sensors \
324 ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
325 ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \
326 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \
327 ${PN}-lt9611uxc ${PN}-lontium-license \
328 ${PN}-whence-license \
329 ${PN}-license \
330 "
331
332# For atheros
333LICENSE:${PN}-ar9170 = "Firmware-atheros_firmware"
334LICENSE:${PN}-ath3k = "Firmware-atheros_firmware"
335LICENSE:${PN}-ath6k = "Firmware-atheros_firmware"
336LICENSE:${PN}-ath9k = "Firmware-atheros_firmware"
337LICENSE:${PN}-atheros-license = "Firmware-atheros_firmware"
338
339FILES:${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
340FILES:${PN}-ar9170 = " \
341 ${nonarch_base_libdir}/firmware/ar9170*.fw \
342"
343FILES:${PN}-ath3k = " \
344 ${nonarch_base_libdir}/firmware/ath3k*fw \
345"
346FILES:${PN}-ath6k = " \
347 ${nonarch_base_libdir}/firmware/ath6k \
348"
349FILES:${PN}-ath9k = " \
350 ${nonarch_base_libdir}/firmware/ar9271.fw \
351 ${nonarch_base_libdir}/firmware/ar7010*.fw \
352 ${nonarch_base_libdir}/firmware/htc_9271.fw \
353 ${nonarch_base_libdir}/firmware/htc_7010.fw \
354 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
355 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
356"
357
358RDEPENDS:${PN}-ar9170 += "${PN}-atheros-license"
359RDEPENDS:${PN}-ath6k += "${PN}-atheros-license"
360RDEPENDS:${PN}-ath9k += "${PN}-atheros-license"
361
362# For carl9170
363LICENSE:${PN}-carl9170 = "Firmware-GPLv2"
364LICENSE:${PN}-gplv2-license = "Firmware-GPLv2"
365
366FILES:${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
367FILES:${PN}-carl9170 = " \
368 ${nonarch_base_libdir}/firmware/carl9170*.fw \
369"
370
371RDEPENDS:${PN}-carl9170 += "${PN}-gplv2-license"
372
373# For QualCommAthos
374LICENSE:${PN}-ar3k = "Firmware-qualcommAthos_ar3k & Firmware-atheros_firmware"
375LICENSE:${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
376LICENSE:${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
377LICENSE:${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
378LICENSE:${PN}-qca = "Firmware-qualcommAthos_ath10k"
379
380FILES:${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
381FILES:${PN}-ar3k = " \
382 ${nonarch_base_libdir}/firmware/ar3k \
383"
384
385FILES:${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
386FILES:${PN}-ath10k = " \
387 ${nonarch_base_libdir}/firmware/ath10k \
388"
389
390FILES:${PN}-ath11k = " \
391 ${nonarch_base_libdir}/firmware/ath11k \
392"
393
394FILES:${PN}-qca = " \
395 ${nonarch_base_libdir}/firmware/qca \
396"
397
398RDEPENDS:${PN}-ar3k += "${PN}-ar3k-license ${PN}-atheros-license"
399RDEPENDS:${PN}-ath10k += "${PN}-ath10k-license"
400RDEPENDS:${PN}-ath11k += "${PN}-ath10k-license"
401RDEPENDS:${PN}-qca += "${PN}-ath10k-license"
402
403# For ralink
404LICENSE:${PN}-ralink = "Firmware-ralink-firmware"
405LICENSE:${PN}-ralink-license = "Firmware-ralink-firmware"
406
407FILES:${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
408FILES:${PN}-ralink = " \
409 ${nonarch_base_libdir}/firmware/rt*.bin \
410"
411
412RDEPENDS:${PN}-ralink += "${PN}-ralink-license"
413
414# For mediatek MT7601U
415LICENSE:${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
416LICENSE:${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
417
418FILES:${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
419FILES:${PN}-mt7601u = " \
420 ${nonarch_base_libdir}/firmware/mt7601u.bin \
421"
422
423RDEPENDS:${PN}-mt7601u += "${PN}-mt7601u-license"
424
425# For radeon
426LICENSE:${PN}-radeon = "Firmware-radeon"
427LICENSE:${PN}-radeon-license = "Firmware-radeon"
428
429FILES:${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
430FILES:${PN}-radeon = " \
431 ${nonarch_base_libdir}/firmware/radeon \
432"
433
434RDEPENDS:${PN}-radeon += "${PN}-radeon-license"
435
436# For amdgpu
437LICENSE:${PN}-amdgpu = "Firmware-amdgpu"
438LICENSE:${PN}-amdgpu-license = "Firmware-amdgpu"
439
440FILES:${PN}-amdgpu-license = "${nonarch_base_libdir}/firmware/LICENSE.amdgpu"
441FILES:${PN}-amdgpu = " \
442 ${nonarch_base_libdir}/firmware/amdgpu \
443"
444
445RDEPENDS:${PN}-amdgpu += "${PN}-amdgpu-license"
446
447# For lontium
448LICENSE:${PN}-lt9611uxc = "Firmware-Lontium"
449
450FILES:${PN}-lontium-license = "${nonarch_base_libdir}/firmware/LICENSE.Lontium"
451FILES:${PN}-lt9611uxc = "${nonarch_base_libdir}/firmware/lt9611uxc_fw.bin"
452
453# For marvell
454LICENSE:${PN}-pcie8897 = "Firmware-Marvell"
455LICENSE:${PN}-pcie8997 = "Firmware-Marvell"
456LICENSE:${PN}-sd8686 = "Firmware-Marvell"
457LICENSE:${PN}-sd8688 = "Firmware-Marvell"
458LICENSE:${PN}-sd8787 = "Firmware-Marvell"
459LICENSE:${PN}-sd8797 = "Firmware-Marvell"
460LICENSE:${PN}-sd8801 = "Firmware-Marvell"
461LICENSE:${PN}-sd8887 = "Firmware-Marvell"
462LICENSE:${PN}-sd8897 = "Firmware-Marvell"
463LICENSE:${PN}-sd8997 = "Firmware-Marvell"
464LICENSE:${PN}-usb8997 = "Firmware-Marvell"
465LICENSE:${PN}-marvell-license = "Firmware-Marvell"
466
467FILES:${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
468FILES:${PN}-pcie8897 = " \
469 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
470"
471FILES:${PN}-pcie8997 = " \
472 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
473 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
474 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
475"
476FILES:${PN}-sd8686 = " \
477 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
478 ${nonarch_base_libdir}/firmware/sd8686* \
479"
480FILES:${PN}-sd8688 = " \
481 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
482 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
483"
484FILES:${PN}-sd8787 = " \
485 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
486"
487FILES:${PN}-sd8797 = " \
488 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
489"
490FILES:${PN}-sd8801 = " \
491 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
492"
493FILES:${PN}-sd8887 = " \
494 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
495"
496FILES:${PN}-sd8897 = " \
497 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
498"
499do_install:append() {
500 # The kernel 5.6.x driver still uses the old name, provide a symlink for
501 # older kernels
502 ln -fs sdsd8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin
503}
504FILES:${PN}-sd8997 = " \
505 ${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin \
506 ${nonarch_base_libdir}/firmware/mrvl/sdsd8997_combo_v4.bin \
507"
508FILES:${PN}-usb8997 = " \
509 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
510"
511
512RDEPENDS:${PN}-sd8686 += "${PN}-marvell-license"
513RDEPENDS:${PN}-sd8688 += "${PN}-marvell-license"
514RDEPENDS:${PN}-sd8787 += "${PN}-marvell-license"
515RDEPENDS:${PN}-sd8797 += "${PN}-marvell-license"
516RDEPENDS:${PN}-sd8801 += "${PN}-marvell-license"
517RDEPENDS:${PN}-sd8887 += "${PN}-marvell-license"
518RDEPENDS:${PN}-sd8897 += "${PN}-marvell-license"
519RDEPENDS:${PN}-sd8997 += "${PN}-marvell-license"
520RDEPENDS:${PN}-usb8997 += "${PN}-marvell-license"
521
522# For netronome
523LICENSE:${PN}-netronome = "Firmware-netronome"
524
525FILES:${PN}-netronome-license = " \
526 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
527"
528FILES:${PN}-netronome = " \
529 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
530 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
531 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
532 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
533 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0011_2x40.nffw \
534 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0012_2x40.nffw \
535 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0078-0011_1x100.nffw \
536 ${nonarch_base_libdir}/firmware/netronome/bpf \
537 ${nonarch_base_libdir}/firmware/netronome/flower \
538 ${nonarch_base_libdir}/firmware/netronome/nic \
539 ${nonarch_base_libdir}/firmware/netronome/nic-sriov \
540"
541
542RDEPENDS:${PN}-netronome += "${PN}-netronome-license"
543
544# For Nvidia
545LICENSE:${PN}-nvidia-gpu = "Firmware-nvidia"
546LICENSE:${PN}-nvidia-tegra = "Firmware-nvidia"
547LICENSE:${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
548LICENSE:${PN}-nvidia-license = "Firmware-nvidia"
549
550FILES:${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia"
551FILES:${PN}-nvidia-tegra = " \
552 ${nonarch_base_libdir}/firmware/nvidia/tegra* \
553 ${nonarch_base_libdir}/firmware/nvidia/gm20b \
554 ${nonarch_base_libdir}/firmware/nvidia/gp10b \
555"
556FILES:${PN}-nvidia-tegra-k1 = " \
557 ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
558 ${nonarch_base_libdir}/firmware/nvidia/gk20a \
559"
560FILES:${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia"
561
562RDEPENDS:${PN}-nvidia-gpu += "${PN}-nvidia-license"
563RDEPENDS:${PN}-nvidia-tegra += "${PN}-nvidia-license"
564RDEPENDS:${PN}-nvidia-tegra-k1 += "${PN}-nvidia-license"
565
566# For RSI RS911x WiFi
567LICENSE:${PN}-rs9113 = "WHENCE"
568LICENSE:${PN}-rs9116 = "WHENCE"
569
570FILES:${PN}-rs9113 = " ${nonarch_base_libdir}/firmware/rsi/rs9113*.rps "
571FILES:${PN}-rs9116 = " ${nonarch_base_libdir}/firmware/rsi/rs9116*.rps "
572
573RDEPENDS:${PN}-rs9113 += "${PN}-whence-license"
574RDEPENDS:${PN}-rs9116 += "${PN}-whence-license"
575
576# For rtl
577LICENSE:${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
578LICENSE:${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
579LICENSE:${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
580LICENSE:${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
581LICENSE:${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
582LICENSE:${PN}-rtl8761 = "Firmware-rtlwifi_firmware"
583LICENSE:${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
584LICENSE:${PN}-rtl-license = "Firmware-rtlwifi_firmware"
585LICENSE:${PN}-rtl8168 = "WHENCE"
586
587FILES:${PN}-rtl-license = " \
588 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
589"
590FILES:${PN}-rtl8188 = " \
591 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
592"
593FILES:${PN}-rtl8192cu = " \
594 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
595"
596FILES:${PN}-rtl8192ce = " \
597 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
598"
599FILES:${PN}-rtl8192su = " \
600 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
601"
602FILES:${PN}-rtl8723 = " \
603 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
604"
605FILES:${PN}-rtl8821 = " \
606 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
607"
608FILES:${PN}-rtl8761 = " \
609 ${nonarch_base_libdir}/firmware/rtl_bt/rtl8761*.bin \
610"
611FILES:${PN}-rtl8168 = " \
612 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
613"
614
615RDEPENDS:${PN}-rtl8188 += "${PN}-rtl-license"
616RDEPENDS:${PN}-rtl8192ce += "${PN}-rtl-license"
617RDEPENDS:${PN}-rtl8192cu += "${PN}-rtl-license"
618RDEPENDS:${PN}-rtl8192su = "${PN}-rtl-license"
619RDEPENDS:${PN}-rtl8723 += "${PN}-rtl-license"
620RDEPENDS:${PN}-rtl8821 += "${PN}-rtl-license"
621RDEPENDS:${PN}-rtl8761 += "${PN}-rtl-license"
622RDEPENDS:${PN}-rtl8168 += "${PN}-whence-license"
623
624# For ti-connectivity
625LICENSE:${PN}-wlcommon = "Firmware-ti-connectivity"
626LICENSE:${PN}-wl12xx = "Firmware-ti-connectivity"
627LICENSE:${PN}-wl18xx = "Firmware-ti-connectivity"
628LICENSE:${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
629
630FILES:${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
631# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
632# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
633# and drivers/net/wireless/ti/wlcore/spi.c.
634# While they're optional and actually only used to override the MAC
635# address on wl18xx, driver loading will delay (by udev timout - 60s)
636# if not there. So let's make it available always. Because it's a
637# symlink, both need to go to wlcommon.
638FILES:${PN}-wlcommon = " \
639 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
640 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
641 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
642"
643FILES:${PN}-wl12xx = " \
644 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
645"
646FILES:${PN}-wl18xx = " \
647 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
648"
649
650RDEPENDS:${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
651RDEPENDS:${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
652
653# For vt6656
654LICENSE:${PN}-vt6656 = "Firmware-via_vt6656"
655LICENSE:${PN}-vt6656-license = "Firmware-via_vt6656"
656
657FILES:${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
658FILES:${PN}-vt6656 = " \
659 ${nonarch_base_libdir}/firmware/vntwusb.fw \
660"
661
662RDEPENDS:${PN}-vt6656 = "${PN}-vt6656-license"
663
664# For broadcom
665
666# 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
667
668LICENSE:${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
669FILES:${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
670
671# 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
672
673FILES:${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
674FILES:${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
675FILES:${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
676FILES:${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
677FILES:${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
678FILES:${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
679FILES:${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
680FILES:${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
681FILES:${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin \
682 ${nonarch_base_libdir}/firmware/cypress/cyfmac4339-sdio.bin \
683"
684FILES:${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
685FILES:${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
686FILES:${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
687FILES:${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
688FILES:${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
689 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
690"
691FILES:${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
692FILES:${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \
693 ${nonarch_base_libdir}/firmware/cypress/cyfmac43455-sdio.* \
694"
695FILES:${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
696FILES:${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
697FILES:${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.* \
698 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-sdio.* \
699"
700FILES:${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
701FILES:${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin \
702 ${nonarch_base_libdir}/firmware/cypress/cyfmac43570-pcie.bin \
703"
704FILES:${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
705FILES:${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
706 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
707"
708FILES:${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
709FILES:${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
710FILES:${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
711
712# 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
713# Currently 1st one and last 6 have cypress LICENSE
714
715LICENSE:${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
716RDEPENDS:${PN}-bcm43xx += "${PN}-broadcom-license"
717LICENSE:${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
718RDEPENDS:${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
719LICENSE:${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
720RDEPENDS:${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
721LICENSE:${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
722RDEPENDS:${PN}-bcm43236b += "${PN}-broadcom-license"
723LICENSE:${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
724RDEPENDS:${PN}-bcm4329 += "${PN}-broadcom-license"
725LICENSE:${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
726RDEPENDS:${PN}-bcm4330 += "${PN}-broadcom-license"
727LICENSE:${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
728RDEPENDS:${PN}-bcm4334 += "${PN}-broadcom-license"
729LICENSE:${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
730RDEPENDS:${PN}-bcm4335 += "${PN}-broadcom-license"
731LICENSE:${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
732RDEPENDS:${PN}-bcm4339 += "${PN}-broadcom-license"
733LICENSE:${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
734RDEPENDS:${PN}-bcm43241b0 += "${PN}-broadcom-license"
735LICENSE:${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
736RDEPENDS:${PN}-bcm43241b4 += "${PN}-broadcom-license"
737LICENSE:${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
738RDEPENDS:${PN}-bcm43241b5 += "${PN}-broadcom-license"
739LICENSE:${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
740RDEPENDS:${PN}-bcm43242a += "${PN}-broadcom-license"
741LICENSE:${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
742RDEPENDS:${PN}-bcm43143 += "${PN}-broadcom-license"
743LICENSE:${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
744RDEPENDS:${PN}-bcm43430a0 += "${PN}-broadcom-license"
745LICENSE:${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
746RDEPENDS:${PN}-bcm43455 += "${PN}-broadcom-license"
747LICENSE:${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
748RDEPENDS:${PN}-bcm4350c2 += "${PN}-broadcom-license"
749LICENSE:${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
750RDEPENDS:${PN}-bcm4350 += "${PN}-broadcom-license"
751LICENSE:${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
752RDEPENDS:${PN}-bcm4356 += "${PN}-broadcom-license"
753LICENSE:${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
754RDEPENDS:${PN}-bcm43569 += "${PN}-broadcom-license"
755LICENSE:${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
756RDEPENDS:${PN}-bcm43570 += "${PN}-broadcom-license"
757LICENSE:${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
758RDEPENDS:${PN}-bcm4358 += "${PN}-broadcom-license"
759LICENSE:${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
760RDEPENDS:${PN}-bcm43602 += "${PN}-broadcom-license"
761LICENSE:${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
762RDEPENDS:${PN}-bcm4366b += "${PN}-broadcom-license"
763LICENSE:${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
764RDEPENDS:${PN}-bcm4366c += "${PN}-broadcom-license"
765LICENSE:${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
766RDEPENDS:${PN}-bcm4371 += "${PN}-broadcom-license"
767
768# For broadcom cypress
769
770LICENSE:${PN}-cypress-license = "Firmware-cypress"
771FILES:${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
772
773FILES:${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
774FILES:${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.* \
775 ${nonarch_base_libdir}/firmware/cypress/cyfmac43340-sdio.*"
776FILES:${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.* \
777 ${nonarch_base_libdir}/firmware/cypress/cyfmac43362-sdio.*"
778FILES:${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \
779 ${nonarch_base_libdir}/firmware/cypress/cyfmac43430-sdio.*"
780FILES:${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin \
781 ${nonarch_base_libdir}/firmware/cypress/cyfmac4354-sdio.bin \
782"
783FILES:${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \
784 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-pcie.* \
785"
786FILES:${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
787 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
788 ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.bin \
789 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.clm_blob \
790"
791
792LICENSE:${PN}-bcm-0bb4-0306 = "Firmware-cypress"
793RDEPENDS:${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
794LICENSE:${PN}-bcm43340 = "Firmware-cypress"
795RDEPENDS:${PN}-bcm43340 += "${PN}-cypress-license"
796LICENSE:${PN}-bcm43362 = "Firmware-cypress"
797RDEPENDS:${PN}-bcm43362 += "${PN}-cypress-license"
798LICENSE:${PN}-bcm43430 = "Firmware-cypress"
799RDEPENDS:${PN}-bcm43430 += "${PN}-cypress-license"
800LICENSE:${PN}-bcm4354 = "Firmware-cypress"
801RDEPENDS:${PN}-bcm4354 += "${PN}-cypress-license"
802LICENSE:${PN}-bcm4356-pcie = "Firmware-cypress"
803RDEPENDS:${PN}-bcm4356-pcie += "${PN}-cypress-license"
804LICENSE:${PN}-bcm4373 = "Firmware-cypress"
805RDEPENDS:${PN}-bcm4373 += "${PN}-cypress-license"
806
807# For Broadcom bnx2-mips
808#
809# which is a separate case to the other Broadcom firmwares since its
810# license is contained in the shared WHENCE file.
811
812LICENSE:${PN}-bnx2-mips = "WHENCE"
813LICENSE:${PN}-whence-license = "WHENCE"
814
815FILES:${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
816FILES:${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
817
818RDEPENDS:${PN}-bnx2-mips += "${PN}-whence-license"
819
820# For imx-sdma
821LICENSE:${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
822LICENSE:${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
823LICENSE:${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
824
825FILES:${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
826
827RPROVIDES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
828RREPLACES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
829RCONFLICTS:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
830
831FILES:${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
832
833FILES:${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
834
835RDEPENDS:${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
836RDEPENDS:${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
837
838# For iwlwifi
839LICENSE:${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
840LICENSE:${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
841LICENSE:${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
842LICENSE:${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
843LICENSE:${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
844LICENSE:${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
845LICENSE:${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
846LICENSE:${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
847LICENSE:${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
848LICENSE:${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
849LICENSE:${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
850LICENSE:${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
851LICENSE:${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
852LICENSE:${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
853LICENSE:${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
854LICENSE:${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
855LICENSE:${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
856LICENSE:${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
857LICENSE:${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
858LICENSE:${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
859LICENSE:${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
860LICENSE:${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
861LICENSE:${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
862LICENSE:${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
863LICENSE:${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
864
865
866FILES:${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
867FILES:${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
868FILES:${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
869FILES:${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
870FILES:${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
871FILES:${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
872FILES:${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
873FILES:${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
874FILES:${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
875FILES:${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
876FILES:${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
877FILES:${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
878FILES:${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
879FILES:${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
880FILES:${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
881FILES:${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
882FILES:${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
883FILES:${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
884FILES:${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
885FILES:${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
886FILES:${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
887FILES:${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
888FILES:${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
889FILES:${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
890
891RDEPENDS:${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
892RDEPENDS:${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
893RDEPENDS:${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
894RDEPENDS:${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
895RDEPENDS:${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
896RDEPENDS:${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
897RDEPENDS:${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
898RDEPENDS:${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
899RDEPENDS:${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
900RDEPENDS:${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
901RDEPENDS:${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
902RDEPENDS:${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
903RDEPENDS:${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
904RDEPENDS:${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
905RDEPENDS:${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
906RDEPENDS:${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
907RDEPENDS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
908RDEPENDS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
909RDEPENDS:${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
910RDEPENDS:${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
911RDEPENDS:${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
912RDEPENDS:${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
913RDEPENDS:${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
914
915# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
916# firmwares that are not already included in other -iwlwifi- packages.
917# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
918# These are distinct in order to allow the -misc firmwares to be installed
919# without pulling in every other iwlwifi package.
920ALLOW_EMPTY:${PN}-iwlwifi = "1"
921ALLOW_EMPTY:${PN}-iwlwifi-misc = "1"
922
923# Handle package updating for the newly merged iwlwifi groupings
924RPROVIDES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
925RREPLACES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
926RCONFLICTS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
927
928RPROVIDES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
929RREPLACES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
930RCONFLICTS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
931
932# For ibt
933LICENSE:${PN}-ibt-license = "Firmware-ibt_firmware"
934LICENSE:${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
935LICENSE:${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
936LICENSE:${PN}-ibt-11-5 = "Firmware-ibt_firmware"
937LICENSE:${PN}-ibt-12-16 = "Firmware-ibt_firmware"
938LICENSE:${PN}-ibt-17 = "Firmware-ibt_firmware"
939LICENSE:${PN}-ibt-20 = "Firmware-ibt_firmware"
940LICENSE:${PN}-ibt-misc = "Firmware-ibt_firmware"
941
942FILES:${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
943FILES:${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
944FILES:${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
945FILES:${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
946FILES:${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
947FILES:${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
948FILES:${PN}-ibt-20 = "${nonarch_base_libdir}/firmware/intel/ibt-20-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-20-*.ddc"
949FILES:${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/intel/ibt-*"
950
951RDEPENDS:${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
952RDEPENDS:${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
953RDEPENDS:${PN}-ibt-11-5 = "${PN}-ibt-license"
954RDEPENDS:${PN}-ibt-12-16 = "${PN}-ibt-license"
955RDEPENDS:${PN}-ibt-17 = "${PN}-ibt-license"
956RDEPENDS:${PN}-ibt-20 = "${PN}-ibt-license"
957RDEPENDS:${PN}-ibt-misc = "${PN}-ibt-license"
958
959ALLOW_EMPTY:${PN}-ibt= "1"
960ALLOW_EMPTY:${PN}-ibt-misc = "1"
961
962LICENSE:${PN}-i915 = "Firmware-i915"
963LICENSE:${PN}-i915-license = "Firmware-i915"
964FILES:${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
965FILES:${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
966RDEPENDS:${PN}-i915 = "${PN}-i915-license"
967
968LICENSE:${PN}-ice = "Firmware-ice"
969LICENSE:${PN}-ice-license = "Firmware-ice"
970FILES:${PN}-ice-license = "${nonarch_base_libdir}/firmware/LICENSE.ice"
971FILES:${PN}-ice = "${nonarch_base_libdir}/firmware/intel/ice"
972RDEPENDS:${PN}-ice = "${PN}-ice-license"
973
974FILES:${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
975LICENSE:${PN}-adsp-sst = "Firmware-adsp_sst"
976LICENSE:${PN}-adsp-sst-license = "Firmware-adsp_sst"
977FILES:${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
978RDEPENDS:${PN}-adsp-sst = "${PN}-adsp-sst-license"
979
980# For QAT
981LICENSE:${PN}-qat = "Firmware-qat"
982LICENSE:${PN}-qat-license = "Firmware-qat"
983FILES:${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
984FILES:${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
985RDEPENDS:${PN}-qat = "${PN}-qat-license"
986
987# For QCOM VPU/GPU and SDM845
988LICENSE:${PN}-qcom-license = "Firmware-qcom"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -0600989LICENSE:${PN}-qcom-yamato-license = "Firmware-qcom-yamato"
990LICENSE:${PN}-qcom-venus-1.8 = "Firmware-qcom"
991LICENSE:${PN}-qcom-venus-4.2 = "Firmware-qcom"
992LICENSE:${PN}-qcom-venus-5.2 = "Firmware-qcom"
993LICENSE:${PN}-qcom-venus-5.4 = "Firmware-qcom"
994LICENSE:${PN}-qcom-vpu-1.0 = "Firmware-qcom"
995LICENSE:${PN}-qcom-vpu-2.0 = "Firmware-qcom"
996LICENSE:${PN}-qcom-adreno-a2xx = "Firmware-qcom Firmware-qcom-yamato"
997LICENSE:${PN}-qcom-adreno-a3xx = "Firmware-qcom"
998LICENSE:${PN}-qcom-adreno-a4xx = "Firmware-qcom"
999LICENSE:${PN}-qcom-adreno-a530 = "Firmware-qcom"
1000LICENSE:${PN}-qcom-adreno-a630 = "Firmware-qcom"
1001LICENSE:${PN}-qcom-adreno-a650 = "Firmware-qcom"
1002LICENSE:${PN}-qcom-adreno-a660 = "Firmware-qcom"
1003LICENSE:${PN}-qcom-apq8096-audio = "Firmware-qcom"
1004LICENSE:${PN}-qcom-apq8096-modem = "Firmware-qcom"
1005LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "Firmware-qcom"
1006LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "Firmware-qcom"
1007LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "Firmware-qcom"
1008LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "Firmware-qcom"
1009LICENSE:${PN}-qcom-sdm845-audio = "Firmware-qcom"
1010LICENSE:${PN}-qcom-sdm845-compute = "Firmware-qcom"
1011LICENSE:${PN}-qcom-sdm845-modem = "Firmware-qcom"
1012LICENSE:${PN}-qcom-sm8250-audio = "Firmware-qcom"
1013LICENSE:${PN}-qcom-sm8250-compute = "Firmware-qcom"
1014
Andrew Geissler517393d2023-01-13 08:55:19 -06001015FILES:${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06001016FILES:${PN}-qcom-yamato-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom_yamato"
Andrew Geissler517393d2023-01-13 08:55:19 -06001017FILES:${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
1018FILES:${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
1019FILES:${PN}-qcom-venus-5.2 = "${nonarch_base_libdir}/firmware/qcom/venus-5.2/*"
1020FILES:${PN}-qcom-venus-5.4 = "${nonarch_base_libdir}/firmware/qcom/venus-5.4/*"
1021FILES:${PN}-qcom-vpu-1.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-1.0/*"
1022FILES:${PN}-qcom-vpu-2.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-2.0/*"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06001023FILES:${PN}-qcom-adreno-a2xx = "${nonarch_base_libdir}/firmware/qcom/leia_*.fw ${nonarch_base_libdir}/firmware/qcom/yamato_*.fw"
Andrew Geissler517393d2023-01-13 08:55:19 -06001024FILES:${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a3*_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
1025FILES:${PN}-qcom-adreno-a4xx = "${nonarch_base_libdir}/firmware/qcom/a4*_*.fw"
1026FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.* ${nonarch_base_libdir}/firmware/qcom/apq8096/a530*.*"
1027FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
1028FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.* ${nonarch_base_libdir}/firmware/qcom/sm8250/a650*.*"
1029FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*"
1030FILES:${PN}-qcom-apq8096-audio = "${nonarch_base_libdir}/firmware/qcom/apq8096/adsp*.*"
1031FILES:${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"
1032FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compat = "${nonarch_base_libdir}/firmware/qcom/LENOVO/21BX"
1033FILES:${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"
1034FILES:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn"
1035FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*cdsp*.*"
1036FILES:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*slpi*.*"
1037FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
1038FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
1039FILES:${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"
1040FILES:${PN}-qcom-sm8250-audio = "${nonarch_base_libdir}/firmware/qcom/sm8250/adsp*.*"
1041FILES:${PN}-qcom-sm8250-compute = "${nonarch_base_libdir}/firmware/qcom/sm8250/cdsp*.*"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06001042
Andrew Geissler517393d2023-01-13 08:55:19 -06001043RDEPENDS:${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
1044RDEPENDS:${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
1045RDEPENDS:${PN}-qcom-venus-5.2 = "${PN}-qcom-license"
1046RDEPENDS:${PN}-qcom-venus-5.4 = "${PN}-qcom-license"
1047RDEPENDS:${PN}-qcom-vpu-1.0 = "${PN}-qcom-license"
1048RDEPENDS:${PN}-qcom-vpu-2.0 = "${PN}-qcom-license"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06001049RDEPENDS:${PN}-qcom-adreno-a2xx = "${PN}-qcom-license ${PN}-qcom-yamato-license"
Andrew Geissler517393d2023-01-13 08:55:19 -06001050RDEPENDS:${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
1051RDEPENDS:${PN}-qcom-adreno-a4xx = "${PN}-qcom-license"
1052RDEPENDS:${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
1053RDEPENDS:${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
1054RDEPENDS:${PN}-qcom-adreno-a650 = "${PN}-qcom-license"
1055RDEPENDS:${PN}-qcom-adreno-a660 = "${PN}-qcom-license"
1056RDEPENDS:${PN}-qcom-apq8096-audio = "${PN}-qcom-license"
1057RDEPENDS:${PN}-qcom-apq8096-modem = "${PN}-qcom-license"
1058RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-license"
1059RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-license"
1060RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-license"
1061RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-license"
1062RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
1063RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
1064RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
1065RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license"
1066RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license"
1067
1068RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1069RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1070RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1071RRECOMMENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-sc8280xp-lenovo-x13s-compat"
1072
1073FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
1074
1075# For Amlogic VDEC
1076LICENSE:${PN}-amlogic-vdec = "Firmware-amlogic_vdec"
1077FILES:${PN}-amlogic-vdec-license = "${nonarch_base_libdir}/firmware/LICENSE.amlogic_vdec"
1078FILES:${PN}-amlogic-vdec = "${nonarch_base_libdir}/firmware/meson/vdec/*"
1079RDEPENDS:${PN}-amlogic-vdec = "${PN}-amlogic-vdec-license"
1080
1081# For other firmwares
1082# Maybe split out to separate packages when needed.
1083LICENSE:${PN} = "\
1084 Firmware-Abilis \
1085 & Firmware-agere \
1086 & Firmware-amdgpu \
1087 & Firmware-amd-ucode \
1088 & Firmware-amlogic_vdec \
1089 & Firmware-atmel \
1090 & Firmware-ca0132 \
1091 & Firmware-cavium \
1092 & Firmware-chelsio_firmware \
1093 & Firmware-cw1200 \
1094 & Firmware-dib0700 \
1095 & Firmware-e100 \
1096 & Firmware-ene_firmware \
1097 & Firmware-fw_sst_0f28 \
1098 & Firmware-go7007 \
1099 & Firmware-hfi1_firmware \
1100 & Firmware-ibt_firmware \
1101 & Firmware-it913x \
1102 & Firmware-IntcSST2 \
1103 & Firmware-kaweth \
1104 & Firmware-moxa \
1105 & Firmware-myri10ge_firmware \
1106 & Firmware-nvidia \
1107 & Firmware-OLPC \
1108 & Firmware-ath9k-htc \
1109 & Firmware-phanfw \
1110 & Firmware-qat \
1111 & Firmware-qcom \
1112 & Firmware-qla1280 \
1113 & Firmware-qla2xxx \
1114 & Firmware-r8a779x_usb3 \
1115 & Firmware-radeon \
1116 & Firmware-ralink_a_mediatek_company_firmware \
1117 & Firmware-ralink-firmware \
1118 & Firmware-imx-sdma_firmware \
1119 & Firmware-siano \
1120 & Firmware-ti-connectivity \
1121 & Firmware-ti-keystone \
1122 & Firmware-ueagle-atm4-firmware \
1123 & Firmware-wl1251 \
1124 & Firmware-xc4000 \
1125 & Firmware-xc5000 \
1126 & Firmware-xc5000c \
1127 & WHENCE \
1128"
1129
1130FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
1131FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
1132RDEPENDS:${PN} += "${PN}-license"
1133RDEPENDS:${PN} += "${PN}-whence-license"
1134
1135# Make linux-firmware depend on all of the split-out packages.
1136# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
1137# Make linux-firmware-ibt depend on all of the split-out ibt packages.
1138python populate_packages:prepend () {
1139 firmware_pkgs = oe.utils.packages_filter_out_system(d)
1140 d.appendVar('RRECOMMENDS:linux-firmware', ' ' + ' '.join(firmware_pkgs))
1141
1142 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
1143 d.appendVar('RRECOMMENDS:linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
1144
1145 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
1146 d.appendVar('RRECOMMENDS:linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
1147}
1148
1149# Firmware files are generally not ran on the CPU, so they can be
1150# allarch despite being architecture specific
1151INSANE_SKIP = "arch"
1152
1153# Don't warn about already stripped files
1154INSANE_SKIP:${PN} = "already-stripped"
1155
1156# No need to put firmware into the sysroot
1157SYSROOT_DIRS_IGNORE += "${nonarch_base_libdir}/firmware"