blob: fe46cb519259ad91cb25b582d9fdf3029eeaf571 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Firmware files for use with Linux kernel"
Andrew Geissler95ac1b82021-03-31 14:34:31 -05002HOMEPAGE = "https://www.kernel.org/"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06003DESCRIPTION = "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."
Andrew Geissler82c905d2020-04-13 13:39:40 -05006SECTION = "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 \
Andrew Geisslerd25ed322020-06-27 00:28:28 -050033 & Firmware-ice \
Andrew Geissler82c905d2020-04-13 13:39:40 -050034 & Firmware-it913x \
35 & Firmware-iwlwifi_firmware \
36 & Firmware-IntcSST2 \
37 & Firmware-kaweth \
Andrew Geisslerd1e89492021-02-12 15:35:20 -060038 & Firmware-Lontium \
Andrew Geissler82c905d2020-04-13 13:39:40 -050039 & 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
72LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
73 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
74 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
75 file://LICENSE.amdgpu;md5=d357524f5099e2a3db3c1838921c593f \
76 file://LICENSE.amd-ucode;md5=3c5399dc9148d7f0e1f41e34b69cf14f \
77 file://LICENSE.amlogic_vdec;md5=dc44f59bf64a81643e500ad3f39a468a \
78 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
79 file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \
80 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
81 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
82 file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \
83 file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
84 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
85 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
86 file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \
87 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
88 file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \
89 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
90 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
91 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
92 file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
93 file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \
94 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
95 file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \
96 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
97 file://LICENSE.ice;md5=742ab4850f2670792940e6d15c974b2f \
98 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
99 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
100 file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
101 file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600102 file://LICENSE.Lontium;md5=4ec8dc582ff7295f39e2ca6a7b0be2b6 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500103 file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \
104 file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \
105 file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \
106 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
107 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \
108 file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \
109 file://LICENCE.NXP;md5=58bb8ba632cd729b9ba6183bc6aed36f \
110 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
111 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
112 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
113 file://LICENCE.qat_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
114 file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \
115 file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \
116 file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \
117 file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \
118 file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \
119 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
120 file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \
121 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
122 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
123 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
124 file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \
125 file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \
126 file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \
127 file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \
128 file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \
129 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
130 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
131 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
132 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
133 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
134 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
William A. Kennington IIIac69b482021-06-02 12:28:27 -0700135 file://WHENCE;md5=727d0d4e2d420f41d89d098f6322e779 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500136 "
137
138# These are not common licenses, set NO_GENERIC_LICENSE for them
139# so that the license files will be copied from fetched source
140NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
141NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst"
142NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
143NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu"
144NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
145NO_GENERIC_LICENSE[Firmware-amlogic_vdec] = "LICENSE.amlogic_vdec"
146NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
147NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel"
148NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
149NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
150NO_GENERIC_LICENSE[Firmware-cadence] = "LICENCE.cadence"
151NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium"
152NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
153NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
154NO_GENERIC_LICENSE[Firmware-cypress] = "LICENCE.cypress"
155NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
156NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100"
157NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
158NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
159NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
160NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2"
161NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware"
162NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m"
163NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915"
164NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
Andrew Geisslerd25ed322020-06-27 00:28:28 -0500165NO_GENERIC_LICENSE[Firmware-ice] = "LICENSE.ice"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500166NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
167NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
168NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
169NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth"
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600170NO_GENERIC_LICENSE[Firmware-Lontium] = "LICENSE.Lontium"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500171NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
172NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek"
173NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa"
174NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
175NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome"
176NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia"
177NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
178NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
179NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
180NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware"
181NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom"
182NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280"
183NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
184NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k"
185NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k"
186NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
187NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
188NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
189NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
190NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
191NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
192NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware"
193NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt"
194NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
195NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone"
196NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
197NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
198NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
199NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
200NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
201NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
202NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
203
204PE = "1"
205
206SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
207
William A. Kennington IIIac69b482021-06-02 12:28:27 -0700208SRC_URI[sha256sum] = "2aa6ae8b9808408f9811ac38f00c188e53e984a2b3990254f6c9c02c1ab13417"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500209
210inherit allarch
211
212CLEANBROKEN = "1"
213
214do_compile() {
215 :
216}
217
218do_install() {
219 oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install
220 cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
221}
222
223
224PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
225 ${PN}-mt7601u-license ${PN}-mt7601u \
226 ${PN}-radeon-license ${PN}-radeon \
227 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500228 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 \
229 ${PN}-sd8887 ${PN}-sd8897 ${PN}-sd8997 ${PN}-usb8997 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500230 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
231 ${PN}-vt6656-license ${PN}-vt6656 \
Andrew Geisslerc926e172021-05-07 16:11:35 -0500232 ${PN}-rs9113 ${PN}-rs9116 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500233 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
234 ${PN}-rtl8168 \
235 ${PN}-cypress-license \
236 ${PN}-broadcom-license \
237 ${PN}-bcm-0bb4-0306 \
238 ${PN}-bcm43143 \
239 ${PN}-bcm43236b \
240 ${PN}-bcm43241b0 \
241 ${PN}-bcm43241b4 \
242 ${PN}-bcm43241b5 \
243 ${PN}-bcm43242a \
244 ${PN}-bcm4329 \
245 ${PN}-bcm4329-fullmac \
246 ${PN}-bcm4330 \
247 ${PN}-bcm4334 \
248 ${PN}-bcm43340 \
249 ${PN}-bcm4335 \
250 ${PN}-bcm43362 \
251 ${PN}-bcm4339 \
252 ${PN}-bcm43430 \
253 ${PN}-bcm43430a0 \
254 ${PN}-bcm43455 \
255 ${PN}-bcm4350 \
256 ${PN}-bcm4350c2 \
257 ${PN}-bcm4354 \
258 ${PN}-bcm4356 \
259 ${PN}-bcm4356-pcie \
260 ${PN}-bcm43569 \
261 ${PN}-bcm43570 \
262 ${PN}-bcm4358 \
263 ${PN}-bcm43602 \
264 ${PN}-bcm4366b \
265 ${PN}-bcm4366c \
266 ${PN}-bcm4371 \
267 ${PN}-bcm4373 \
268 ${PN}-bcm43xx \
269 ${PN}-bcm43xx-hdr \
270 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \
271 ${PN}-gplv2-license ${PN}-carl9170 \
Andrew Geissler09209ee2020-12-13 08:44:15 -0600272 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-ath11k ${PN}-qca \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500273 \
274 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
275 \
276 ${PN}-iwlwifi-license ${PN}-iwlwifi \
277 ${PN}-iwlwifi-135-6 \
278 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
279 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
280 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
281 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
282 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
283 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
284 ${PN}-iwlwifi-7260 \
285 ${PN}-iwlwifi-7265 \
286 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
287 ${PN}-iwlwifi-9000 \
288 ${PN}-iwlwifi-misc \
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500289 ${PN}-ibt-license ${PN}-ibt \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500290 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
291 ${PN}-ibt-17 \
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500292 ${PN}-ibt-20 \
293 ${PN}-ibt-misc \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500294 ${PN}-i915-license ${PN}-i915 \
Andrew Geisslerd25ed322020-06-27 00:28:28 -0500295 ${PN}-ice-license ${PN}-ice \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500296 ${PN}-adsp-sst-license ${PN}-adsp-sst \
297 ${PN}-bnx2-mips \
298 ${PN}-liquidio \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500299 ${PN}-nvidia-license \
300 ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
301 ${PN}-nvidia-gpu \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500302 ${PN}-netronome-license ${PN}-netronome \
303 ${PN}-qat ${PN}-qat-license \
304 ${PN}-qcom-license \
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500305 ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 ${PN}-qcom-venus-5.2 ${PN}-qcom-venus-5.4 \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -0500306 ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 ${PN}-qcom-adreno-a630 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500307 ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500308 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600309 ${PN}-lt9611uxc ${PN}-lontium-license \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500310 ${PN}-whence-license \
311 ${PN}-license \
312 "
313
314# For atheros
Patrick Williams213cb262021-08-07 19:21:33 -0500315LICENSE:${PN}-ar9170 = "Firmware-atheros_firmware"
316LICENSE:${PN}-ath6k = "Firmware-atheros_firmware"
317LICENSE:${PN}-ath9k = "Firmware-atheros_firmware"
318LICENSE:${PN}-atheros-license = "Firmware-atheros_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500319
Patrick Williams213cb262021-08-07 19:21:33 -0500320FILES:${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
321FILES:${PN}-ar9170 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500322 ${nonarch_base_libdir}/firmware/ar9170*.fw \
323"
Patrick Williams213cb262021-08-07 19:21:33 -0500324FILES:${PN}-ath6k = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500325 ${nonarch_base_libdir}/firmware/ath6k \
326"
Patrick Williams213cb262021-08-07 19:21:33 -0500327FILES:${PN}-ath9k = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500328 ${nonarch_base_libdir}/firmware/ar9271.fw \
329 ${nonarch_base_libdir}/firmware/ar7010*.fw \
330 ${nonarch_base_libdir}/firmware/htc_9271.fw \
331 ${nonarch_base_libdir}/firmware/htc_7010.fw \
332 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
333 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
334"
335
Patrick Williams213cb262021-08-07 19:21:33 -0500336RDEPENDS:${PN}-ar9170 += "${PN}-atheros-license"
337RDEPENDS:${PN}-ath6k += "${PN}-atheros-license"
338RDEPENDS:${PN}-ath9k += "${PN}-atheros-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500339
340# For carl9170
Patrick Williams213cb262021-08-07 19:21:33 -0500341LICENSE:${PN}-carl9170 = "Firmware-GPLv2"
342LICENSE:${PN}-gplv2-license = "Firmware-GPLv2"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500343
Patrick Williams213cb262021-08-07 19:21:33 -0500344FILES:${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
345FILES:${PN}-carl9170 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500346 ${nonarch_base_libdir}/firmware/carl9170*.fw \
347"
348
Patrick Williams213cb262021-08-07 19:21:33 -0500349RDEPENDS:${PN}-carl9170 += "${PN}-gplv2-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500350
351# For QualCommAthos
Patrick Williams213cb262021-08-07 19:21:33 -0500352LICENSE:${PN}-ar3k = "Firmware-qualcommAthos_ar3k"
353LICENSE:${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
354LICENSE:${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
355LICENSE:${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
356LICENSE:${PN}-qca = "Firmware-qualcommAthos_ath10k"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500357
Patrick Williams213cb262021-08-07 19:21:33 -0500358FILES:${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
359FILES:${PN}-ar3k = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500360 ${nonarch_base_libdir}/firmware/ar3k \
361"
362
Patrick Williams213cb262021-08-07 19:21:33 -0500363FILES:${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
364FILES:${PN}-ath10k = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500365 ${nonarch_base_libdir}/firmware/ath10k \
366"
367
Patrick Williams213cb262021-08-07 19:21:33 -0500368FILES:${PN}-ath11k = " \
Andrew Geissler09209ee2020-12-13 08:44:15 -0600369 ${nonarch_base_libdir}/firmware/ath11k \
370"
371
Patrick Williams213cb262021-08-07 19:21:33 -0500372FILES:${PN}-qca = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500373 ${nonarch_base_libdir}/firmware/qca \
374"
375
Patrick Williams213cb262021-08-07 19:21:33 -0500376RDEPENDS:${PN}-ar3k += "${PN}-ar3k-license"
377RDEPENDS:${PN}-ath10k += "${PN}-ath10k-license"
378RDEPENDS:${PN}-ath11k += "${PN}-ath10k-license"
379RDEPENDS:${PN}-qca += "${PN}-ath10k-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500380
381# For ralink
Patrick Williams213cb262021-08-07 19:21:33 -0500382LICENSE:${PN}-ralink = "Firmware-ralink-firmware"
383LICENSE:${PN}-ralink-license = "Firmware-ralink-firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500384
Patrick Williams213cb262021-08-07 19:21:33 -0500385FILES:${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
386FILES:${PN}-ralink = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500387 ${nonarch_base_libdir}/firmware/rt*.bin \
388"
389
Patrick Williams213cb262021-08-07 19:21:33 -0500390RDEPENDS:${PN}-ralink += "${PN}-ralink-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500391
392# For mediatek MT7601U
Patrick Williams213cb262021-08-07 19:21:33 -0500393LICENSE:${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
394LICENSE:${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500395
Patrick Williams213cb262021-08-07 19:21:33 -0500396FILES:${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
397FILES:${PN}-mt7601u = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500398 ${nonarch_base_libdir}/firmware/mt7601u.bin \
399"
400
Patrick Williams213cb262021-08-07 19:21:33 -0500401RDEPENDS:${PN}-mt7601u += "${PN}-mt7601u-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500402
403# For radeon
Patrick Williams213cb262021-08-07 19:21:33 -0500404LICENSE:${PN}-radeon = "Firmware-radeon"
405LICENSE:${PN}-radeon-license = "Firmware-radeon"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500406
Patrick Williams213cb262021-08-07 19:21:33 -0500407FILES:${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
408FILES:${PN}-radeon = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500409 ${nonarch_base_libdir}/firmware/radeon \
410"
411
Patrick Williams213cb262021-08-07 19:21:33 -0500412RDEPENDS:${PN}-radeon += "${PN}-radeon-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500413
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600414# For lontium
Patrick Williams213cb262021-08-07 19:21:33 -0500415LICENSE:${PN}-lt9611uxc = "Firmware-Lontium"
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600416
Patrick Williams213cb262021-08-07 19:21:33 -0500417FILES:${PN}-lontium-license = "${nonarch_base_libdir}/firmware/LICENSE.Lontium"
418FILES:${PN}-lt9611uxc = "${nonarch_base_libdir}/firmware/lt9611uxc_fw.bin"
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600419
Andrew Geissler82c905d2020-04-13 13:39:40 -0500420# For marvell
Patrick Williams213cb262021-08-07 19:21:33 -0500421LICENSE:${PN}-pcie8897 = "Firmware-Marvell"
422LICENSE:${PN}-pcie8997 = "Firmware-Marvell"
423LICENSE:${PN}-sd8686 = "Firmware-Marvell"
424LICENSE:${PN}-sd8688 = "Firmware-Marvell"
425LICENSE:${PN}-sd8787 = "Firmware-Marvell"
426LICENSE:${PN}-sd8797 = "Firmware-Marvell"
427LICENSE:${PN}-sd8801 = "Firmware-Marvell"
428LICENSE:${PN}-sd8887 = "Firmware-Marvell"
429LICENSE:${PN}-sd8897 = "Firmware-Marvell"
430LICENSE:${PN}-sd8997 = "Firmware-Marvell"
431LICENSE:${PN}-usb8997 = "Firmware-Marvell"
432LICENSE:${PN}-marvell-license = "Firmware-Marvell"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500433
Patrick Williams213cb262021-08-07 19:21:33 -0500434FILES:${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
435FILES:${PN}-pcie8897 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500436 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
437"
Patrick Williams213cb262021-08-07 19:21:33 -0500438FILES:${PN}-pcie8997 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500439 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
440 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
441 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
442"
Patrick Williams213cb262021-08-07 19:21:33 -0500443FILES:${PN}-sd8686 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500444 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
445 ${nonarch_base_libdir}/firmware/sd8686* \
446"
Patrick Williams213cb262021-08-07 19:21:33 -0500447FILES:${PN}-sd8688 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500448 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
449 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
450"
Patrick Williams213cb262021-08-07 19:21:33 -0500451FILES:${PN}-sd8787 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500452 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
453"
Patrick Williams213cb262021-08-07 19:21:33 -0500454FILES:${PN}-sd8797 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500455 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
456"
Patrick Williams213cb262021-08-07 19:21:33 -0500457FILES:${PN}-sd8801 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500458 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
459"
Patrick Williams213cb262021-08-07 19:21:33 -0500460FILES:${PN}-sd8887 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500461 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
462"
Patrick Williams213cb262021-08-07 19:21:33 -0500463FILES:${PN}-sd8897 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500464 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
465"
Patrick Williams213cb262021-08-07 19:21:33 -0500466do_install:append() {
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500467 # The kernel 5.6.x driver still uses the old name, provide a symlink for
468 # older kernels
469 ln -fs sdsd8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin
470}
Patrick Williams213cb262021-08-07 19:21:33 -0500471FILES:${PN}-sd8997 = " \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500472 ${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin \
473 ${nonarch_base_libdir}/firmware/mrvl/sdsd8997_combo_v4.bin \
474"
Patrick Williams213cb262021-08-07 19:21:33 -0500475FILES:${PN}-usb8997 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500476 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
477"
478
Patrick Williams213cb262021-08-07 19:21:33 -0500479RDEPENDS:${PN}-sd8686 += "${PN}-marvell-license"
480RDEPENDS:${PN}-sd8688 += "${PN}-marvell-license"
481RDEPENDS:${PN}-sd8787 += "${PN}-marvell-license"
482RDEPENDS:${PN}-sd8797 += "${PN}-marvell-license"
483RDEPENDS:${PN}-sd8801 += "${PN}-marvell-license"
484RDEPENDS:${PN}-sd8887 += "${PN}-marvell-license"
485RDEPENDS:${PN}-sd8897 += "${PN}-marvell-license"
486RDEPENDS:${PN}-sd8997 += "${PN}-marvell-license"
487RDEPENDS:${PN}-usb8997 += "${PN}-marvell-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500488
489# For netronome
Patrick Williams213cb262021-08-07 19:21:33 -0500490LICENSE:${PN}-netronome = "Firmware-netronome"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500491
Patrick Williams213cb262021-08-07 19:21:33 -0500492FILES:${PN}-netronome-license = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500493 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
494"
Patrick Williams213cb262021-08-07 19:21:33 -0500495FILES:${PN}-netronome = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500496 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
497 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
498 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
499 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500500 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0011_2x40.nffw \
501 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0058-0012_2x40.nffw \
502 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0078-0011_1x100.nffw \
503 ${nonarch_base_libdir}/firmware/netronome/bpf \
504 ${nonarch_base_libdir}/firmware/netronome/flower \
505 ${nonarch_base_libdir}/firmware/netronome/nic \
506 ${nonarch_base_libdir}/firmware/netronome/nic-sriov \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500507"
508
Patrick Williams213cb262021-08-07 19:21:33 -0500509RDEPENDS:${PN}-netronome += "${PN}-netronome-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500510
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500511# For Nvidia
Patrick Williams213cb262021-08-07 19:21:33 -0500512LICENSE:${PN}-nvidia-gpu = "Firmware-nvidia"
513LICENSE:${PN}-nvidia-tegra = "Firmware-nvidia"
514LICENSE:${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
515LICENSE:${PN}-nvidia-license = "Firmware-nvidia"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500516
Patrick Williams213cb262021-08-07 19:21:33 -0500517FILES:${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia"
518FILES:${PN}-nvidia-tegra = " \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500519 ${nonarch_base_libdir}/firmware/nvidia/tegra* \
520 ${nonarch_base_libdir}/firmware/nvidia/gm20b \
521 ${nonarch_base_libdir}/firmware/nvidia/gp10b \
522"
Patrick Williams213cb262021-08-07 19:21:33 -0500523FILES:${PN}-nvidia-tegra-k1 = " \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500524 ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
525 ${nonarch_base_libdir}/firmware/nvidia/gk20a \
526"
Patrick Williams213cb262021-08-07 19:21:33 -0500527FILES:${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500528
Patrick Williams213cb262021-08-07 19:21:33 -0500529RDEPENDS:${PN}-nvidia-gpu += "${PN}-nvidia-license"
530RDEPENDS:${PN}-nvidia-tegra += "${PN}-nvidia-license"
531RDEPENDS:${PN}-nvidia-tegra-k1 += "${PN}-nvidia-license"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500532
Andrew Geisslerc926e172021-05-07 16:11:35 -0500533# For RSI RS911x WiFi
Patrick Williams213cb262021-08-07 19:21:33 -0500534LICENSE:${PN}-rs9113 = "WHENCE"
535LICENSE:${PN}-rs9116 = "WHENCE"
Andrew Geisslerc926e172021-05-07 16:11:35 -0500536
Patrick Williams213cb262021-08-07 19:21:33 -0500537FILES:${PN}-rs9113 = " ${nonarch_base_libdir}/firmware/rsi/rs9113*.rps "
538FILES:${PN}-rs9116 = " ${nonarch_base_libdir}/firmware/rsi/rs9116*.rps "
Andrew Geisslerc926e172021-05-07 16:11:35 -0500539
Patrick Williams213cb262021-08-07 19:21:33 -0500540RDEPENDS:${PN}-rs9113 += "${PN}-whence-license"
541RDEPENDS:${PN}-rs9116 += "${PN}-whence-license"
Andrew Geisslerc926e172021-05-07 16:11:35 -0500542
Andrew Geissler82c905d2020-04-13 13:39:40 -0500543# For rtl
Patrick Williams213cb262021-08-07 19:21:33 -0500544LICENSE:${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
545LICENSE:${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
546LICENSE:${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
547LICENSE:${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
548LICENSE:${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
549LICENSE:${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
550LICENSE:${PN}-rtl-license = "Firmware-rtlwifi_firmware"
551LICENSE:${PN}-rtl8168 = "WHENCE"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500552
Patrick Williams213cb262021-08-07 19:21:33 -0500553FILES:${PN}-rtl-license = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500554 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
555"
Patrick Williams213cb262021-08-07 19:21:33 -0500556FILES:${PN}-rtl8188 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500557 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
558"
Patrick Williams213cb262021-08-07 19:21:33 -0500559FILES:${PN}-rtl8192cu = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500560 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
561"
Patrick Williams213cb262021-08-07 19:21:33 -0500562FILES:${PN}-rtl8192ce = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500563 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
564"
Patrick Williams213cb262021-08-07 19:21:33 -0500565FILES:${PN}-rtl8192su = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500566 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
567"
Patrick Williams213cb262021-08-07 19:21:33 -0500568FILES:${PN}-rtl8723 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500569 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
570"
Patrick Williams213cb262021-08-07 19:21:33 -0500571FILES:${PN}-rtl8821 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500572 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
573"
Patrick Williams213cb262021-08-07 19:21:33 -0500574FILES:${PN}-rtl8168 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500575 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
576"
577
Patrick Williams213cb262021-08-07 19:21:33 -0500578RDEPENDS:${PN}-rtl8188 += "${PN}-rtl-license"
579RDEPENDS:${PN}-rtl8192ce += "${PN}-rtl-license"
580RDEPENDS:${PN}-rtl8192cu += "${PN}-rtl-license"
581RDEPENDS:${PN}-rtl8192su = "${PN}-rtl-license"
582RDEPENDS:${PN}-rtl8723 += "${PN}-rtl-license"
583RDEPENDS:${PN}-rtl8821 += "${PN}-rtl-license"
584RDEPENDS:${PN}-rtl8168 += "${PN}-whence-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500585
586# For ti-connectivity
Patrick Williams213cb262021-08-07 19:21:33 -0500587LICENSE:${PN}-wlcommon = "Firmware-ti-connectivity"
588LICENSE:${PN}-wl12xx = "Firmware-ti-connectivity"
589LICENSE:${PN}-wl18xx = "Firmware-ti-connectivity"
590LICENSE:${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500591
Patrick Williams213cb262021-08-07 19:21:33 -0500592FILES:${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500593# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
594# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
595# and drivers/net/wireless/ti/wlcore/spi.c.
596# While they're optional and actually only used to override the MAC
597# address on wl18xx, driver loading will delay (by udev timout - 60s)
598# if not there. So let's make it available always. Because it's a
599# symlink, both need to go to wlcommon.
Patrick Williams213cb262021-08-07 19:21:33 -0500600FILES:${PN}-wlcommon = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500601 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
602 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
603 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
604"
Patrick Williams213cb262021-08-07 19:21:33 -0500605FILES:${PN}-wl12xx = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500606 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
607"
Patrick Williams213cb262021-08-07 19:21:33 -0500608FILES:${PN}-wl18xx = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500609 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
610"
611
Patrick Williams213cb262021-08-07 19:21:33 -0500612RDEPENDS:${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
613RDEPENDS:${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500614
615# For vt6656
Patrick Williams213cb262021-08-07 19:21:33 -0500616LICENSE:${PN}-vt6656 = "Firmware-via_vt6656"
617LICENSE:${PN}-vt6656-license = "Firmware-via_vt6656"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500618
Patrick Williams213cb262021-08-07 19:21:33 -0500619FILES:${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
620FILES:${PN}-vt6656 = " \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500621 ${nonarch_base_libdir}/firmware/vntwusb.fw \
622"
623
Patrick Williams213cb262021-08-07 19:21:33 -0500624RDEPENDS:${PN}-vt6656 = "${PN}-vt6656-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500625
626# For broadcom
627
628# 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
629
Patrick Williams213cb262021-08-07 19:21:33 -0500630LICENSE:${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
631FILES:${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500632
Patrick Williams213cb262021-08-07 19:21:33 -0500633# 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
Andrew Geissler82c905d2020-04-13 13:39:40 -0500634
Patrick Williams213cb262021-08-07 19:21:33 -0500635FILES:${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
636FILES:${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
637FILES:${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
638FILES:${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
639FILES:${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
640FILES:${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
641FILES:${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
642FILES:${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
643FILES:${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500644 ${nonarch_base_libdir}/firmware/cypress/cyfmac4339-sdio.bin \
645"
Patrick Williams213cb262021-08-07 19:21:33 -0500646FILES:${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
647FILES:${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
648FILES:${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
649FILES:${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
650FILES:${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500651 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
652"
Patrick Williams213cb262021-08-07 19:21:33 -0500653FILES:${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
654FILES:${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500655 ${nonarch_base_libdir}/firmware/cypress/cyfmac43455-sdio.* \
656"
Patrick Williams213cb262021-08-07 19:21:33 -0500657FILES:${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
658FILES:${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
659FILES:${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.* \
William A. Kennington IIIac69b482021-06-02 12:28:27 -0700660 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-sdio.* \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500661"
Patrick Williams213cb262021-08-07 19:21:33 -0500662FILES:${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
663FILES:${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500664 ${nonarch_base_libdir}/firmware/cypress/cyfmac43570-pcie.bin \
665"
Patrick Williams213cb262021-08-07 19:21:33 -0500666FILES:${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
667FILES:${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500668 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
669"
Patrick Williams213cb262021-08-07 19:21:33 -0500670FILES:${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
671FILES:${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
672FILES:${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500673
Patrick Williams213cb262021-08-07 19:21:33 -0500674# 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
Andrew Geissler82c905d2020-04-13 13:39:40 -0500675# Currently 1st one and last 6 have cypress LICENSE
676
Patrick Williams213cb262021-08-07 19:21:33 -0500677LICENSE:${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
678RDEPENDS:${PN}-bcm43xx += "${PN}-broadcom-license"
679LICENSE:${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
680RDEPENDS:${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
681LICENSE:${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
682RDEPENDS:${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
683LICENSE:${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
684RDEPENDS:${PN}-bcm43236b += "${PN}-broadcom-license"
685LICENSE:${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
686RDEPENDS:${PN}-bcm4329 += "${PN}-broadcom-license"
687LICENSE:${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
688RDEPENDS:${PN}-bcm4330 += "${PN}-broadcom-license"
689LICENSE:${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
690RDEPENDS:${PN}-bcm4334 += "${PN}-broadcom-license"
691LICENSE:${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
692RDEPENDS:${PN}-bcm4335 += "${PN}-broadcom-license"
693LICENSE:${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
694RDEPENDS:${PN}-bcm4339 += "${PN}-broadcom-license"
695LICENSE:${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
696RDEPENDS:${PN}-bcm43241b0 += "${PN}-broadcom-license"
697LICENSE:${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
698RDEPENDS:${PN}-bcm43241b4 += "${PN}-broadcom-license"
699LICENSE:${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
700RDEPENDS:${PN}-bcm43241b5 += "${PN}-broadcom-license"
701LICENSE:${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
702RDEPENDS:${PN}-bcm43242a += "${PN}-broadcom-license"
703LICENSE:${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
704RDEPENDS:${PN}-bcm43143 += "${PN}-broadcom-license"
705LICENSE:${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
706RDEPENDS:${PN}-bcm43430a0 += "${PN}-broadcom-license"
707LICENSE:${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
708RDEPENDS:${PN}-bcm43455 += "${PN}-broadcom-license"
709LICENSE:${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
710RDEPENDS:${PN}-bcm4350c2 += "${PN}-broadcom-license"
711LICENSE:${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
712RDEPENDS:${PN}-bcm4350 += "${PN}-broadcom-license"
713LICENSE:${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
714RDEPENDS:${PN}-bcm4356 += "${PN}-broadcom-license"
715LICENSE:${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
716RDEPENDS:${PN}-bcm43569 += "${PN}-broadcom-license"
717LICENSE:${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
718RDEPENDS:${PN}-bcm43570 += "${PN}-broadcom-license"
719LICENSE:${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
720RDEPENDS:${PN}-bcm4358 += "${PN}-broadcom-license"
721LICENSE:${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
722RDEPENDS:${PN}-bcm43602 += "${PN}-broadcom-license"
723LICENSE:${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
724RDEPENDS:${PN}-bcm4366b += "${PN}-broadcom-license"
725LICENSE:${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
726RDEPENDS:${PN}-bcm4366c += "${PN}-broadcom-license"
727LICENSE:${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
728RDEPENDS:${PN}-bcm4371 += "${PN}-broadcom-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500729
730# For broadcom cypress
731
Patrick Williams213cb262021-08-07 19:21:33 -0500732LICENSE:${PN}-cypress-license = "Firmware-cypress"
733FILES:${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500734
Patrick Williams213cb262021-08-07 19:21:33 -0500735FILES:${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
736FILES:${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.* \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500737 ${nonarch_base_libdir}/firmware/cypress/cyfmac43340-sdio.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500738FILES:${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.* \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500739 ${nonarch_base_libdir}/firmware/cypress/cyfmac43362-sdio.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500740FILES:${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500741 ${nonarch_base_libdir}/firmware/cypress/cyfmac43430-sdio.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500742FILES:${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500743 ${nonarch_base_libdir}/firmware/cypress/cyfmac4354-sdio.bin \
744"
Patrick Williams213cb262021-08-07 19:21:33 -0500745FILES:${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500746 ${nonarch_base_libdir}/firmware/cypress/cyfmac4356-pcie.* \
747"
Patrick Williams213cb262021-08-07 19:21:33 -0500748FILES:${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500749 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500750 ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.bin \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500751"
752
Patrick Williams213cb262021-08-07 19:21:33 -0500753LICENSE:${PN}-bcm-0bb4-0306 = "Firmware-cypress"
754RDEPENDS:${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
755LICENSE:${PN}-bcm43340 = "Firmware-cypress"
756RDEPENDS:${PN}-bcm43340 += "${PN}-cypress-license"
757LICENSE:${PN}-bcm43362 = "Firmware-cypress"
758RDEPENDS:${PN}-bcm43362 += "${PN}-cypress-license"
759LICENSE:${PN}-bcm43430 = "Firmware-cypress"
760RDEPENDS:${PN}-bcm43430 += "${PN}-cypress-license"
761LICENSE:${PN}-bcm4354 = "Firmware-cypress"
762RDEPENDS:${PN}-bcm4354 += "${PN}-cypress-license"
763LICENSE:${PN}-bcm4356-pcie = "Firmware-cypress"
764RDEPENDS:${PN}-bcm4356-pcie += "${PN}-cypress-license"
765LICENSE:${PN}-bcm4373 = "Firmware-cypress"
766RDEPENDS:${PN}-bcm4373 += "${PN}-cypress-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500767
768# For Broadcom bnx2-mips
769#
770# which is a separate case to the other Broadcom firmwares since its
771# license is contained in the shared WHENCE file.
772
Patrick Williams213cb262021-08-07 19:21:33 -0500773LICENSE:${PN}-bnx2-mips = "WHENCE"
774LICENSE:${PN}-whence-license = "WHENCE"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500775
Patrick Williams213cb262021-08-07 19:21:33 -0500776FILES:${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
777FILES:${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500778
Patrick Williams213cb262021-08-07 19:21:33 -0500779RDEPENDS:${PN}-bnx2-mips += "${PN}-whence-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500780
781# For imx-sdma
Patrick Williams213cb262021-08-07 19:21:33 -0500782LICENSE:${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
783LICENSE:${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
784LICENSE:${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500785
Patrick Williams213cb262021-08-07 19:21:33 -0500786FILES:${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500787
Patrick Williams213cb262021-08-07 19:21:33 -0500788RPROVIDES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
789RREPLACES:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
790RCONFLICTS:${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500791
Patrick Williams213cb262021-08-07 19:21:33 -0500792FILES:${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500793
Patrick Williams213cb262021-08-07 19:21:33 -0500794FILES:${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500795
Patrick Williams213cb262021-08-07 19:21:33 -0500796RDEPENDS:${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
797RDEPENDS:${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500798
799# For iwlwifi
Patrick Williams213cb262021-08-07 19:21:33 -0500800LICENSE:${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
801LICENSE:${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
802LICENSE:${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
803LICENSE:${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
804LICENSE:${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
805LICENSE:${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
806LICENSE:${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
807LICENSE:${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
808LICENSE:${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
809LICENSE:${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
810LICENSE:${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
811LICENSE:${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
812LICENSE:${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
813LICENSE:${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
814LICENSE:${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
815LICENSE:${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
816LICENSE:${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
817LICENSE:${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
818LICENSE:${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
819LICENSE:${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
820LICENSE:${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
821LICENSE:${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
822LICENSE:${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
823LICENSE:${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
824LICENSE:${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500825
826
Patrick Williams213cb262021-08-07 19:21:33 -0500827FILES:${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
828FILES:${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
829FILES:${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
830FILES:${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
831FILES:${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
832FILES:${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
833FILES:${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
834FILES:${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
835FILES:${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
836FILES:${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
837FILES:${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
838FILES:${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
839FILES:${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
840FILES:${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
841FILES:${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
842FILES:${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
843FILES:${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
844FILES:${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
845FILES:${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
846FILES:${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
847FILES:${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
848FILES:${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
849FILES:${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
850FILES:${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500851
Patrick Williams213cb262021-08-07 19:21:33 -0500852RDEPENDS:${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
853RDEPENDS:${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
854RDEPENDS:${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
855RDEPENDS:${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
856RDEPENDS:${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
857RDEPENDS:${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
858RDEPENDS:${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
859RDEPENDS:${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
860RDEPENDS:${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
861RDEPENDS:${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
862RDEPENDS:${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
863RDEPENDS:${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
864RDEPENDS:${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
865RDEPENDS:${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
866RDEPENDS:${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
867RDEPENDS:${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
868RDEPENDS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
869RDEPENDS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
870RDEPENDS:${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
871RDEPENDS:${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
872RDEPENDS:${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
873RDEPENDS:${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
874RDEPENDS:${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500875
876# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
877# firmwares that are not already included in other -iwlwifi- packages.
878# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
879# These are distinct in order to allow the -misc firmwares to be installed
880# without pulling in every other iwlwifi package.
Patrick Williams213cb262021-08-07 19:21:33 -0500881ALLOW_EMPTY:${PN}-iwlwifi = "1"
882ALLOW_EMPTY:${PN}-iwlwifi-misc = "1"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500883
884# Handle package updating for the newly merged iwlwifi groupings
Patrick Williams213cb262021-08-07 19:21:33 -0500885RPROVIDES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
886RREPLACES:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
887RCONFLICTS:${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500888
Patrick Williams213cb262021-08-07 19:21:33 -0500889RPROVIDES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
890RREPLACES:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
891RCONFLICTS:${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500892
893# For ibt
Patrick Williams213cb262021-08-07 19:21:33 -0500894LICENSE:${PN}-ibt-license = "Firmware-ibt_firmware"
895LICENSE:${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
896LICENSE:${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
897LICENSE:${PN}-ibt-11-5 = "Firmware-ibt_firmware"
898LICENSE:${PN}-ibt-12-16 = "Firmware-ibt_firmware"
899LICENSE:${PN}-ibt-17 = "Firmware-ibt_firmware"
900LICENSE:${PN}-ibt-20 = "Firmware-ibt_firmware"
901LICENSE:${PN}-ibt-misc = "Firmware-ibt_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500902
Patrick Williams213cb262021-08-07 19:21:33 -0500903FILES:${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
904FILES:${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
905FILES:${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
906FILES:${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
907FILES:${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
908FILES:${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
909FILES:${PN}-ibt-20 = "${nonarch_base_libdir}/firmware/intel/ibt-20-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-20-*.ddc"
910FILES:${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/intel/ibt-*"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500911
Patrick Williams213cb262021-08-07 19:21:33 -0500912RDEPENDS:${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
913RDEPENDS:${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
914RDEPENDS:${PN}-ibt-11-5 = "${PN}-ibt-license"
915RDEPENDS:${PN}-ibt-12-16 = "${PN}-ibt-license"
916RDEPENDS:${PN}-ibt-17 = "${PN}-ibt-license"
917RDEPENDS:${PN}-ibt-20 = "${PN}-ibt-license"
918RDEPENDS:${PN}-ibt-misc = "${PN}-ibt-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500919
Patrick Williams213cb262021-08-07 19:21:33 -0500920ALLOW_EMPTY:${PN}-ibt= "1"
921ALLOW_EMPTY:${PN}-ibt-misc = "1"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500922
Patrick Williams213cb262021-08-07 19:21:33 -0500923LICENSE:${PN}-i915 = "Firmware-i915"
924LICENSE:${PN}-i915-license = "Firmware-i915"
925FILES:${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
926FILES:${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
927RDEPENDS:${PN}-i915 = "${PN}-i915-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500928
Patrick Williams213cb262021-08-07 19:21:33 -0500929LICENSE:${PN}-ice = "Firmware-ice"
930LICENSE:${PN}-ice-license = "Firmware-ice"
931FILES:${PN}-ice-license = "${nonarch_base_libdir}/firmware/LICENSE.ice"
932FILES:${PN}-ice = "${nonarch_base_libdir}/firmware/intel/ice"
933RDEPENDS:${PN}-ice = "${PN}-ice-license"
Andrew Geisslerd25ed322020-06-27 00:28:28 -0500934
Patrick Williams213cb262021-08-07 19:21:33 -0500935FILES:${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
936LICENSE:${PN}-adsp-sst = "Firmware-adsp_sst"
937LICENSE:${PN}-adsp-sst-license = "Firmware-adsp_sst"
938FILES:${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
939RDEPENDS:${PN}-adsp-sst = "${PN}-adsp-sst-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500940
941# For QAT
Patrick Williams213cb262021-08-07 19:21:33 -0500942LICENSE:${PN}-qat = "Firmware-qat"
943LICENSE:${PN}-qat-license = "Firmware-qat"
944FILES:${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
945FILES:${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
946RDEPENDS:${PN}-qat = "${PN}-qat-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500947
948# For QCOM VPU/GPU and SDM845
Patrick Williams213cb262021-08-07 19:21:33 -0500949LICENSE:${PN}-qcom-license = "Firmware-qcom"
950FILES:${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
951FILES:${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
952FILES:${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
953FILES:${PN}-qcom-venus-5.2 = "${nonarch_base_libdir}/firmware/qcom/venus-5.2/*"
954FILES:${PN}-qcom-venus-5.4 = "${nonarch_base_libdir}/firmware/qcom/venus-5.4/*"
955FILES:${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
956FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
957FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
958FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
959FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
960FILES:${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"
961RDEPENDS:${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
962RDEPENDS:${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
963RDEPENDS:${PN}-qcom-venus-5.2 = "${PN}-qcom-license"
964RDEPENDS:${PN}-qcom-venus-5.4 = "${PN}-qcom-license"
965RDEPENDS:${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
966RDEPENDS:${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
967RDEPENDS:${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
968RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
969RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
970RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500971
Patrick Williams213cb262021-08-07 19:21:33 -0500972FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500973
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500974# For Amlogic VDEC
Patrick Williams213cb262021-08-07 19:21:33 -0500975LICENSE:${PN}-amlogic-vdec = "Firmware-amlogic_vdec"
976FILES:${PN}-amlogic-vdec-license = "${nonarch_base_libdir}/firmware/LICENSE.amlogic_vdec"
977FILES:${PN}-amlogic-vdec = "${nonarch_base_libdir}/firmware/meson/vdec/*"
978RDEPENDS:${PN}-amlogic-vdec = "${PN}-amlogic-vdec-license"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500979
Andrew Geissler82c905d2020-04-13 13:39:40 -0500980# For other firmwares
981# Maybe split out to separate packages when needed.
Patrick Williams213cb262021-08-07 19:21:33 -0500982LICENSE:${PN} = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -0500983 Firmware-Abilis \
984 & Firmware-agere \
985 & Firmware-amdgpu \
986 & Firmware-amd-ucode \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500987 & Firmware-amlogic_vdec \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500988 & Firmware-atmel \
989 & Firmware-ca0132 \
990 & Firmware-cavium \
991 & Firmware-chelsio_firmware \
992 & Firmware-cw1200 \
993 & Firmware-dib0700 \
994 & Firmware-e100 \
995 & Firmware-ene_firmware \
996 & Firmware-fw_sst_0f28 \
997 & Firmware-go7007 \
998 & Firmware-hfi1_firmware \
999 & Firmware-i2400m \
1000 & Firmware-ibt_firmware \
1001 & Firmware-it913x \
1002 & Firmware-IntcSST2 \
1003 & Firmware-kaweth \
1004 & Firmware-moxa \
1005 & Firmware-myri10ge_firmware \
1006 & Firmware-nvidia \
1007 & Firmware-OLPC \
1008 & Firmware-ath9k-htc \
1009 & Firmware-phanfw \
1010 & Firmware-qat \
1011 & Firmware-qcom \
1012 & Firmware-qla1280 \
1013 & Firmware-qla2xxx \
1014 & Firmware-r8a779x_usb3 \
1015 & Firmware-radeon \
1016 & Firmware-ralink_a_mediatek_company_firmware \
1017 & Firmware-ralink-firmware \
1018 & Firmware-imx-sdma_firmware \
1019 & Firmware-siano \
1020 & Firmware-tda7706-firmware \
1021 & Firmware-ti-connectivity \
1022 & Firmware-ti-keystone \
1023 & Firmware-ueagle-atm4-firmware \
1024 & Firmware-wl1251 \
1025 & Firmware-xc4000 \
1026 & Firmware-xc5000 \
1027 & Firmware-xc5000c \
1028 & WHENCE \
1029"
1030
Patrick Williams213cb262021-08-07 19:21:33 -05001031FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
1032FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
1033RDEPENDS:${PN} += "${PN}-license"
1034RDEPENDS:${PN} += "${PN}-whence-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -05001035
1036# Make linux-firmware depend on all of the split-out packages.
1037# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
1038# Make linux-firmware-ibt depend on all of the split-out ibt packages.
Patrick Williams213cb262021-08-07 19:21:33 -05001039python populate_packages:prepend () {
Andrew Geissler82c905d2020-04-13 13:39:40 -05001040 firmware_pkgs = oe.utils.packages_filter_out_system(d)
Patrick Williams213cb262021-08-07 19:21:33 -05001041 d.appendVar('RRECOMMENDS:linux-firmware', ' ' + ' '.join(firmware_pkgs))
Andrew Geissler82c905d2020-04-13 13:39:40 -05001042
1043 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
Patrick Williams213cb262021-08-07 19:21:33 -05001044 d.appendVar('RRECOMMENDS:linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
Andrew Geissler82c905d2020-04-13 13:39:40 -05001045
1046 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
Patrick Williams213cb262021-08-07 19:21:33 -05001047 d.appendVar('RRECOMMENDS:linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
Andrew Geissler82c905d2020-04-13 13:39:40 -05001048}
1049
1050# Firmware files are generally not ran on the CPU, so they can be
1051# allarch despite being architecture specific
1052INSANE_SKIP = "arch"