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