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