diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-07-01 21:11:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-10 09:56:22 +0100 |
commit | 157dc99982a73e4245b29c1189f2b9d858dcd628 (patch) | |
tree | ada7b922a6c30c43a84af011f86cdd8c82fff4db /meta/recipes-kernel/linux-firmware/linux-firmware_20190618.bb | |
parent | 143faf9d7aad23943ec8568f979d9d58b5b9790f (diff) | |
download | poky-157dc99982a73e4245b29c1189f2b9d858dcd628.tar.gz |
linux-firmware: bump to 20190618
(From OE-Core rev: 4cbb7392c729a2436c26308c2320fdae5c450d7a)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_20190618.bb')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20190618.bb | 937 |
1 files changed, 937 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20190618.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20190618.bb new file mode 100644 index 0000000000..acaca955be --- /dev/null +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20190618.bb | |||
@@ -0,0 +1,937 @@ | |||
1 | SUMMARY = "Firmware files for use with Linux kernel" | ||
2 | SECTION = "kernel" | ||
3 | |||
4 | LICENSE = "\ | ||
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 \ | ||
29 | & Firmware-it913x \ | ||
30 | & Firmware-iwlwifi_firmware \ | ||
31 | & Firmware-IntcSST2 \ | ||
32 | & Firmware-kaweth \ | ||
33 | & Firmware-Marvell \ | ||
34 | & Firmware-moxa \ | ||
35 | & Firmware-myri10ge_firmware \ | ||
36 | & Firmware-netronome \ | ||
37 | & Firmware-nvidia \ | ||
38 | & Firmware-OLPC \ | ||
39 | & Firmware-ath9k-htc \ | ||
40 | & Firmware-phanfw \ | ||
41 | & Firmware-qat \ | ||
42 | & Firmware-qcom \ | ||
43 | & Firmware-qla1280 \ | ||
44 | & Firmware-qla2xxx \ | ||
45 | & Firmware-qualcommAthos_ar3k \ | ||
46 | & Firmware-qualcommAthos_ath10k \ | ||
47 | & Firmware-r8a779x_usb3 \ | ||
48 | & Firmware-radeon \ | ||
49 | & Firmware-ralink_a_mediatek_company_firmware \ | ||
50 | & Firmware-ralink-firmware \ | ||
51 | & Firmware-rtlwifi_firmware \ | ||
52 | & Firmware-imx-sdma_firmware \ | ||
53 | & Firmware-siano \ | ||
54 | & Firmware-tda7706-firmware \ | ||
55 | & Firmware-ti-connectivity \ | ||
56 | & Firmware-ti-keystone \ | ||
57 | & Firmware-ueagle-atm4-firmware \ | ||
58 | & Firmware-via_vt6656 \ | ||
59 | & Firmware-wl1251 \ | ||
60 | & Firmware-xc4000 \ | ||
61 | & Firmware-xc5000 \ | ||
62 | & Firmware-xc5000c \ | ||
63 | & WHENCE \ | ||
64 | " | ||
65 | |||
66 | LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ | ||
67 | file://LICENCE.adsp_sst;md5=615c45b91a5a4a9fe046d6ab9a2df728 \ | ||
68 | file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ | ||
69 | file://LICENSE.amdgpu;md5=ab515ef6495ab5c5a3b08ab2db62df11 \ | ||
70 | file://LICENSE.amd-ucode;md5=3c5399dc9148d7f0e1f41e34b69cf14f \ | ||
71 | file://LICENSE.amlogic_vdec;md5=dc44f59bf64a81643e500ad3f39a468a \ | ||
72 | file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ | ||
73 | file://LICENSE.atmel;md5=aa74ac0c60595dee4d4e239107ea77a3 \ | ||
74 | file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \ | ||
75 | file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \ | ||
76 | file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \ | ||
77 | file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \ | ||
78 | file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \ | ||
79 | file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \ | ||
80 | file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \ | ||
81 | file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ | ||
82 | file://LICENCE.e100;md5=ec0f84136766df159a3ae6d02acdf5a8 \ | ||
83 | file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \ | ||
84 | file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \ | ||
85 | file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \ | ||
86 | file://GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
87 | file://LICENSE.hfi1_firmware;md5=5e7b6e586ce7339d12689e49931ad444 \ | ||
88 | file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ | ||
89 | file://LICENSE.i915;md5=2b0b2e0d20984affd4490ba2cba02570 \ | ||
90 | file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \ | ||
91 | file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \ | ||
92 | file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \ | ||
93 | file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \ | ||
94 | file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \ | ||
95 | file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \ | ||
96 | file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \ | ||
97 | file://LICENCE.moxa;md5=1086614767d8ccf744a923289d3d4261 \ | ||
98 | file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \ | ||
99 | file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \ | ||
100 | file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \ | ||
101 | file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \ | ||
102 | file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \ | ||
103 | file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \ | ||
104 | file://LICENCE.qat_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \ | ||
105 | file://LICENSE.qcom;md5=164e3362a538eb11d3ac51e8e134294b \ | ||
106 | file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \ | ||
107 | file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \ | ||
108 | file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \ | ||
109 | file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \ | ||
110 | file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \ | ||
111 | file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \ | ||
112 | file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \ | ||
113 | file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ | ||
114 | file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \ | ||
115 | file://LICENSE.sdma_firmware;md5=51e8c19ecc2270f4b8ea30341ad63ce9 \ | ||
116 | file://LICENCE.siano;md5=4556c1bf830067f12ca151ad953ec2a5 \ | ||
117 | file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \ | ||
118 | file://LICENCE.ti-connectivity;md5=c5e02be633f1499c109d1652514d85ec \ | ||
119 | file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c \ | ||
120 | file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \ | ||
121 | file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ | ||
122 | file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \ | ||
123 | file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ | ||
124 | file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ | ||
125 | file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ | ||
126 | file://WHENCE;md5=55814698bbae7c7dd40c9fbde91af0a8 \ | ||
127 | " | ||
128 | |||
129 | # These are not common licenses, set NO_GENERIC_LICENSE for them | ||
130 | # so that the license files will be copied from fetched source | ||
131 | NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis" | ||
132 | NO_GENERIC_LICENSE[Firmware-adsp_sst] = "LICENCE.adsp_sst" | ||
133 | NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere" | ||
134 | NO_GENERIC_LICENSE[Firmware-amdgpu] = "LICENSE.amdgpu" | ||
135 | NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode" | ||
136 | NO_GENERIC_LICENSE[Firmware-amlogic_vdec] = "LICENSE.amlogic_vdec" | ||
137 | NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware" | ||
138 | NO_GENERIC_LICENSE[Firmware-atmel] = "LICENSE.atmel" | ||
139 | NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx" | ||
140 | NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132" | ||
141 | NO_GENERIC_LICENSE[Firmware-cadence] = "LICENCE.cadence" | ||
142 | NO_GENERIC_LICENSE[Firmware-cavium] = "LICENCE.cavium" | ||
143 | NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware" | ||
144 | NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200" | ||
145 | NO_GENERIC_LICENSE[Firmware-cypress] = "LICENCE.cypress" | ||
146 | NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700" | ||
147 | NO_GENERIC_LICENSE[Firmware-e100] = "LICENCE.e100" | ||
148 | NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware" | ||
149 | NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28" | ||
150 | NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007" | ||
151 | NO_GENERIC_LICENSE[Firmware-GPLv2] = "GPL-2" | ||
152 | NO_GENERIC_LICENSE[Firmware-hfi1_firmware] = "LICENSE.hfi1_firmware" | ||
153 | NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m" | ||
154 | NO_GENERIC_LICENSE[Firmware-i915] = "LICENSE.i915" | ||
155 | NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware" | ||
156 | NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2" | ||
157 | NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x" | ||
158 | NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware" | ||
159 | NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth" | ||
160 | NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell" | ||
161 | NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek" | ||
162 | NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa" | ||
163 | NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware" | ||
164 | NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome" | ||
165 | NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia" | ||
166 | NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC" | ||
167 | NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware" | ||
168 | NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw" | ||
169 | NO_GENERIC_LICENSE[Firmware-qat] = "LICENCE.qat_firmware" | ||
170 | NO_GENERIC_LICENSE[Firmware-qcom] = "LICENSE.qcom" | ||
171 | NO_GENERIC_LICENSE[Firmware-qla1280] = "LICENCE.qla1280" | ||
172 | NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx" | ||
173 | NO_GENERIC_LICENSE[Firmware-qualcommAthos_ar3k] = "LICENSE.QualcommAtheros_ar3k" | ||
174 | NO_GENERIC_LICENSE[Firmware-qualcommAthos_ath10k] = "LICENSE.QualcommAtheros_ath10k" | ||
175 | NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3" | ||
176 | NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon" | ||
177 | NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware" | ||
178 | NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt" | ||
179 | NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt" | ||
180 | NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano" | ||
181 | NO_GENERIC_LICENSE[Firmware-imx-sdma_firmware] = "LICENSE.sdma_firmware" | ||
182 | NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt" | ||
183 | NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity" | ||
184 | NO_GENERIC_LICENSE[Firmware-ti-keystone] = "LICENCE.ti-keystone" | ||
185 | NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware" | ||
186 | NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656" | ||
187 | NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251" | ||
188 | NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000" | ||
189 | NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000" | ||
190 | NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c" | ||
191 | NO_GENERIC_LICENSE[WHENCE] = "WHENCE" | ||
192 | |||
193 | SRCREV = "0731d06eadc7d9c52e58f354727101813b8da6ea" | ||
194 | |||
195 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" | ||
196 | |||
197 | UPSTREAM_CHECK_COMMITS = "1" | ||
198 | |||
199 | S = "${WORKDIR}/git" | ||
200 | |||
201 | inherit allarch | ||
202 | |||
203 | CLEANBROKEN = "1" | ||
204 | |||
205 | do_compile() { | ||
206 | : | ||
207 | } | ||
208 | |||
209 | do_install() { | ||
210 | install -d ${D}${nonarch_base_libdir}/firmware/ | ||
211 | cp -r * ${D}${nonarch_base_libdir}/firmware/ | ||
212 | |||
213 | # Avoid Makefile to be deployed | ||
214 | rm ${D}${nonarch_base_libdir}/firmware/Makefile | ||
215 | |||
216 | # Remove unbuild firmware which needs cmake and bash | ||
217 | rm ${D}${nonarch_base_libdir}/firmware/carl9170fw -rf | ||
218 | |||
219 | # Remove pointless bash script | ||
220 | rm ${D}${nonarch_base_libdir}/firmware/configure | ||
221 | |||
222 | # Remove python script used to check the WHENCE file | ||
223 | rm ${D}${nonarch_base_libdir}/firmware/check_whence.py | ||
224 | |||
225 | # Libertas sd8686 | ||
226 | ln -sf libertas/sd8686_v9.bin ${D}${nonarch_base_libdir}/firmware/sd8686.bin | ||
227 | ln -sf libertas/sd8686_v9_helper.bin ${D}${nonarch_base_libdir}/firmware/sd8686_helper.bin | ||
228 | |||
229 | # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it | ||
230 | ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . ) | ||
231 | } | ||
232 | |||
233 | |||
234 | PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ | ||
235 | ${PN}-mt7601u-license ${PN}-mt7601u \ | ||
236 | ${PN}-radeon-license ${PN}-radeon \ | ||
237 | ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \ | ||
238 | ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \ | ||
239 | ${PN}-usb8997 \ | ||
240 | ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \ | ||
241 | ${PN}-vt6656-license ${PN}-vt6656 \ | ||
242 | ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \ | ||
243 | ${PN}-rtl8168 \ | ||
244 | ${PN}-cypress-license \ | ||
245 | ${PN}-broadcom-license \ | ||
246 | ${PN}-bcm-0bb4-0306 \ | ||
247 | ${PN}-bcm43143 \ | ||
248 | ${PN}-bcm43236b \ | ||
249 | ${PN}-bcm43241b0 \ | ||
250 | ${PN}-bcm43241b4 \ | ||
251 | ${PN}-bcm43241b5 \ | ||
252 | ${PN}-bcm43242a \ | ||
253 | ${PN}-bcm4329 \ | ||
254 | ${PN}-bcm4329-fullmac \ | ||
255 | ${PN}-bcm4330 \ | ||
256 | ${PN}-bcm4334 \ | ||
257 | ${PN}-bcm43340 \ | ||
258 | ${PN}-bcm4335 \ | ||
259 | ${PN}-bcm43362 \ | ||
260 | ${PN}-bcm4339 \ | ||
261 | ${PN}-bcm43430 \ | ||
262 | ${PN}-bcm43430a0 \ | ||
263 | ${PN}-bcm43455 \ | ||
264 | ${PN}-bcm4350 \ | ||
265 | ${PN}-bcm4350c2 \ | ||
266 | ${PN}-bcm4354 \ | ||
267 | ${PN}-bcm4356 \ | ||
268 | ${PN}-bcm4356-pcie \ | ||
269 | ${PN}-bcm43569 \ | ||
270 | ${PN}-bcm43570 \ | ||
271 | ${PN}-bcm4358 \ | ||
272 | ${PN}-bcm43602 \ | ||
273 | ${PN}-bcm4366b \ | ||
274 | ${PN}-bcm4371 \ | ||
275 | ${PN}-bcm4373 \ | ||
276 | ${PN}-bcm43xx \ | ||
277 | ${PN}-bcm43xx-hdr \ | ||
278 | ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \ | ||
279 | ${PN}-gplv2-license ${PN}-carl9170 \ | ||
280 | ${PN}-ar3k-license ${PN}-ar3k ${PN}-ath10k-license ${PN}-ath10k ${PN}-qca \ | ||
281 | \ | ||
282 | ${PN}-imx-sdma-license ${PN}-imx-sdma-imx6q ${PN}-imx-sdma-imx7d \ | ||
283 | \ | ||
284 | ${PN}-iwlwifi-license ${PN}-iwlwifi \ | ||
285 | ${PN}-iwlwifi-135-6 \ | ||
286 | ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \ | ||
287 | ${PN}-iwlwifi-3160-10 ${PN}-iwlwifi-3160-12 ${PN}-iwlwifi-3160-13 \ | ||
288 | ${PN}-iwlwifi-3160-16 ${PN}-iwlwifi-3160-17 \ | ||
289 | ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \ | ||
290 | ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \ | ||
291 | ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \ | ||
292 | ${PN}-iwlwifi-7260 \ | ||
293 | ${PN}-iwlwifi-7265 \ | ||
294 | ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \ | ||
295 | ${PN}-iwlwifi-9000 \ | ||
296 | ${PN}-iwlwifi-misc \ | ||
297 | ${PN}-ibt-license ${PN}-ibt ${PN}-ibt-misc \ | ||
298 | ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \ | ||
299 | ${PN}-ibt-17 \ | ||
300 | ${PN}-i915-license ${PN}-i915 \ | ||
301 | ${PN}-adsp-sst-license ${PN}-adsp-sst \ | ||
302 | ${PN}-bnx2-mips \ | ||
303 | ${PN}-liquidio \ | ||
304 | ${PN}-netronome-license ${PN}-netronome \ | ||
305 | ${PN}-qat ${PN}-qat-license \ | ||
306 | ${PN}-qcom-license \ | ||
307 | ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \ | ||
308 | ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \ | ||
309 | ${PN}-whence-license \ | ||
310 | ${PN}-license \ | ||
311 | " | ||
312 | |||
313 | # For atheros | ||
314 | LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware" | ||
315 | LICENSE_${PN}-ath6k = "Firmware-atheros_firmware" | ||
316 | LICENSE_${PN}-ath9k = "Firmware-atheros_firmware" | ||
317 | LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware" | ||
318 | |||
319 | FILES_${PN}-atheros-license = "${nonarch_base_libdir}/firmware/LICENCE.atheros_firmware" | ||
320 | FILES_${PN}-ar9170 = " \ | ||
321 | ${nonarch_base_libdir}/firmware/ar9170*.fw \ | ||
322 | " | ||
323 | FILES_${PN}-ath6k = " \ | ||
324 | ${nonarch_base_libdir}/firmware/ath6k \ | ||
325 | " | ||
326 | FILES_${PN}-ath9k = " \ | ||
327 | ${nonarch_base_libdir}/firmware/ar9271.fw \ | ||
328 | ${nonarch_base_libdir}/firmware/ar7010*.fw \ | ||
329 | ${nonarch_base_libdir}/firmware/htc_9271.fw \ | ||
330 | ${nonarch_base_libdir}/firmware/htc_7010.fw \ | ||
331 | ${nonarch_base_libdir}/firmware/ath9k_htc/htc_7010-1.4.0.fw \ | ||
332 | ${nonarch_base_libdir}/firmware/ath9k_htc/htc_9271-1.4.0.fw \ | ||
333 | " | ||
334 | |||
335 | RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license" | ||
336 | RDEPENDS_${PN}-ath6k += "${PN}-atheros-license" | ||
337 | RDEPENDS_${PN}-ath9k += "${PN}-atheros-license" | ||
338 | |||
339 | # For carl9170 | ||
340 | LICENSE_${PN}-carl9170 = "Firmware-GPLv2" | ||
341 | LICENSE_${PN}-gplv2-license = "Firmware-GPLv2" | ||
342 | |||
343 | FILES_${PN}-gplv2-license = "${nonarch_base_libdir}/firmware/GPL-2" | ||
344 | FILES_${PN}-carl9170 = " \ | ||
345 | ${nonarch_base_libdir}/firmware/carl9170*.fw \ | ||
346 | " | ||
347 | |||
348 | RDEPENDS_${PN}-carl9170 += "${PN}-gplv2-license" | ||
349 | |||
350 | # For QualCommAthos | ||
351 | LICENSE_${PN}-ar3k = "Firmware-qualcommAthos_ar3k" | ||
352 | LICENSE_${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k" | ||
353 | LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k" | ||
354 | LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k" | ||
355 | LICENSE_${PN}-qca = "Firmware-qualcommAthos_ath10k" | ||
356 | |||
357 | FILES_${PN}-ar3k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k" | ||
358 | FILES_${PN}-ar3k = " \ | ||
359 | ${nonarch_base_libdir}/firmware/ar3k \ | ||
360 | " | ||
361 | |||
362 | FILES_${PN}-ath10k-license = "${nonarch_base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k" | ||
363 | FILES_${PN}-ath10k = " \ | ||
364 | ${nonarch_base_libdir}/firmware/ath10k \ | ||
365 | " | ||
366 | |||
367 | FILES_${PN}-qca = " \ | ||
368 | ${nonarch_base_libdir}/firmware/qca \ | ||
369 | " | ||
370 | |||
371 | RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license" | ||
372 | RDEPENDS_${PN}-ath10k += "${PN}-ath10k-license" | ||
373 | RDEPENDS_${PN}-qca += "${PN}-ath10k-license" | ||
374 | |||
375 | # For ralink | ||
376 | LICENSE_${PN}-ralink = "Firmware-ralink-firmware" | ||
377 | LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware" | ||
378 | |||
379 | FILES_${PN}-ralink-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink-firmware.txt" | ||
380 | FILES_${PN}-ralink = " \ | ||
381 | ${nonarch_base_libdir}/firmware/rt*.bin \ | ||
382 | " | ||
383 | |||
384 | RDEPENDS_${PN}-ralink += "${PN}-ralink-license" | ||
385 | |||
386 | # For mediatek MT7601U | ||
387 | LICENSE_${PN}-mt7601u = "Firmware-ralink_a_mediatek_company_firmware" | ||
388 | LICENSE_${PN}-mt7601u-license = "Firmware-ralink_a_mediatek_company_firmware" | ||
389 | |||
390 | FILES_${PN}-mt7601u-license = "${nonarch_base_libdir}/firmware/LICENCE.ralink_a_mediatek_company_firmware" | ||
391 | FILES_${PN}-mt7601u = " \ | ||
392 | ${nonarch_base_libdir}/firmware/mt7601u.bin \ | ||
393 | " | ||
394 | |||
395 | RDEPENDS_${PN}-mt7601u += "${PN}-mt7601u-license" | ||
396 | |||
397 | # For radeon | ||
398 | LICENSE_${PN}-radeon = "Firmware-radeon" | ||
399 | LICENSE_${PN}-radeon-license = "Firmware-radeon" | ||
400 | |||
401 | FILES_${PN}-radeon-license = "${nonarch_base_libdir}/firmware/LICENSE.radeon" | ||
402 | FILES_${PN}-radeon = " \ | ||
403 | ${nonarch_base_libdir}/firmware/radeon \ | ||
404 | " | ||
405 | |||
406 | RDEPENDS_${PN}-radeon += "${PN}-radeon-license" | ||
407 | |||
408 | # For marvell | ||
409 | LICENSE_${PN}-pcie8897 = "Firmware-Marvell" | ||
410 | LICENSE_${PN}-pcie8997 = "Firmware-Marvell" | ||
411 | LICENSE_${PN}-sd8686 = "Firmware-Marvell" | ||
412 | LICENSE_${PN}-sd8688 = "Firmware-Marvell" | ||
413 | LICENSE_${PN}-sd8787 = "Firmware-Marvell" | ||
414 | LICENSE_${PN}-sd8797 = "Firmware-Marvell" | ||
415 | LICENSE_${PN}-sd8801 = "Firmware-Marvell" | ||
416 | LICENSE_${PN}-sd8887 = "Firmware-Marvell" | ||
417 | LICENSE_${PN}-sd8897 = "Firmware-Marvell" | ||
418 | LICENSE_${PN}-usb8997 = "Firmware-Marvell" | ||
419 | LICENSE_${PN}-marvell-license = "Firmware-Marvell" | ||
420 | |||
421 | FILES_${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell" | ||
422 | FILES_${PN}-pcie8897 = " \ | ||
423 | ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \ | ||
424 | " | ||
425 | FILES_${PN}-pcie8997 = " \ | ||
426 | ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \ | ||
427 | ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \ | ||
428 | ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \ | ||
429 | " | ||
430 | FILES_${PN}-sd8686 = " \ | ||
431 | ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \ | ||
432 | ${nonarch_base_libdir}/firmware/sd8686* \ | ||
433 | " | ||
434 | FILES_${PN}-sd8688 = " \ | ||
435 | ${nonarch_base_libdir}/firmware/libertas/sd8688* \ | ||
436 | ${nonarch_base_libdir}/firmware/mrvl/sd8688* \ | ||
437 | " | ||
438 | FILES_${PN}-sd8787 = " \ | ||
439 | ${nonarch_base_libdir}/firmware/mrvl/sd8787_uapsta.bin \ | ||
440 | " | ||
441 | FILES_${PN}-sd8797 = " \ | ||
442 | ${nonarch_base_libdir}/firmware/mrvl/sd8797_uapsta.bin \ | ||
443 | " | ||
444 | FILES_${PN}-sd8801 = " \ | ||
445 | ${nonarch_base_libdir}/firmware/mrvl/sd8801_uapsta.bin \ | ||
446 | " | ||
447 | FILES_${PN}-sd8887 = " \ | ||
448 | ${nonarch_base_libdir}/firmware/mrvl/sd8887_uapsta.bin \ | ||
449 | " | ||
450 | FILES_${PN}-sd8897 = " \ | ||
451 | ${nonarch_base_libdir}/firmware/mrvl/sd8897_uapsta.bin \ | ||
452 | " | ||
453 | FILES_${PN}-usb8997 = " \ | ||
454 | ${nonarch_base_libdir}/firmware/mrvl/usbusb8997_combo_v4.bin \ | ||
455 | " | ||
456 | |||
457 | RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license" | ||
458 | RDEPENDS_${PN}-sd8688 += "${PN}-marvell-license" | ||
459 | RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license" | ||
460 | RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license" | ||
461 | RDEPENDS_${PN}-sd8801 += "${PN}-marvell-license" | ||
462 | RDEPENDS_${PN}-sd8887 += "${PN}-marvell-license" | ||
463 | RDEPENDS_${PN}-sd8897 += "${PN}-marvell-license" | ||
464 | RDEPENDS_${PN}-usb8997 += "${PN}-marvell-license" | ||
465 | |||
466 | # For netronome | ||
467 | LICENSE_${PN}-netronome = "Firmware-netronome" | ||
468 | |||
469 | FILES_${PN}-netronome-license = " \ | ||
470 | ${nonarch_base_libdir}/firmware/LICENCE.Netronome \ | ||
471 | " | ||
472 | FILES_${PN}-netronome = " \ | ||
473 | ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0081*.nffw \ | ||
474 | ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0096*.nffw \ | ||
475 | ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0097*.nffw \ | ||
476 | ${nonarch_base_libdir}/firmware/netronome/nic_AMDA0099*.nffw \ | ||
477 | " | ||
478 | |||
479 | RDEPENDS_${PN}-netronome += "${PN}-netronome-license" | ||
480 | |||
481 | # For rtl | ||
482 | LICENSE_${PN}-rtl8188 = "Firmware-rtlwifi_firmware" | ||
483 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware" | ||
484 | LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware" | ||
485 | LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware" | ||
486 | LICENSE_${PN}-rtl8723 = "Firmware-rtlwifi_firmware" | ||
487 | LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware" | ||
488 | LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware" | ||
489 | LICENSE_${PN}-rtl8168 = "WHENCE" | ||
490 | |||
491 | FILES_${PN}-rtl-license = " \ | ||
492 | ${nonarch_base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \ | ||
493 | " | ||
494 | FILES_${PN}-rtl8188 = " \ | ||
495 | ${nonarch_base_libdir}/firmware/rtlwifi/rtl8188*.bin \ | ||
496 | " | ||
497 | FILES_${PN}-rtl8192cu = " \ | ||
498 | ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \ | ||
499 | " | ||
500 | FILES_${PN}-rtl8192ce = " \ | ||
501 | ${nonarch_base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \ | ||
502 | " | ||
503 | FILES_${PN}-rtl8192su = " \ | ||
504 | ${nonarch_base_libdir}/firmware/rtlwifi/rtl8712u.bin \ | ||
505 | " | ||
506 | FILES_${PN}-rtl8723 = " \ | ||
507 | ${nonarch_base_libdir}/firmware/rtlwifi/rtl8723*.bin \ | ||
508 | " | ||
509 | FILES_${PN}-rtl8821 = " \ | ||
510 | ${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \ | ||
511 | " | ||
512 | FILES_${PN}-rtl8168 = " \ | ||
513 | ${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \ | ||
514 | " | ||
515 | |||
516 | RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license" | ||
517 | RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license" | ||
518 | RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license" | ||
519 | RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license" | ||
520 | RDEPENDS_${PN}-rtl8723 += "${PN}-rtl-license" | ||
521 | RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license" | ||
522 | RDEPENDS_${PN}-rtl8168 += "${PN}-whence-license" | ||
523 | |||
524 | # For ti-connectivity | ||
525 | LICENSE_${PN}-wlcommon = "Firmware-ti-connectivity" | ||
526 | LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" | ||
527 | LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" | ||
528 | LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity" | ||
529 | |||
530 | FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity" | ||
531 | FILES_${PN}-wlcommon = " \ | ||
532 | ${nonarch_base_libdir}/firmware/TI* \ | ||
533 | ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \ | ||
534 | " | ||
535 | FILES_${PN}-wl12xx = " \ | ||
536 | ${nonarch_base_libdir}/firmware/wl12* \ | ||
537 | ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \ | ||
538 | " | ||
539 | FILES_${PN}-wl18xx = " \ | ||
540 | ${nonarch_base_libdir}/firmware/wl18* \ | ||
541 | ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \ | ||
542 | " | ||
543 | |||
544 | RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon" | ||
545 | RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon" | ||
546 | |||
547 | # For vt6656 | ||
548 | LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" | ||
549 | LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656" | ||
550 | |||
551 | FILES_${PN}-vt6656-license = "${nonarch_base_libdir}/firmware/LICENCE.via_vt6656" | ||
552 | FILES_${PN}-vt6656 = " \ | ||
553 | ${nonarch_base_libdir}/firmware/vntwusb.fw \ | ||
554 | " | ||
555 | |||
556 | RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license" | ||
557 | |||
558 | # For broadcom | ||
559 | |||
560 | # 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 | ||
561 | |||
562 | LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx" | ||
563 | FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx" | ||
564 | |||
565 | # 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 | ||
566 | |||
567 | FILES_${PN}-bcm43xx = "${nonarch_base_libdir}/firmware/brcm/bcm43xx-0.fw" | ||
568 | FILES_${PN}-bcm43xx-hdr = "${nonarch_base_libdir}/firmware/brcm/bcm43xx_hdr-0.fw" | ||
569 | FILES_${PN}-bcm4329-fullmac = "${nonarch_base_libdir}/firmware/brcm/bcm4329-fullmac-4.bin" | ||
570 | FILES_${PN}-bcm43236b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43236b.bin" | ||
571 | FILES_${PN}-bcm4329 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin" | ||
572 | FILES_${PN}-bcm4330 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4330-sdio.bin" | ||
573 | FILES_${PN}-bcm4334 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin" | ||
574 | FILES_${PN}-bcm4335 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4335-sdio.bin" | ||
575 | FILES_${PN}-bcm4339 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin" | ||
576 | FILES_${PN}-bcm43241b0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b0-sdio.bin" | ||
577 | FILES_${PN}-bcm43241b4 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b4-sdio.bin" | ||
578 | FILES_${PN}-bcm43241b5 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43241b5-sdio.bin" | ||
579 | FILES_${PN}-bcm43242a = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43242a.bin" | ||
580 | FILES_${PN}-bcm43143 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43143.bin \ | ||
581 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43143-sdio.bin \ | ||
582 | " | ||
583 | FILES_${PN}-bcm43430a0 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430a0-sdio.bin" | ||
584 | FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.bin" | ||
585 | FILES_${PN}-bcm4350c2 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350c2-pcie.bin" | ||
586 | FILES_${PN}-bcm4350 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4350-pcie.bin" | ||
587 | FILES_${PN}-bcm4356 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-sdio.bin" | ||
588 | FILES_${PN}-bcm43569 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43569.bin" | ||
589 | FILES_${PN}-bcm43570 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43570-pcie.bin" | ||
590 | FILES_${PN}-bcm4358 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4358-pcie.bin" | ||
591 | FILES_${PN}-bcm43602 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.bin \ | ||
592 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43602-pcie.ap.bin \ | ||
593 | " | ||
594 | FILES_${PN}-bcm4366b = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4366b-pcie.bin" | ||
595 | FILES_${PN}-bcm4371 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4371-pcie.bin" | ||
596 | |||
597 | # 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 | ||
598 | # Currently 1st one and last 6 have cypress LICENSE | ||
599 | |||
600 | LICENSE_${PN}-bcm43xx = "Firmware-broadcom_bcm43xx" | ||
601 | RDEPENDS_${PN}-bcm43xx += "${PN}-broadcom-license" | ||
602 | LICENSE_${PN}-bcm43xx-hdr = "Firmware-broadcom_bcm43xx" | ||
603 | RDEPENDS_${PN}-bcm43xx-hdr += "${PN}-broadcom-license" | ||
604 | LICENSE_${PN}-bcm4329-fullmac = "Firmware-broadcom_bcm43xx" | ||
605 | RDEPENDS_${PN}-bcm4329-fullmac += "${PN}-broadcom-license" | ||
606 | LICENSE_${PN}-bcm43236b = "Firmware-broadcom_bcm43xx" | ||
607 | RDEPENDS_${PN}-bcm43236b += "${PN}-broadcom-license" | ||
608 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" | ||
609 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" | ||
610 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" | ||
611 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" | ||
612 | LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx" | ||
613 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" | ||
614 | LICENSE_${PN}-bcm4335 = "Firmware-broadcom_bcm43xx" | ||
615 | RDEPENDS_${PN}-bcm4335 += "${PN}-broadcom-license" | ||
616 | LICENSE_${PN}-bcm4339 = "Firmware-broadcom_bcm43xx" | ||
617 | RDEPENDS_${PN}-bcm4339 += "${PN}-broadcom-license" | ||
618 | LICENSE_${PN}-bcm43241b0 = "Firmware-broadcom_bcm43xx" | ||
619 | RDEPENDS_${PN}-bcm43241b0 += "${PN}-broadcom-license" | ||
620 | LICENSE_${PN}-bcm43241b4 = "Firmware-broadcom_bcm43xx" | ||
621 | RDEPENDS_${PN}-bcm43241b4 += "${PN}-broadcom-license" | ||
622 | LICENSE_${PN}-bcm43241b5 = "Firmware-broadcom_bcm43xx" | ||
623 | RDEPENDS_${PN}-bcm43241b5 += "${PN}-broadcom-license" | ||
624 | LICENSE_${PN}-bcm43242a = "Firmware-broadcom_bcm43xx" | ||
625 | RDEPENDS_${PN}-bcm43242a += "${PN}-broadcom-license" | ||
626 | LICENSE_${PN}-bcm43143 = "Firmware-broadcom_bcm43xx" | ||
627 | RDEPENDS_${PN}-bcm43143 += "${PN}-broadcom-license" | ||
628 | LICENSE_${PN}-bcm43430a0 = "Firmware-broadcom_bcm43xx" | ||
629 | RDEPENDS_${PN}-bcm43430a0 += "${PN}-broadcom-license" | ||
630 | LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx" | ||
631 | RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license" | ||
632 | LICENSE_${PN}-bcm4350c2 = "Firmware-broadcom_bcm43xx" | ||
633 | RDEPENDS_${PN}-bcm4350c2 += "${PN}-broadcom-license" | ||
634 | LICENSE_${PN}-bcm4350 = "Firmware-broadcom_bcm43xx" | ||
635 | RDEPENDS_${PN}-bcm4350 += "${PN}-broadcom-license" | ||
636 | LICENSE_${PN}-bcm4356 = "Firmware-broadcom_bcm43xx" | ||
637 | RDEPENDS_${PN}-bcm4356 += "${PN}-broadcom-license" | ||
638 | LICENSE_${PN}-bcm43569 = "Firmware-broadcom_bcm43xx" | ||
639 | RDEPENDS_${PN}-bcm43569 += "${PN}-broadcom-license" | ||
640 | LICENSE_${PN}-bcm43570 = "Firmware-broadcom_bcm43xx" | ||
641 | RDEPENDS_${PN}-bcm43570 += "${PN}-broadcom-license" | ||
642 | LICENSE_${PN}-bcm4358 = "Firmware-broadcom_bcm43xx" | ||
643 | RDEPENDS_${PN}-bcm4358 += "${PN}-broadcom-license" | ||
644 | LICENSE_${PN}-bcm43602 = "Firmware-broadcom_bcm43xx" | ||
645 | RDEPENDS_${PN}-bcm43602 += "${PN}-broadcom-license" | ||
646 | LICENSE_${PN}-bcm4366b = "Firmware-broadcom_bcm43xx" | ||
647 | RDEPENDS_${PN}-bcm4366b += "${PN}-broadcom-license" | ||
648 | LICENSE_${PN}-bcm4371 = "Firmware-broadcom_bcm43xx" | ||
649 | RDEPENDS_${PN}-bcm4371 += "${PN}-broadcom-license" | ||
650 | |||
651 | # For broadcom cypress | ||
652 | |||
653 | LICENSE_${PN}-cypress-license = "Firmware-cypress" | ||
654 | FILES_${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress" | ||
655 | |||
656 | FILES_${PN}-bcm-0bb4-0306 = "${nonarch_base_libdir}/firmware/brcm/BCM-0bb4-0306.hcd" | ||
657 | FILES_${PN}-bcm43340 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43340-sdio.bin" | ||
658 | FILES_${PN}-bcm43362 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43362-sdio.bin" | ||
659 | FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.bin" | ||
660 | FILES_${PN}-bcm4354 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin" | ||
661 | FILES_${PN}-bcm4356-pcie = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.bin" | ||
662 | FILES_${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bin \ | ||
663 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \ | ||
664 | " | ||
665 | |||
666 | LICENSE_${PN}-bcm-0bb4-0306 = "Firmware-cypress" | ||
667 | RDEPENDS_${PN}-bcm-0bb4-0306 += "${PN}-cypress-license" | ||
668 | LICENSE_${PN}-bcm43340 = "Firmware-cypress" | ||
669 | RDEPENDS_${PN}-bcm43340 += "${PN}-cypress-license" | ||
670 | LICENSE_${PN}-bcm43362 = "Firmware-cypress" | ||
671 | RDEPENDS_${PN}-bcm43362 += "${PN}-cypress-license" | ||
672 | LICENSE_${PN}-bcm43430 = "Firmware-cypress" | ||
673 | RDEPENDS_${PN}-bcm43430 += "${PN}-cypress-license" | ||
674 | LICENSE_${PN}-bcm4354 = "Firmware-cypress" | ||
675 | RDEPENDS_${PN}-bcm4354 += "${PN}-cypress-license" | ||
676 | LICENSE_${PN}-bcm4356-pcie = "Firmware-cypress" | ||
677 | RDEPENDS_${PN}-bcm4356-pcie += "${PN}-cypress-license" | ||
678 | LICENSE_${PN}-bcm4373 = "Firmware-cypress" | ||
679 | RDEPENDS_${PN}-bcm4373 += "${PN}-cypress-license" | ||
680 | |||
681 | # For Broadcom bnx2-mips | ||
682 | # | ||
683 | # which is a separate case to the other Broadcom firmwares since its | ||
684 | # license is contained in the shared WHENCE file. | ||
685 | |||
686 | LICENSE_${PN}-bnx2-mips = "WHENCE" | ||
687 | LICENSE_${PN}-whence-license = "WHENCE" | ||
688 | |||
689 | FILES_${PN}-bnx2-mips = "${nonarch_base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw" | ||
690 | FILES_${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE" | ||
691 | |||
692 | RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license" | ||
693 | |||
694 | # For imx-sdma | ||
695 | LICENSE_${PN}-imx-sdma-imx6q = "Firmware-imx-sdma_firmware" | ||
696 | LICENSE_${PN}-imx-sdma-imx7d = "Firmware-imx-sdma_firmware" | ||
697 | LICENSE_${PN}-imx-sdma-license = "Firmware-imx-sdma_firmware" | ||
698 | |||
699 | FILES_${PN}-imx-sdma-imx6q = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin" | ||
700 | |||
701 | RPROVIDES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q" | ||
702 | RREPLACES_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q" | ||
703 | RCONFLICTS_${PN}-imx-sdma-imx6q = "firmware-imx-sdma-imx6q" | ||
704 | |||
705 | FILES_${PN}-imx-sdma-imx7d = "${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin" | ||
706 | |||
707 | FILES_${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware" | ||
708 | |||
709 | RDEPENDS_${PN}-imx-sdma-imx6q += "${PN}-imx-sdma-license" | ||
710 | RDEPENDS_${PN}-imx-sdma-imx7d += "${PN}-imx-sdma-license" | ||
711 | |||
712 | # For iwlwifi | ||
713 | LICENSE_${PN}-iwlwifi = "Firmware-iwlwifi_firmware" | ||
714 | LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware" | ||
715 | LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware" | ||
716 | LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware" | ||
717 | LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware" | ||
718 | LICENSE_${PN}-iwlwifi-3160-10 = "Firmware-iwlwifi_firmware" | ||
719 | LICENSE_${PN}-iwlwifi-3160-12 = "Firmware-iwlwifi_firmware" | ||
720 | LICENSE_${PN}-iwlwifi-3160-13 = "Firmware-iwlwifi_firmware" | ||
721 | LICENSE_${PN}-iwlwifi-3160-16 = "Firmware-iwlwifi_firmware" | ||
722 | LICENSE_${PN}-iwlwifi-3160-17 = "Firmware-iwlwifi_firmware" | ||
723 | LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware" | ||
724 | LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware" | ||
725 | LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware" | ||
726 | LICENSE_${PN}-iwlwifi-6000g2b-5 = "Firmware-iwlwifi_firmware" | ||
727 | LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware" | ||
728 | LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware" | ||
729 | LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware" | ||
730 | LICENSE_${PN}-iwlwifi-7260 = "Firmware-iwlwifi_firmware" | ||
731 | LICENSE_${PN}-iwlwifi-7265 = "Firmware-iwlwifi_firmware" | ||
732 | LICENSE_${PN}-iwlwifi-7265d = "Firmware-iwlwifi_firmware" | ||
733 | LICENSE_${PN}-iwlwifi-8000c = "Firmware-iwlwifi_firmware" | ||
734 | LICENSE_${PN}-iwlwifi-8265 = "Firmware-iwlwifi_firmware" | ||
735 | LICENSE_${PN}-iwlwifi-9000 = "Firmware-iwlwifi_firmware" | ||
736 | LICENSE_${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware" | ||
737 | LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware" | ||
738 | |||
739 | |||
740 | FILES_${PN}-iwlwifi-license = "${nonarch_base_libdir}/firmware/LICENCE.iwlwifi_firmware" | ||
741 | FILES_${PN}-iwlwifi-135-6 = "${nonarch_base_libdir}/firmware/iwlwifi-135-6.ucode" | ||
742 | FILES_${PN}-iwlwifi-3160-7 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-7.ucode" | ||
743 | FILES_${PN}-iwlwifi-3160-8 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-8.ucode" | ||
744 | FILES_${PN}-iwlwifi-3160-9 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-9.ucode" | ||
745 | FILES_${PN}-iwlwifi-3160-10 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-10.ucode" | ||
746 | FILES_${PN}-iwlwifi-3160-12 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-12.ucode" | ||
747 | FILES_${PN}-iwlwifi-3160-13 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-13.ucode" | ||
748 | FILES_${PN}-iwlwifi-3160-16 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-16.ucode" | ||
749 | FILES_${PN}-iwlwifi-3160-17 = "${nonarch_base_libdir}/firmware/iwlwifi-3160-17.ucode" | ||
750 | FILES_${PN}-iwlwifi-6000-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6000-4.ucode" | ||
751 | FILES_${PN}-iwlwifi-6000g2a-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-5.ucode" | ||
752 | FILES_${PN}-iwlwifi-6000g2a-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2a-6.ucode" | ||
753 | FILES_${PN}-iwlwifi-6000g2b-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-5.ucode" | ||
754 | FILES_${PN}-iwlwifi-6000g2b-6 = "${nonarch_base_libdir}/firmware/iwlwifi-6000g2b-6.ucode" | ||
755 | FILES_${PN}-iwlwifi-6050-4 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-4.ucode" | ||
756 | FILES_${PN}-iwlwifi-6050-5 = "${nonarch_base_libdir}/firmware/iwlwifi-6050-5.ucode" | ||
757 | FILES_${PN}-iwlwifi-7260 = "${nonarch_base_libdir}/firmware/iwlwifi-7260-*.ucode" | ||
758 | FILES_${PN}-iwlwifi-7265 = "${nonarch_base_libdir}/firmware/iwlwifi-7265-*.ucode" | ||
759 | FILES_${PN}-iwlwifi-7265d = "${nonarch_base_libdir}/firmware/iwlwifi-7265D-*.ucode" | ||
760 | FILES_${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode" | ||
761 | FILES_${PN}-iwlwifi-8265 = "${nonarch_base_libdir}/firmware/iwlwifi-8265-*.ucode" | ||
762 | FILES_${PN}-iwlwifi-9000 = "${nonarch_base_libdir}/firmware/iwlwifi-9000-*.ucode" | ||
763 | FILES_${PN}-iwlwifi-misc = "${nonarch_base_libdir}/firmware/iwlwifi-*.ucode" | ||
764 | |||
765 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" | ||
766 | RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" | ||
767 | RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license" | ||
768 | RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license" | ||
769 | RDEPENDS_${PN}-iwlwifi-3160-10 = "${PN}-iwlwifi-license" | ||
770 | RDEPENDS_${PN}-iwlwifi-3160-12 = "${PN}-iwlwifi-license" | ||
771 | RDEPENDS_${PN}-iwlwifi-3160-13 = "${PN}-iwlwifi-license" | ||
772 | RDEPENDS_${PN}-iwlwifi-3160-16 = "${PN}-iwlwifi-license" | ||
773 | RDEPENDS_${PN}-iwlwifi-3160-17 = "${PN}-iwlwifi-license" | ||
774 | RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license" | ||
775 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" | ||
776 | RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license" | ||
777 | RDEPENDS_${PN}-iwlwifi-6000g2b-5 = "${PN}-iwlwifi-license" | ||
778 | RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" | ||
779 | RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license" | ||
780 | RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license" | ||
781 | RDEPENDS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-license" | ||
782 | RDEPENDS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-license" | ||
783 | RDEPENDS_${PN}-iwlwifi-7265d = "${PN}-iwlwifi-license" | ||
784 | RDEPENDS_${PN}-iwlwifi-8000c = "${PN}-iwlwifi-license" | ||
785 | RDEPENDS_${PN}-iwlwifi-8265 = "${PN}-iwlwifi-license" | ||
786 | RDEPENDS_${PN}-iwlwifi-9000 = "${PN}-iwlwifi-license" | ||
787 | RDEPENDS_${PN}-iwlwifi-misc = "${PN}-iwlwifi-license" | ||
788 | |||
789 | # -iwlwifi-misc is a "catch all" package that includes all the iwlwifi | ||
790 | # firmwares that are not already included in other -iwlwifi- packages. | ||
791 | # -iwlwifi is a virtual package that depends upon all iwlwifi packages. | ||
792 | # These are distinct in order to allow the -misc firmwares to be installed | ||
793 | # without pulling in every other iwlwifi package. | ||
794 | ALLOW_EMPTY_${PN}-iwlwifi = "1" | ||
795 | ALLOW_EMPTY_${PN}-iwlwifi-misc = "1" | ||
796 | |||
797 | # Handle package updating for the newly merged iwlwifi groupings | ||
798 | RPROVIDES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9" | ||
799 | RREPLACES_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9" | ||
800 | RCONFLICTS_${PN}-iwlwifi-7265 = "${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9" | ||
801 | |||
802 | RPROVIDES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" | ||
803 | RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" | ||
804 | RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" | ||
805 | |||
806 | # For ibt | ||
807 | LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware" | ||
808 | LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware" | ||
809 | LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware" | ||
810 | LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware" | ||
811 | LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware" | ||
812 | LICENSE_${PN}-ibt-17 = "Firmware-ibt_firmware" | ||
813 | LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware" | ||
814 | |||
815 | FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware" | ||
816 | FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq" | ||
817 | FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq" | ||
818 | FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi ${nonarch_base_libdir}/firmware/intel/ibt-11-5.ddc" | ||
819 | FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi ${nonarch_base_libdir}/firmware/intel/ibt-12-16.ddc" | ||
820 | FILES_${PN}-ibt-17 = "${nonarch_base_libdir}/firmware/intel/ibt-17-*.sfi ${nonarch_base_libdir}/firmware/intel/ibt-17-*.ddc" | ||
821 | FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/ibt-*" | ||
822 | |||
823 | RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license" | ||
824 | RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license" | ||
825 | RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license" | ||
826 | RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license" | ||
827 | RDEPENDS_${PN}-ibt-17 = "${PN}-ibt-license" | ||
828 | RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license" | ||
829 | |||
830 | ALLOW_EMPTY_${PN}-ibt= "1" | ||
831 | ALLOW_EMPTY_${PN}-ibt-misc = "1" | ||
832 | |||
833 | LICENSE_${PN}-i915 = "Firmware-i915" | ||
834 | LICENSE_${PN}-i915-license = "Firmware-i915" | ||
835 | FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915" | ||
836 | FILES_${PN}-i915 = "${nonarch_base_libdir}/firmware/i915" | ||
837 | RDEPENDS_${PN}-i915 = "${PN}-i915-license" | ||
838 | |||
839 | FILES_${PN}-adsp-sst-license = "${nonarch_base_libdir}/firmware/LICENCE.adsp_sst" | ||
840 | LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst" | ||
841 | LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst" | ||
842 | FILES_${PN}-adsp-sst = "${nonarch_base_libdir}/firmware/intel/dsp_fw*" | ||
843 | RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license" | ||
844 | |||
845 | # For QAT | ||
846 | LICENSE_${PN}-qat = "Firmware-qat" | ||
847 | LICENSE_${PN}-qat-license = "Firmware-qat" | ||
848 | FILES_${PN}-qat-license = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware" | ||
849 | FILES_${PN}-qat = "${nonarch_base_libdir}/firmware/qat*.bin" | ||
850 | RDEPENDS_${PN}-qat = "${PN}-qat-license" | ||
851 | |||
852 | # For QCOM VPU/GPU | ||
853 | LICENSE_${PN}-qcom-license = "Firmware-qcom" | ||
854 | FILES_${PN}-qcom-license = "${nonarch_base_libdir}/firmware/LICENSE.qcom ${nonarch_base_libdir}/firmware/qcom/NOTICE.txt" | ||
855 | FILES_${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*" | ||
856 | FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*" | ||
857 | FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw" | ||
858 | FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*" | ||
859 | RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license" | ||
860 | RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license" | ||
861 | RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license" | ||
862 | RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license" | ||
863 | |||
864 | FILES_${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio" | ||
865 | |||
866 | # For other firmwares | ||
867 | # Maybe split out to separate packages when needed. | ||
868 | LICENSE_${PN} = "\ | ||
869 | Firmware-Abilis \ | ||
870 | & Firmware-agere \ | ||
871 | & Firmware-amdgpu \ | ||
872 | & Firmware-amd-ucode \ | ||
873 | & Firmware-atmel \ | ||
874 | & Firmware-ca0132 \ | ||
875 | & Firmware-cavium \ | ||
876 | & Firmware-chelsio_firmware \ | ||
877 | & Firmware-cw1200 \ | ||
878 | & Firmware-dib0700 \ | ||
879 | & Firmware-e100 \ | ||
880 | & Firmware-ene_firmware \ | ||
881 | & Firmware-fw_sst_0f28 \ | ||
882 | & Firmware-go7007 \ | ||
883 | & Firmware-hfi1_firmware \ | ||
884 | & Firmware-i2400m \ | ||
885 | & Firmware-ibt_firmware \ | ||
886 | & Firmware-it913x \ | ||
887 | & Firmware-IntcSST2 \ | ||
888 | & Firmware-kaweth \ | ||
889 | & Firmware-moxa \ | ||
890 | & Firmware-myri10ge_firmware \ | ||
891 | & Firmware-nvidia \ | ||
892 | & Firmware-OLPC \ | ||
893 | & Firmware-ath9k-htc \ | ||
894 | & Firmware-phanfw \ | ||
895 | & Firmware-qat \ | ||
896 | & Firmware-qcom \ | ||
897 | & Firmware-qla1280 \ | ||
898 | & Firmware-qla2xxx \ | ||
899 | & Firmware-r8a779x_usb3 \ | ||
900 | & Firmware-radeon \ | ||
901 | & Firmware-ralink_a_mediatek_company_firmware \ | ||
902 | & Firmware-ralink-firmware \ | ||
903 | & Firmware-imx-sdma_firmware \ | ||
904 | & Firmware-siano \ | ||
905 | & Firmware-tda7706-firmware \ | ||
906 | & Firmware-ti-connectivity \ | ||
907 | & Firmware-ti-keystone \ | ||
908 | & Firmware-ueagle-atm4-firmware \ | ||
909 | & Firmware-wl1251 \ | ||
910 | & Firmware-xc4000 \ | ||
911 | & Firmware-xc5000 \ | ||
912 | & Firmware-xc5000c \ | ||
913 | & WHENCE \ | ||
914 | " | ||
915 | |||
916 | FILES_${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*" | ||
917 | FILES_${PN} += "${nonarch_base_libdir}/firmware/*" | ||
918 | RDEPENDS_${PN} += "${PN}-license" | ||
919 | RDEPENDS_${PN} += "${PN}-whence-license" | ||
920 | |||
921 | # Make linux-firmware depend on all of the split-out packages. | ||
922 | # Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages. | ||
923 | # Make linux-firmware-ibt depend on all of the split-out ibt packages. | ||
924 | python populate_packages_prepend () { | ||
925 | firmware_pkgs = oe.utils.packages_filter_out_system(d) | ||
926 | d.appendVar('RRECOMMENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs)) | ||
927 | |||
928 | iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs) | ||
929 | d.appendVar('RRECOMMENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs)) | ||
930 | |||
931 | ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs) | ||
932 | d.appendVar('RRECOMMENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs)) | ||
933 | } | ||
934 | |||
935 | # Firmware files are generally not ran on the CPU, so they can be | ||
936 | # allarch despite being architecture specific | ||
937 | INSANE_SKIP = "arch" | ||