blob: 0abd28c9fa7fe1ffe83237e9b186d6ba09fe5e8d [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Firmware files for use with Linux kernel"
2SECTION = "kernel"
3
4LICENSE = "\
5 Firmware-Abilis \
6 & Firmware-adsp_sst \
7 & Firmware-agere \
8 & Firmware-amdgpu \
9 & Firmware-amd-ucode \
10 & Firmware-amlogic_vdec \
11 & Firmware-atheros_firmware \
12 & Firmware-atmel \
13 & Firmware-broadcom_bcm43xx \
14 & Firmware-ca0132 \
15 & Firmware-cavium \
16 & Firmware-chelsio_firmware \
17 & Firmware-cw1200 \
18 & Firmware-cypress \
19 & Firmware-dib0700 \
20 & Firmware-e100 \
21 & Firmware-ene_firmware \
22 & Firmware-fw_sst_0f28 \
23 & Firmware-go7007 \
24 & Firmware-GPLv2 \
25 & Firmware-hfi1_firmware \
26 & Firmware-i2400m \
27 & Firmware-i915 \
28 & Firmware-ibt_firmware \
Andrew Geisslerd25ed322020-06-27 00:28:28 -050029 & Firmware-ice \
Andrew Geissler82c905d2020-04-13 13:39:40 -050030 & Firmware-it913x \
31 & Firmware-iwlwifi_firmware \
32 & Firmware-IntcSST2 \
33 & Firmware-kaweth \
34 & Firmware-Marvell \
35 & Firmware-moxa \
36 & Firmware-myri10ge_firmware \
37 & Firmware-netronome \
38 & Firmware-nvidia \
39 & Firmware-OLPC \
40 & Firmware-ath9k-htc \
41 & Firmware-phanfw \
42 & Firmware-qat \
43 & Firmware-qcom \
44 & Firmware-qla1280 \
45 & Firmware-qla2xxx \
46 & Firmware-qualcommAthos_ar3k \
47 & Firmware-qualcommAthos_ath10k \
48 & Firmware-r8a779x_usb3 \
49 & Firmware-radeon \
50 & Firmware-ralink_a_mediatek_company_firmware \
51 & Firmware-ralink-firmware \
52 & Firmware-rtlwifi_firmware \
53 & Firmware-imx-sdma_firmware \
54 & Firmware-siano \
55 & Firmware-tda7706-firmware \
56 & Firmware-ti-connectivity \
57 & Firmware-ti-keystone \
58 & Firmware-ueagle-atm4-firmware \
59 & Firmware-via_vt6656 \
60 & Firmware-wl1251 \
61 & Firmware-xc4000 \
62 & Firmware-xc5000 \
63 & Firmware-xc5000c \
64 & WHENCE \
65"
66
67LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
68 file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \
69 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
70 file://LICENSE.amdgpu;md5=d357524f5099e2a3db3c1838921c593f \
71 file://LICENSE.amd-ucode;md5=3c5399dc9148d7f0e1f41e34b69cf14f \
72 file://LICENSE.amlogic_vdec;md5=dc44f59bf64a81643e500ad3f39a468a \
73 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
74 file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \
75 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
76 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
77 file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \
78 file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
79 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
80 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
81 file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \
82 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
83 file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \
84 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
85 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
86 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
87 file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
88 file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \
89 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
90 file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \
91 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
92 file://LICENSE.ice;md5=742ab4850f2670792940e6d15c974b2f \
93 file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
94 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
95 file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
96 file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
97 file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \
98 file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \
99 file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \
100 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
101 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \
102 file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \
103 file://LICENCE.NXP;md5=58bb8ba632cd729b9ba6183bc6aed36f \
104 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
105 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
106 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
107 file://LICENCE.qat_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
108 file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \
109 file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \
110 file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \
111 file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \
112 file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \
113 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
114 file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \
115 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
116 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
117 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
118 file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \
119 file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \
120 file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \
121 file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \
122 file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \
123 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
124 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
125 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
126 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
127 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
128 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500129 file://WHENCE;md5=4d229f79f8770b5b2c4aac655b9fabef \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500130 "
131
132# These are not common licenses, set NO_GENERIC_LICENSE for them
133# so that the license files will be copied from fetched source
134NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis"
135NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst"
136NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere"
137NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu"
138NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode"
139NO_GENERIC_LICENSE[Firmware-amlogic_vdec] = "LICENSE.amlogic_vdec"
140NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware"
141NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel"
142NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
143NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132"
144NO_GENERIC_LICENSE[Firmware-cadence] = "LICENCE.cadence"
145NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium"
146NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware"
147NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200"
148NO_GENERIC_LICENSE[Firmware-cypress] = "LICENCE.cypress"
149NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700"
150NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100"
151NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware"
152NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28"
153NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007"
154NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2"
155NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware"
156NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m"
157NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915"
158NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware"
Andrew Geisslerd25ed322020-06-27 00:28:28 -0500159NO_GENERIC_LICENSE[Firmware-ice] = "LICENSE.ice"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500160NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2"
161NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x"
162NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware"
163NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth"
164NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell"
165NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek"
166NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa"
167NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware"
168NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome"
169NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia"
170NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC"
171NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
172NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw"
173NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware"
174NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom"
175NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280"
176NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx"
177NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k"
178NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k"
179NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3"
180NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon"
181NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware"
182NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
183NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt"
184NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano"
185NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware"
186NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt"
187NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity"
188NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone"
189NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
190NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656"
191NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251"
192NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000"
193NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000"
194NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c"
195NO_GENERIC_LICENSE[WHENCE] = "WHENCE"
196
197PE = "1"
198
199SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
200
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500201SRC_URI[sha256sum] = "76d05d5f1eff268d3b80675245fa596f557bd55ee2e16ddd54d18ffeae943887"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500202
203inherit allarch
204
205CLEANBROKEN = "1"
206
207do_compile() {
208 :
209}
210
211do_install() {
212 oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install
213 cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
214}
215
216
217PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
218 ${PN}-mt7601u-license ${PN}-mt7601u \
219 ${PN}-radeon-license ${PN}-radeon \
220 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500221 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 \
222 ${PN}-sd8887 ${PN}-sd8897 ${PN}-sd8997 ${PN}-usb8997 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500223 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
224 ${PN}-vt6656-license ${PN}-vt6656 \
225 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
226 ${PN}-rtl8168 \
227 ${PN}-cypress-license \
228 ${PN}-broadcom-license \
229 ${PN}-bcm-0bb4-0306 \
230 ${PN}-bcm43143 \
231 ${PN}-bcm43236b \
232 ${PN}-bcm43241b0 \
233 ${PN}-bcm43241b4 \
234 ${PN}-bcm43241b5 \
235 ${PN}-bcm43242a \
236 ${PN}-bcm4329 \
237 ${PN}-bcm4329-fullmac \
238 ${PN}-bcm4330 \
239 ${PN}-bcm4334 \
240 ${PN}-bcm43340 \
241 ${PN}-bcm4335 \
242 ${PN}-bcm43362 \
243 ${PN}-bcm4339 \
244 ${PN}-bcm43430 \
245 ${PN}-bcm43430a0 \
246 ${PN}-bcm43455 \
247 ${PN}-bcm4350 \
248 ${PN}-bcm4350c2 \
249 ${PN}-bcm4354 \
250 ${PN}-bcm4356 \
251 ${PN}-bcm4356-pcie \
252 ${PN}-bcm43569 \
253 ${PN}-bcm43570 \
254 ${PN}-bcm4358 \
255 ${PN}-bcm43602 \
256 ${PN}-bcm4366b \
257 ${PN}-bcm4366c \
258 ${PN}-bcm4371 \
259 ${PN}-bcm4373 \
260 ${PN}-bcm43xx \
261 ${PN}-bcm43xx-hdr \
262 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \
263 ${PN}-gplv2-license ${PN}-carl9170 \
264 ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-qca \
265 \
266 ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \
267 \
268 ${PN}-iwlwifi-license ${PN}-iwlwifi \
269 ${PN}-iwlwifi-135-6 \
270 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
271 ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \
272 ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \
273 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
274 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
275 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
276 ${PN}-iwlwifi-7260 \
277 ${PN}-iwlwifi-7265 \
278 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
279 ${PN}-iwlwifi-9000 \
280 ${PN}-iwlwifi-misc \
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500281 ${PN}-ibt-license ${PN}-ibt \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500282 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
283 ${PN}-ibt-17 \
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500284 ${PN}-ibt-20 \
285 ${PN}-ibt-misc \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500286 ${PN}-i915-license ${PN}-i915 \
Andrew Geisslerd25ed322020-06-27 00:28:28 -0500287 ${PN}-ice-license ${PN}-ice \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500288 ${PN}-adsp-sst-license ${PN}-adsp-sst \
289 ${PN}-bnx2-mips \
290 ${PN}-liquidio \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500291 ${PN}-nvidia-license \
292 ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \
293 ${PN}-nvidia-gpu \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500294 ${PN}-netronome-license ${PN}-netronome \
295 ${PN}-qat ${PN}-qat-license \
296 ${PN}-qcom-license \
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500297 ${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 -0500298 ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 ${PN}-qcom-adreno-a630 \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500299 ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500300 ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500301 ${PN}-whence-license \
302 ${PN}-license \
303 "
304
305# For atheros
306LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware"
307LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
308LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
309LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware"
310
311FILES_${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware"
312FILES_${PN}-ar9170 = " \
313 ${nonarch_base_libdir}/firmware/ar9170*.fw \
314"
315FILES_${PN}-ath6k = " \
316 ${nonarch_base_libdir}/firmware/ath6k \
317"
318FILES_${PN}-ath9k = " \
319 ${nonarch_base_libdir}/firmware/ar9271.fw \
320 ${nonarch_base_libdir}/firmware/ar7010*.fw \
321 ${nonarch_base_libdir}/firmware/htc_9271.fw \
322 ${nonarch_base_libdir}/firmware/htc_7010.fw \
323 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \
324 ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \
325"
326
327RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
328RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
329RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
330
331# For carl9170
332LICENSE_${PN}-carl9170 = "Firmware-GPLv2"
333LICENSE_${PN}-gplv2-license = "Firmware-GPLv2"
334
335FILES_${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2"
336FILES_${PN}-carl9170 = " \
337 ${nonarch_base_libdir}/firmware/carl9170*.fw \
338"
339
340RDEPENDS_${PN}-carl9170 += "${PN}-gplv2-license"
341
342# For QualCommAthos
343LICENSE_${PN}-ar3k = "Firmware-qualcommAthos_ar3k"
344LICENSE_${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k"
345LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k"
346LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k"
347LICENSE_${PN}-qca = "Firmware-qualcommAthos_ath10k"
348
349FILES_${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k"
350FILES_${PN}-ar3k = " \
351 ${nonarch_base_libdir}/firmware/ar3k \
352"
353
354FILES_${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k"
355FILES_${PN}-ath10k = " \
356 ${nonarch_base_libdir}/firmware/ath10k \
357"
358
359FILES_${PN}-qca = " \
360 ${nonarch_base_libdir}/firmware/qca \
361"
362
363RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license"
364RDEPENDS_${PN}-ath10k += "${PN}-ath10k-license"
365RDEPENDS_${PN}-qca += "${PN}-ath10k-license"
366
367# For ralink
368LICENSE_${PN}-ralink = "Firmware-ralink-firmware"
369LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware"
370
371FILES_${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt"
372FILES_${PN}-ralink = " \
373 ${nonarch_base_libdir}/firmware/rt*.bin \
374"
375
376RDEPENDS_${PN}-ralink += "${PN}-ralink-license"
377
378# For mediatek MT7601U
379LICENSE_${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware"
380LICENSE_${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware"
381
382FILES_${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware"
383FILES_${PN}-mt7601u = " \
384 ${nonarch_base_libdir}/firmware/mt7601u.bin \
385"
386
387RDEPENDS_${PN}-mt7601u += "${PN}-mt7601u-license"
388
389# For radeon
390LICENSE_${PN}-radeon = "Firmware-radeon"
391LICENSE_${PN}-radeon-license = "Firmware-radeon"
392
393FILES_${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon"
394FILES_${PN}-radeon = " \
395 ${nonarch_base_libdir}/firmware/radeon \
396"
397
398RDEPENDS_${PN}-radeon += "${PN}-radeon-license"
399
400# For marvell
401LICENSE_${PN}-pcie8897 = "Firmware-Marvell"
402LICENSE_${PN}-pcie8997 = "Firmware-Marvell"
403LICENSE_${PN}-sd8686 = "Firmware-Marvell"
404LICENSE_${PN}-sd8688 = "Firmware-Marvell"
405LICENSE_${PN}-sd8787 = "Firmware-Marvell"
406LICENSE_${PN}-sd8797 = "Firmware-Marvell"
407LICENSE_${PN}-sd8801 = "Firmware-Marvell"
408LICENSE_${PN}-sd8887 = "Firmware-Marvell"
409LICENSE_${PN}-sd8897 = "Firmware-Marvell"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500410LICENSE_${PN}-sd8997 = "Firmware-Marvell"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500411LICENSE_${PN}-usb8997 = "Firmware-Marvell"
412LICENSE_${PN}-marvell-license = "Firmware-Marvell"
413
414FILES_${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell"
415FILES_${PN}-pcie8897 = " \
416 ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \
417"
418FILES_${PN}-pcie8997 = " \
419 ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \
420 ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \
421 ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \
422"
423FILES_${PN}-sd8686 = " \
424 ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \
425 ${nonarch_base_libdir}/firmware/sd8686* \
426"
427FILES_${PN}-sd8688 = " \
428 ${nonarch_base_libdir}/firmware/libertas/sd8688* \
429 ${nonarch_base_libdir}/firmware/mrvl/sd8688* \
430"
431FILES_${PN}-sd8787 = " \
432 ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \
433"
434FILES_${PN}-sd8797 = " \
435 ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \
436"
437FILES_${PN}-sd8801 = " \
438 ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \
439"
440FILES_${PN}-sd8887 = " \
441 ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \
442"
443FILES_${PN}-sd8897 = " \
444 ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \
445"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500446do_install_append() {
447 # The kernel 5.6.x driver still uses the old name, provide a symlink for
448 # older kernels
449 ln -fs sdsd8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin
450}
451FILES_${PN}-sd8997 = " \
452 ${nonarch_base_libdir}/firmware/mrvl/sd8997_uapsta.bin \
453 ${nonarch_base_libdir}/firmware/mrvl/sdsd8997_combo_v4.bin \
454"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500455FILES_${PN}-usb8997 = " \
456 ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \
457"
458
459RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
460RDEPENDS_${PN}-sd8688 += "${PN}-marvell-license"
461RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
462RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
463RDEPENDS_${PN}-sd8801 += "${PN}-marvell-license"
464RDEPENDS_${PN}-sd8887 += "${PN}-marvell-license"
465RDEPENDS_${PN}-sd8897 += "${PN}-marvell-license"
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500466RDEPENDS_${PN}-sd8997 += "${PN}-marvell-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500467RDEPENDS_${PN}-usb8997 += "${PN}-marvell-license"
468
469# For netronome
470LICENSE_${PN}-netronome = "Firmware-netronome"
471
472FILES_${PN}-netronome-license = " \
473 ${nonarch_base_libdir}/firmware/LICENCE.Netronome \
474"
475FILES_${PN}-netronome = " \
476 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \
477 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \
478 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \
479 ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \
480"
481
482RDEPENDS_${PN}-netronome += "${PN}-netronome-license"
483
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500484# For Nvidia
485LICENSE_${PN}-nvidia-gpu = "Firmware-nvidia"
486LICENSE_${PN}-nvidia-tegra = "Firmware-nvidia"
487LICENSE_${PN}-nvidia-tegra-k1 = "Firmware-nvidia"
488LICENSE_${PN}-nvidia-license = "Firmware-nvidia"
489
490FILES_${PN}-nvidia-gpu = "${nonarch_base_libdir}/firmware/nvidia"
491FILES_${PN}-nvidia-tegra = " \
492 ${nonarch_base_libdir}/firmware/nvidia/tegra* \
493 ${nonarch_base_libdir}/firmware/nvidia/gm20b \
494 ${nonarch_base_libdir}/firmware/nvidia/gp10b \
495"
496FILES_${PN}-nvidia-tegra-k1 = " \
497 ${nonarch_base_libdir}/firmware/nvidia/tegra124 \
498 ${nonarch_base_libdir}/firmware/nvidia/gk20a \
499"
500FILES_${PN}-nvidia-license = "${nonarch_base_libdir}/firmware/LICENCE.nvidia"
501
502RDEPENDS_${PN}-nvidia-gpu += "${PN}-nvidia-license"
503RDEPENDS_${PN}-nvidia-tegra += "${PN}-nvidia-license"
504
Andrew Geissler82c905d2020-04-13 13:39:40 -0500505# For rtl
506LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware"
507LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
508LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
509LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
510LICENSE_${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
511LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
512LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware"
513LICENSE_${PN}-rtl8168 = "WHENCE"
514
515FILES_${PN}-rtl-license = " \
516 ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \
517"
518FILES_${PN}-rtl8188 = " \
519 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \
520"
521FILES_${PN}-rtl8192cu = " \
522 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \
523"
524FILES_${PN}-rtl8192ce = " \
525 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \
526"
527FILES_${PN}-rtl8192su = " \
528 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \
529"
530FILES_${PN}-rtl8723 = " \
531 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \
532"
533FILES_${PN}-rtl8821 = " \
534 ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
535"
536FILES_${PN}-rtl8168 = " \
537 ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
538"
539
540RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license"
541RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
542RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
543RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
544RDEPENDS_${PN}-rtl8723 += "${PN}-rtl-license"
545RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license"
546RDEPENDS_${PN}-rtl8168 += "${PN}-whence-license"
547
548# For ti-connectivity
549LICENSE_${PN}-wlcommon = "Firmware-ti-connectivity"
550LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
551LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
552LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
553
554FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
555# wl18xx optionally needs wl1271-nvs.bin (which itself is a symlink to
556# wl127x-nvs.bin) - see linux/drivers/net/wireless/ti/wlcore/sdio.c
557# and drivers/net/wireless/ti/wlcore/spi.c.
558# While they're optional and actually only used to override the MAC
559# address on wl18xx, driver loading will delay (by udev timout - 60s)
560# if not there. So let's make it available always. Because it's a
561# symlink, both need to go to wlcommon.
562FILES_${PN}-wlcommon = " \
563 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
564 ${nonarch_base_libdir}/firmware/ti-connectivity/wl127x-nvs.bin \
565 ${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin \
566"
567FILES_${PN}-wl12xx = " \
568 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
569"
570FILES_${PN}-wl18xx = " \
571 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
572"
573
574RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
575RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
576
577# For vt6656
578LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"
579LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656"
580
581FILES_${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656"
582FILES_${PN}-vt6656 = " \
583 ${nonarch_base_libdir}/firmware/vntwusb.fw \
584"
585
586RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license"
587
588# For broadcom
589
590# 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
591
592LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
593FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
594
595# 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
596
597FILES_${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw"
598FILES_${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw"
599FILES_${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin"
600FILES_${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin"
601FILES_${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin"
602FILES_${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.*"
603FILES_${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin"
604FILES_${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin"
605FILES_${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin"
606FILES_${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin"
607FILES_${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin"
608FILES_${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin"
609FILES_${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin"
610FILES_${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \
611 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \
612"
613FILES_${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.*"
614FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.*"
615FILES_${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin"
616FILES_${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin"
617FILES_${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.bin"
618FILES_${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin"
619FILES_${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin"
620FILES_${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin"
621FILES_${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \
622 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \
623"
624FILES_${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin"
625FILES_${PN}-bcm4366c = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366c-pcie.bin"
626FILES_${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin"
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 "LICENSE_\${PN}-$pkg = \"Firmware-broadcom_bcm43xx\"\nRDEPENDS_\${PN}-$pkg += \"\${PN}-broadcom-license\""; done
629# Currently 1st one and last 6 have cypress LICENSE
630
631LICENSE_${PN}-bcm43xx = "Firmware-broadcom_bcm43xx"
632RDEPENDS_${PN}-bcm43xx += "${PN}-broadcom-license"
633LICENSE_${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx"
634RDEPENDS_${PN}-bcm43xx-hdr += "${PN}-broadcom-license"
635LICENSE_${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx"
636RDEPENDS_${PN}-bcm4329-fullmac += "${PN}-broadcom-license"
637LICENSE_${PN}-bcm43236b = "Firmware-broadcom_bcm43xx"
638RDEPENDS_${PN}-bcm43236b += "${PN}-broadcom-license"
639LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
640RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
641LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
642RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
643LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
644RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
645LICENSE_${PN}-bcm4335 = "Firmware-broadcom_bcm43xx"
646RDEPENDS_${PN}-bcm4335 += "${PN}-broadcom-license"
647LICENSE_${PN}-bcm4339 = "Firmware-broadcom_bcm43xx"
648RDEPENDS_${PN}-bcm4339 += "${PN}-broadcom-license"
649LICENSE_${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx"
650RDEPENDS_${PN}-bcm43241b0 += "${PN}-broadcom-license"
651LICENSE_${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx"
652RDEPENDS_${PN}-bcm43241b4 += "${PN}-broadcom-license"
653LICENSE_${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx"
654RDEPENDS_${PN}-bcm43241b5 += "${PN}-broadcom-license"
655LICENSE_${PN}-bcm43242a = "Firmware-broadcom_bcm43xx"
656RDEPENDS_${PN}-bcm43242a += "${PN}-broadcom-license"
657LICENSE_${PN}-bcm43143 = "Firmware-broadcom_bcm43xx"
658RDEPENDS_${PN}-bcm43143 += "${PN}-broadcom-license"
659LICENSE_${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx"
660RDEPENDS_${PN}-bcm43430a0 += "${PN}-broadcom-license"
661LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
662RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
663LICENSE_${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx"
664RDEPENDS_${PN}-bcm4350c2 += "${PN}-broadcom-license"
665LICENSE_${PN}-bcm4350 = "Firmware-broadcom_bcm43xx"
666RDEPENDS_${PN}-bcm4350 += "${PN}-broadcom-license"
667LICENSE_${PN}-bcm4356 = "Firmware-broadcom_bcm43xx"
668RDEPENDS_${PN}-bcm4356 += "${PN}-broadcom-license"
669LICENSE_${PN}-bcm43569 = "Firmware-broadcom_bcm43xx"
670RDEPENDS_${PN}-bcm43569 += "${PN}-broadcom-license"
671LICENSE_${PN}-bcm43570 = "Firmware-broadcom_bcm43xx"
672RDEPENDS_${PN}-bcm43570 += "${PN}-broadcom-license"
673LICENSE_${PN}-bcm4358 = "Firmware-broadcom_bcm43xx"
674RDEPENDS_${PN}-bcm4358 += "${PN}-broadcom-license"
675LICENSE_${PN}-bcm43602 = "Firmware-broadcom_bcm43xx"
676RDEPENDS_${PN}-bcm43602 += "${PN}-broadcom-license"
677LICENSE_${PN}-bcm4366b = "Firmware-broadcom_bcm43xx"
678RDEPENDS_${PN}-bcm4366b += "${PN}-broadcom-license"
679LICENSE_${PN}-bcm4366c = "Firmware-broadcom_bcm43xx"
680RDEPENDS_${PN}-bcm4366c += "${PN}-broadcom-license"
681LICENSE_${PN}-bcm4371 = "Firmware-broadcom_bcm43xx"
682RDEPENDS_${PN}-bcm4371 += "${PN}-broadcom-license"
683
684# For broadcom cypress
685
686LICENSE_${PN}-cypress-license = "Firmware-cypress"
687FILES_${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress"
688
689FILES_${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd"
690FILES_${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.*"
691FILES_${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.*"
692FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.*"
693FILES_${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin"
694FILES_${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.*"
695FILES_${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \
696 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \
697"
698
699LICENSE_${PN}-bcm-0bb4-0306 = "Firmware-cypress"
700RDEPENDS_${PN}-bcm-0bb4-0306 += "${PN}-cypress-license"
701LICENSE_${PN}-bcm43340 = "Firmware-cypress"
702RDEPENDS_${PN}-bcm43340 += "${PN}-cypress-license"
703LICENSE_${PN}-bcm43362 = "Firmware-cypress"
704RDEPENDS_${PN}-bcm43362 += "${PN}-cypress-license"
705LICENSE_${PN}-bcm43430 = "Firmware-cypress"
706RDEPENDS_${PN}-bcm43430 += "${PN}-cypress-license"
707LICENSE_${PN}-bcm4354 = "Firmware-cypress"
708RDEPENDS_${PN}-bcm4354 += "${PN}-cypress-license"
709LICENSE_${PN}-bcm4356-pcie = "Firmware-cypress"
710RDEPENDS_${PN}-bcm4356-pcie += "${PN}-cypress-license"
711LICENSE_${PN}-bcm4373 = "Firmware-cypress"
712RDEPENDS_${PN}-bcm4373 += "${PN}-cypress-license"
713
714# For Broadcom bnx2-mips
715#
716# which is a separate case to the other Broadcom firmwares since its
717# license is contained in the shared WHENCE file.
718
719LICENSE_${PN}-bnx2-mips = "WHENCE"
720LICENSE_${PN}-whence-license = "WHENCE"
721
722FILES_${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw"
723FILES_${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
724
725RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license"
726
727# For imx-sdma
728LICENSE_${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware"
729LICENSE_${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware"
730LICENSE_${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware"
731
732FILES_${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin"
733
734RPROVIDES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
735RREPLACES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
736RCONFLICTS_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q"
737
738FILES_${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin"
739
740FILES_${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"
741
742RDEPENDS_${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license"
743RDEPENDS_${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license"
744
745# For iwlwifi
746LICENSE_${PN}-iwlwifi = "Firmware-iwlwifi_firmware"
747LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
748LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
749LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
750LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
751LICENSE_${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware"
752LICENSE_${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware"
753LICENSE_${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware"
754LICENSE_${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware"
755LICENSE_${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware"
756LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
757LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
758LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
759LICENSE_${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware"
760LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
761LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
762LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
763LICENSE_${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware"
764LICENSE_${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware"
765LICENSE_${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware"
766LICENSE_${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware"
767LICENSE_${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware"
768LICENSE_${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware"
769LICENSE_${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware"
770LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware"
771
772
773FILES_${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware"
774FILES_${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode"
775FILES_${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode"
776FILES_${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode"
777FILES_${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode"
778FILES_${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode"
779FILES_${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode"
780FILES_${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode"
781FILES_${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode"
782FILES_${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode"
783FILES_${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode"
784FILES_${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode"
785FILES_${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode"
786FILES_${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode"
787FILES_${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode"
788FILES_${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode"
789FILES_${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode"
790FILES_${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode"
791FILES_${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode"
792FILES_${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode"
793FILES_${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"
794FILES_${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode"
795FILES_${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode"
796FILES_${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode"
797
798RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
799RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
800RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
801RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
802RDEPENDS_${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license"
803RDEPENDS_${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license"
804RDEPENDS_${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license"
805RDEPENDS_${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license"
806RDEPENDS_${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license"
807RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
808RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
809RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
810RDEPENDS_${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license"
811RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
812RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
813RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
814RDEPENDS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license"
815RDEPENDS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license"
816RDEPENDS_${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license"
817RDEPENDS_${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license"
818RDEPENDS_${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license"
819RDEPENDS_${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license"
820RDEPENDS_${PN}-iwlwifi-misc = "${PN}-iwlwifi-license"
821
822# -iwlwifi-misc is a "catch all" package that includes all the iwlwifi
823# firmwares that are not already included in other -iwlwifi- packages.
824# -iwlwifi is a virtual package that depends upon all iwlwifi packages.
825# These are distinct in order to allow the -misc firmwares to be installed
826# without pulling in every other iwlwifi package.
827ALLOW_EMPTY_${PN}-iwlwifi = "1"
828ALLOW_EMPTY_${PN}-iwlwifi-misc = "1"
829
830# Handle package updating for the newly merged iwlwifi groupings
831RPROVIDES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
832RREPLACES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
833RCONFLICTS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9"
834
835RPROVIDES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
836RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
837RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
838
839# For ibt
840LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware"
841LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
842LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
843LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware"
844LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware"
845LICENSE_${PN}-ibt-17 = "Firmware-ibt_firmware"
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500846LICENSE_${PN}-ibt-20 = "Firmware-ibt_firmware"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500847LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware"
848
849FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
850FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
851FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
852FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc"
853FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc"
854FILES_${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc"
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500855FILES_${PN}-ibt-20 = "${nonarch_base_libdir}/firmware/intel/ibt-20-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-20-*.ddc"
856FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/intel/ibt-*"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500857
858RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
859RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
860RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license"
861RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license"
862RDEPENDS_${PN}-ibt-17 = "${PN}-ibt-license"
Andrew Geisslerb7d28612020-07-24 16:15:54 -0500863RDEPENDS_${PN}-ibt-20 = "${PN}-ibt-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500864RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license"
865
866ALLOW_EMPTY_${PN}-ibt= "1"
867ALLOW_EMPTY_${PN}-ibt-misc = "1"
868
869LICENSE_${PN}-i915 = "Firmware-i915"
870LICENSE_${PN}-i915-license = "Firmware-i915"
871FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
872FILES_${PN}-i915 = "${nonarch_base_libdir}/firmware/i915"
873RDEPENDS_${PN}-i915 = "${PN}-i915-license"
874
Andrew Geisslerd25ed322020-06-27 00:28:28 -0500875LICENSE_${PN}-ice = "Firmware-ice"
876LICENSE_${PN}-ice-license = "Firmware-ice"
877FILES_${PN}-ice-license = "${nonarch_base_libdir}/firmware/LICENSE.ice"
878FILES_${PN}-ice = "${nonarch_base_libdir}/firmware/intel/ice"
879RDEPENDS_${PN}-ice = "${PN}-ice-license"
880
Andrew Geissler82c905d2020-04-13 13:39:40 -0500881FILES_${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst"
882LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst"
883LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst"
884FILES_${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
885RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license"
886
887# For QAT
888LICENSE_${PN}-qat = "Firmware-qat"
889LICENSE_${PN}-qat-license = "Firmware-qat"
890FILES_${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
891FILES_${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin"
892RDEPENDS_${PN}-qat = "${PN}-qat-license"
893
894# For QCOM VPU/GPU and SDM845
895LICENSE_${PN}-qcom-license = "Firmware-qcom"
896FILES_${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt"
897FILES_${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
898FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500899FILES_${PN}-qcom-venus-5.2 = "${nonarch_base_libdir}/firmware/qcom/venus-5.2/*"
900FILES_${PN}-qcom-venus-5.4 = "${nonarch_base_libdir}/firmware/qcom/venus-5.4/*"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500901FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw"
902FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
Andrew Geissler1e34c2d2020-05-29 16:02:59 -0500903FILES_${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500904FILES_${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
905FILES_${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
Andrew Geissler1e34c2d2020-05-29 16:02:59 -0500906FILES_${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"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500907RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
908RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
Andrew Geisslerc9f78652020-09-18 14:11:35 -0500909RDEPENDS_${PN}-qcom-venus-5.2 = "${PN}-qcom-license"
910RDEPENDS_${PN}-qcom-venus-5.4 = "${PN}-qcom-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500911RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
912RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
Andrew Geissler1e34c2d2020-05-29 16:02:59 -0500913RDEPENDS_${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
Andrew Geissler82c905d2020-04-13 13:39:40 -0500914RDEPENDS_${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
915RDEPENDS_${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
916RDEPENDS_${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
917
918FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio"
919
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500920# For Amlogic VDEC
921LICENSE_${PN}-amlogic-vdec = "Firmware-amlogic_vdec"
922FILES_${PN}-amlogic-vdec-license = "${nonarch_base_libdir}/firmware/LICENSE.amlogic_vdec"
923FILES_${PN}-amlogic-vdec = "${nonarch_base_libdir}/firmware/meson/vdec/*"
924RDEPENDS_${PN}-amlogic-vdec = "${PN}-amlogic-vdec-license"
925
Andrew Geissler82c905d2020-04-13 13:39:40 -0500926# For other firmwares
927# Maybe split out to separate packages when needed.
928LICENSE_${PN} = "\
929 Firmware-Abilis \
930 & Firmware-agere \
931 & Firmware-amdgpu \
932 & Firmware-amd-ucode \
Andrew Geissler4c19ea12020-10-27 13:52:24 -0500933 & Firmware-amlogic_vdec \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500934 & Firmware-atmel \
935 & Firmware-ca0132 \
936 & Firmware-cavium \
937 & Firmware-chelsio_firmware \
938 & Firmware-cw1200 \
939 & Firmware-dib0700 \
940 & Firmware-e100 \
941 & Firmware-ene_firmware \
942 & Firmware-fw_sst_0f28 \
943 & Firmware-go7007 \
944 & Firmware-hfi1_firmware \
945 & Firmware-i2400m \
946 & Firmware-ibt_firmware \
947 & Firmware-it913x \
948 & Firmware-IntcSST2 \
949 & Firmware-kaweth \
950 & Firmware-moxa \
951 & Firmware-myri10ge_firmware \
952 & Firmware-nvidia \
953 & Firmware-OLPC \
954 & Firmware-ath9k-htc \
955 & Firmware-phanfw \
956 & Firmware-qat \
957 & Firmware-qcom \
958 & Firmware-qla1280 \
959 & Firmware-qla2xxx \
960 & Firmware-r8a779x_usb3 \
961 & Firmware-radeon \
962 & Firmware-ralink_a_mediatek_company_firmware \
963 & Firmware-ralink-firmware \
964 & Firmware-imx-sdma_firmware \
965 & Firmware-siano \
966 & Firmware-tda7706-firmware \
967 & Firmware-ti-connectivity \
968 & Firmware-ti-keystone \
969 & Firmware-ueagle-atm4-firmware \
970 & Firmware-wl1251 \
971 & Firmware-xc4000 \
972 & Firmware-xc5000 \
973 & Firmware-xc5000c \
974 & WHENCE \
975"
976
977FILES_${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
978FILES_${PN} += "${nonarch_base_libdir}/firmware/*"
979RDEPENDS_${PN} += "${PN}-license"
980RDEPENDS_${PN} += "${PN}-whence-license"
981
982# Make linux-firmware depend on all of the split-out packages.
983# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
984# Make linux-firmware-ibt depend on all of the split-out ibt packages.
985python populate_packages_prepend () {
986 firmware_pkgs = oe.utils.packages_filter_out_system(d)
987 d.appendVar('RRECOMMENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
988
989 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
990 d.appendVar('RRECOMMENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
991
992 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
993 d.appendVar('RRECOMMENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
994}
995
996# Firmware files are generally not ran on the CPU, so they can be
997# allarch despite being architecture specific
998INSANE_SKIP = "arch"