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