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