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