Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Firmware files for use with Linux kernel" |
| 2 | SECTION = "kernel" |
| 3 | |
| 4 | LICENSE = "\ |
| 5 | Firmware-Abilis \ |
| 6 | & Firmware-agere \ |
| 7 | & Firmware-amd-ucode \ |
| 8 | & Firmware-atheros_firmware \ |
| 9 | & Firmware-broadcom_bcm43xx \ |
| 10 | & Firmware-ca0132 \ |
| 11 | & Firmware-chelsio_firmware \ |
| 12 | & Firmware-cw1200 \ |
| 13 | & Firmware-dib0700 \ |
| 14 | & Firmware-ene_firmware \ |
| 15 | & Firmware-fw_sst_0f28 \ |
| 16 | & Firmware-go7007 \ |
| 17 | & Firmware-i2400m \ |
| 18 | & Firmware-ibt_firmware \ |
| 19 | & Firmware-it913x \ |
| 20 | & Firmware-iwlwifi_firmware \ |
| 21 | & Firmware-IntcSST2 \ |
| 22 | & Firmware-Marvell \ |
| 23 | & Firmware-mwl8335 \ |
| 24 | & Firmware-myri10ge_firmware \ |
| 25 | & Firmware-OLPC \ |
| 26 | & Firmware-phanfw \ |
| 27 | & Firmware-qat_dh895xcc_firmware \ |
| 28 | & Firmware-qla2xxx \ |
| 29 | & Firmware-r8a779x_usb3 \ |
| 30 | & Firmware-radeon \ |
| 31 | & Firmware-ralink_a_mediatek_company_firmware \ |
| 32 | & Firmware-ralink-firmware \ |
| 33 | & Firmware-rtlwifi_firmware \ |
| 34 | & Firmware-tda7706-firmware \ |
| 35 | & Firmware-ti-connectivity \ |
| 36 | & Firmware-ueagle-atm4-firmware \ |
| 37 | & Firmware-via_vt6656 \ |
| 38 | & Firmware-wl1251 \ |
| 39 | & Firmware-xc4000 \ |
| 40 | & Firmware-xc5000 \ |
| 41 | & Firmware-xc5000c \ |
| 42 | & Firmware-siano \ |
| 43 | " |
| 44 | |
| 45 | LIC_FILES_CHKSUM = "\ |
| 46 | file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ |
| 47 | file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ |
| 48 | file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ |
| 49 | file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \ |
| 50 | file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \ |
| 51 | file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \ |
| 52 | file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \ |
| 53 | file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \ |
| 54 | file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \ |
| 55 | file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \ |
| 56 | file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ |
| 57 | file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \ |
| 58 | file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \ |
| 59 | file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \ |
| 60 | file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \ |
| 61 | file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \ |
| 62 | file://LICENCE.mwl8335;md5=9a6271ee0e644404b2ff3c61fd070983 \ |
| 63 | file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \ |
| 64 | file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \ |
| 65 | file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \ |
| 66 | file://LICENCE.qat_dh895xcc_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \ |
| 67 | file://LICENCE.qla2xxx;md5=f5ce8529ec5c17cb7f911d2721d90e91 \ |
| 68 | file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \ |
| 69 | file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \ |
| 70 | file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ |
| 71 | file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \ |
| 72 | file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \ |
| 73 | file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \ |
| 74 | file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \ |
| 75 | file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ |
| 76 | file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \ |
| 77 | file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ |
| 78 | file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ |
| 79 | file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ |
| 80 | file://LICENSE.amd-ucode;md5=3a0de451253cc1edbf30a3c621effee3 \ |
| 81 | file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ |
| 82 | file://LICENSE.radeon;md5=6c7f97c6c62bdd9596d0238bb205118c \ |
| 83 | file://LICENCE.siano;md5=602c79ae3f98f1e73d880fd9f940a418 \ |
| 84 | " |
| 85 | |
| 86 | # These are not common licenses, set NO_GENERIC_LICENSE for them |
| 87 | # so that the license files will be copied from fetched source |
| 88 | NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis" |
| 89 | NO_GENERIC_LICENSE[Firmware-agere] = "LICENCE.agere" |
| 90 | NO_GENERIC_LICENSE[Firmware-atheros_firmware] = "LICENCE.atheros_firmware" |
| 91 | NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx" |
| 92 | NO_GENERIC_LICENSE[Firmware-ca0132] = "LICENCE.ca0132" |
| 93 | NO_GENERIC_LICENSE[Firmware-chelsio_firmware] = "LICENCE.chelsio_firmware" |
| 94 | NO_GENERIC_LICENSE[Firmware-cw1200] = "LICENCE.cw1200" |
| 95 | NO_GENERIC_LICENSE[Firmware-ene_firmware] = "LICENCE.ene_firmware" |
| 96 | NO_GENERIC_LICENSE[Firmware-fw_sst_0f28] = "LICENCE.fw_sst_0f28" |
| 97 | NO_GENERIC_LICENSE[Firmware-go7007] = "LICENCE.go7007" |
| 98 | NO_GENERIC_LICENSE[Firmware-i2400m] = "LICENCE.i2400m" |
| 99 | NO_GENERIC_LICENSE[Firmware-ibt_firmware] = "LICENCE.ibt_firmware" |
| 100 | NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x" |
| 101 | NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware" |
| 102 | NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2" |
| 103 | NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell" |
| 104 | NO_GENERIC_LICENSE[Firmware-mwl8335] = "LICENCE.mwl8335" |
| 105 | NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware" |
| 106 | NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC" |
| 107 | NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw" |
| 108 | NO_GENERIC_LICENSE[Firmware-qat_dh895xcc_firmware] = "LICENCE.qat_dh895xcc_firmware" |
| 109 | NO_GENERIC_LICENSE[Firmware-qla2xxx] = "LICENCE.qla2xxx" |
| 110 | NO_GENERIC_LICENSE[Firmware-r8a779x_usb3] = "LICENCE.r8a779x_usb3" |
| 111 | NO_GENERIC_LICENSE[Firmware-ralink_a_mediatek_company_firmware] = "LICENCE.ralink_a_mediatek_company_firmware" |
| 112 | NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt" |
| 113 | NO_GENERIC_LICENSE[Firmware-rtlwifi_firmware] = "LICENCE.rtlwifi_firmware.txt" |
| 114 | NO_GENERIC_LICENSE[Firmware-tda7706-firmware] = "LICENCE.tda7706-firmware.txt" |
| 115 | NO_GENERIC_LICENSE[Firmware-ti-connectivity] = "LICENCE.ti-connectivity" |
| 116 | NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware" |
| 117 | NO_GENERIC_LICENSE[Firmware-via_vt6656] = "LICENCE.via_vt6656" |
| 118 | NO_GENERIC_LICENSE[Firmware-wl1251] = "LICENCE.wl1251" |
| 119 | NO_GENERIC_LICENSE[Firmware-xc4000] = "LICENCE.xc4000" |
| 120 | NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000" |
| 121 | NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c" |
| 122 | NO_GENERIC_LICENSE[Firmware-amd-ucode] = "LICENSE.amd-ucode" |
| 123 | NO_GENERIC_LICENSE[Firmware-dib0700] = "LICENSE.dib0700" |
| 124 | NO_GENERIC_LICENSE[Firmware-radeon] = "LICENSE.radeon" |
| 125 | NO_GENERIC_LICENSE[Firmware-siano] = "LICENCE.siano" |
| 126 | |
| 127 | SRCREV = "75cc3ef8ba6712fd72c073b17a790282136cc743" |
| 128 | PE = "1" |
| 129 | PV = "0.0+git${SRCPV}" |
| 130 | |
| 131 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" |
| 132 | |
| 133 | S = "${WORKDIR}/git" |
| 134 | |
| 135 | inherit allarch update-alternatives |
| 136 | |
| 137 | CLEANBROKEN = "1" |
| 138 | |
| 139 | do_compile() { |
| 140 | : |
| 141 | } |
| 142 | |
| 143 | do_install() { |
| 144 | install -d ${D}/lib/firmware/ |
| 145 | cp -r * ${D}/lib/firmware/ |
| 146 | |
| 147 | # Avoid Makefile to be deployed |
| 148 | rm ${D}/lib/firmware/Makefile |
| 149 | |
| 150 | # Remove unbuild firmware which needs cmake and bash |
| 151 | rm ${D}/lib/firmware/carl9170fw -rf |
| 152 | |
| 153 | # Remove pointless bash script |
| 154 | rm ${D}/lib/firmware/configure |
| 155 | |
| 156 | # Libertas sd8686 |
| 157 | ln -sf libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin |
| 158 | ln -sf libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin |
| 159 | |
| 160 | # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it |
| 161 | ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . ) |
| 162 | } |
| 163 | |
| 164 | |
| 165 | PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ |
| 166 | ${PN}-radeon-license ${PN}-radeon \ |
| 167 | ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8787 ${PN}-sd8797 \ |
| 168 | ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \ |
| 169 | ${PN}-vt6656-license ${PN}-vt6656 \ |
| 170 | ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \ |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 171 | ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 ${PN}-bcm4354 \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 172 | ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \ |
| 173 | \ |
| 174 | ${PN}-iwlwifi-license ${PN}-iwlwifi-135-6 \ |
| 175 | ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \ |
| 176 | ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \ |
| 177 | ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \ |
| 178 | ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \ |
| 179 | ${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9 \ |
| 180 | ${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9 \ |
| 181 | \ |
| 182 | ${PN}-license \ |
| 183 | " |
| 184 | |
| 185 | # For atheros |
| 186 | LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware" |
| 187 | LICENSE_${PN}-ar3k = "Firmware-atheros_firmware" |
| 188 | LICENSE_${PN}-ath6k = "Firmware-atheros_firmware" |
| 189 | LICENSE_${PN}-ath9k = "Firmware-atheros_firmware" |
| 190 | |
| 191 | FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware" |
| 192 | FILES_${PN}-ar9170 = " \ |
| 193 | /lib/firmware/ar9170*.fw \ |
| 194 | " |
| 195 | FILES_${PN}-ar3k = " \ |
| 196 | /lib/firmware/ar3k \ |
| 197 | " |
| 198 | FILES_${PN}-ath6k = " \ |
| 199 | /lib/firmware/ath6k \ |
| 200 | " |
| 201 | FILES_${PN}-ath9k = " \ |
| 202 | /lib/firmware/ar9271.fw \ |
| 203 | /lib/firmware/ar7010*.fw \ |
| 204 | /lib/firmware/htc_9271.fw \ |
| 205 | /lib/firmware/htc_7010.fw \ |
| 206 | " |
| 207 | |
| 208 | RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license" |
| 209 | RDEPENDS_${PN}-ar3k += "${PN}-atheros-license" |
| 210 | RDEPENDS_${PN}-ath6k += "${PN}-atheros-license" |
| 211 | RDEPENDS_${PN}-ath9k += "${PN}-atheros-license" |
| 212 | |
| 213 | # For ralink |
| 214 | LICENSE_${PN}-ralink = "Firmware-ralink-firmware" |
| 215 | |
| 216 | FILES_${PN}-ralink-license = "/lib/firmware/LICENCE.ralink-firmware.txt" |
| 217 | FILES_${PN}-ralink = " \ |
| 218 | /lib/firmware/rt*.bin \ |
| 219 | " |
| 220 | |
| 221 | RDEPENDS_${PN}-ralink += "${PN}-ralink-license" |
| 222 | |
| 223 | # For radeon |
| 224 | LICENSE_${PN}-radeon = "Firmware-radeon" |
| 225 | |
| 226 | FILES_${PN}-radeon-license = "/lib/firmware/LICENSE.radeon" |
| 227 | FILES_${PN}-radeon = " \ |
| 228 | /lib/firmware/radeon \ |
| 229 | " |
| 230 | |
| 231 | RDEPENDS_${PN}-radeon += "${PN}-radeon-license" |
| 232 | |
| 233 | # For marvell |
| 234 | LICENSE_${PN}-sd8686 = "Firmware-Marvell" |
| 235 | LICENSE_${PN}-sd8787 = "Firmware-Marvell" |
| 236 | LICENSE_${PN}-sd8797 = "Firmware-Marvell" |
| 237 | |
| 238 | FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell" |
| 239 | FILES_${PN}-sd8686 = " \ |
| 240 | /lib/firmware/libertas/sd8686_v9* \ |
| 241 | /lib/firmware/sd8686* \ |
| 242 | " |
| 243 | FILES_${PN}-sd8787 = " \ |
| 244 | /lib/firmware/mrvl/sd8787_uapsta.bin \ |
| 245 | " |
| 246 | FILES_${PN}-sd8797 = " \ |
| 247 | /lib/firmware/mrvl/sd8797_uapsta.bin \ |
| 248 | " |
| 249 | |
| 250 | RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license" |
| 251 | RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license" |
| 252 | RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license" |
| 253 | |
| 254 | # For rtl |
| 255 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware" |
| 256 | LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware" |
| 257 | LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware" |
| 258 | |
| 259 | FILES_${PN}-rtl-license = " \ |
| 260 | /lib/firmware/LICENCE.rtlwifi_firmware.txt \ |
| 261 | " |
| 262 | FILES_${PN}-rtl8192cu = " \ |
| 263 | /lib/firmware/rtlwifi/rtl8192cufw.bin \ |
| 264 | " |
| 265 | FILES_${PN}-rtl8192ce = " \ |
| 266 | /lib/firmware/rtlwifi/rtl8192cfw.bin \ |
| 267 | " |
| 268 | FILES_${PN}-rtl8192su = " \ |
| 269 | /lib/firmware/rtlwifi/rtl8712u.bin \ |
| 270 | " |
| 271 | |
| 272 | RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license" |
| 273 | RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license" |
| 274 | RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license" |
| 275 | |
| 276 | # For ti-connectivity |
| 277 | LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" |
| 278 | LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" |
| 279 | |
| 280 | FILES_${PN}-ti-connectivity-license = "/lib/firmware/LICENCE.ti-connectivity" |
| 281 | FILES_${PN}-wl12xx = " \ |
| 282 | /lib/firmware/wl12* \ |
| 283 | /lib/firmware/TI* \ |
| 284 | /lib/firmware/ti-connectivity \ |
| 285 | " |
| 286 | FILES_${PN}-wl18xx = " \ |
| 287 | /lib/firmware/wl18* \ |
| 288 | /lib/firmware/TI* \ |
| 289 | /lib/firmware/ti-connectivity \ |
| 290 | " |
| 291 | |
| 292 | RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license" |
| 293 | RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license" |
| 294 | |
| 295 | # For vt6656 |
| 296 | LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" |
| 297 | |
| 298 | FILES_${PN}-vt6656-license = "/lib/firmware/LICENCE.via_vt6656" |
| 299 | FILES_${PN}-vt6656 = " \ |
| 300 | /lib/firmware/vntwusb.fw \ |
| 301 | " |
| 302 | |
| 303 | RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license" |
| 304 | |
| 305 | # For broadcom |
| 306 | # |
| 307 | # WARNING: The ALTERNATIVE_* variables are not using ${PN} because of |
| 308 | # a bug in bitbake; when this is fixed and bitbake learns how to proper |
| 309 | # pass variable flags with expansion we can rework this patch. |
| 310 | |
| 311 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" |
| 312 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" |
| 313 | LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx" |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 314 | LICENSE_${PN}-bcm4354 = "Firmware-broadcom_bcm43xx" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 315 | |
| 316 | FILES_${PN}-broadcom-license = " \ |
| 317 | /lib/firmware/LICENCE.broadcom_bcm43xx \ |
| 318 | " |
| 319 | FILES_${PN}-bcm4329 = " \ |
| 320 | /lib/firmware/brcm/brcmfmac4329-sdio.bin \ |
| 321 | " |
| 322 | FILES_${PN}-bcm4330 = " \ |
| 323 | /lib/firmware/brcm/brcmfmac4330-sdio.bin \ |
| 324 | " |
| 325 | FILES_${PN}-bcm4334 = " \ |
| 326 | /lib/firmware/brcm/brcmfmac4334-sdio.bin \ |
| 327 | " |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 328 | FILES_${PN}-bcm4354 = " \ |
| 329 | /lib/firmware/brcm/brcmfmac4354-sdio.bin \ |
| 330 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 331 | |
| 332 | ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" |
| 333 | |
| 334 | ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" |
| 335 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin" |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 336 | ALTERNATIVE_linux_firmware-bcm4354 = "brcmfmac-sdio.bin" |
| 337 | ALTERNATIVE_TARGET_linux-firmware-bcm4354[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4354-sdio.bin" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 338 | ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" |
| 339 | ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin" |
| 340 | ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" |
| 341 | ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin" |
| 342 | |
| 343 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" |
| 344 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" |
| 345 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 346 | RDEPENDS_${PN}-bcm4354 += "${PN}-broadcom-license" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 347 | |
| 348 | # For iwlwifi |
| 349 | LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware" |
| 350 | LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware" |
| 351 | LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware" |
| 352 | LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware" |
| 353 | LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware" |
| 354 | LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware" |
| 355 | LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware" |
| 356 | LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware" |
| 357 | LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware" |
| 358 | LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware" |
| 359 | LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware" |
| 360 | LICENSE_${PN}-iwlwifi-7260-7 = "Firmware-iwlwifi_firmware" |
| 361 | LICENSE_${PN}-iwlwifi-7260-8 = "Firmware-iwlwifi_firmware" |
| 362 | LICENSE_${PN}-iwlwifi-7260-9 = "Firmware-iwlwifi_firmware" |
| 363 | LICENSE_${PN}-iwlwifi-7265-8 = "Firmware-iwlwifi_firmware" |
| 364 | LICENSE_${PN}-iwlwifi-7265-9 = "Firmware-iwlwifi_firmware" |
| 365 | |
| 366 | FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" |
| 367 | FILES_${PN}-iwlwifi-135-6 = "/lib/firmware/iwlwifi-135-6.ucode" |
| 368 | FILES_${PN}-iwlwifi-3160-7 = "/lib/firmware/iwlwifi-3160-7.ucode" |
| 369 | FILES_${PN}-iwlwifi-3160-8 = "/lib/firmware/iwlwifi-3160-8.ucode" |
| 370 | FILES_${PN}-iwlwifi-3160-9 = "/lib/firmware/iwlwifi-3160-9.ucode" |
| 371 | FILES_${PN}-iwlwifi-6000-4 = "/lib/firmware/iwlwifi-6000-4.ucode" |
| 372 | FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode" |
| 373 | FILES_${PN}-iwlwifi-6000g2a-6 = "/lib/firmware/iwlwifi-6000g2a-6.ucode" |
| 374 | FILES_${PN}-iwlwifi-6000g2b-5 = "/lib/firmware/iwlwifi-6000g2b-5.ucode" |
| 375 | FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode" |
| 376 | FILES_${PN}-iwlwifi-6050-4 = "/lib/firmware/iwlwifi-6050-4.ucode" |
| 377 | FILES_${PN}-iwlwifi-6050-5 = "/lib/firmware/iwlwifi-6050-5.ucode" |
| 378 | FILES_${PN}-iwlwifi-7260-7 = "/lib/firmware/iwlwifi-7260-7.ucode" |
| 379 | FILES_${PN}-iwlwifi-7260-8 = "/lib/firmware/iwlwifi-7260-8.ucode" |
| 380 | FILES_${PN}-iwlwifi-7260-9 = "/lib/firmware/iwlwifi-7260-9.ucode" |
| 381 | FILES_${PN}-iwlwifi-7265-8 = "/lib/firmware/iwlwifi-7265-8.ucode" |
| 382 | FILES_${PN}-iwlwifi-7265-9 = "/lib/firmware/iwlwifi-7265-9.ucode" |
| 383 | |
| 384 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" |
| 385 | RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" |
| 386 | RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license" |
| 387 | RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license" |
| 388 | RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license" |
| 389 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" |
| 390 | RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license" |
| 391 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" |
| 392 | RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" |
| 393 | RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license" |
| 394 | RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license" |
| 395 | RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" |
| 396 | RDEPENDS_${PN}-iwlwifi-7260-8 = "${PN}-iwlwifi-license" |
| 397 | RDEPENDS_${PN}-iwlwifi-7260-9 = "${PN}-iwlwifi-license" |
| 398 | RDEPENDS_${PN}-iwlwifi-7265-8 = "${PN}-iwlwifi-license" |
| 399 | RDEPENDS_${PN}-iwlwifi-7265-9 = "${PN}-iwlwifi-license" |
| 400 | |
| 401 | # For other firmwares |
| 402 | # Maybe split out to separate packages when needed. |
| 403 | LICENSE_${PN} = "\ |
| 404 | Firmware-Abilis \ |
| 405 | & Firmware-agere \ |
| 406 | & Firmware-amd-ucode \ |
| 407 | & Firmware-ca0132 \ |
| 408 | & Firmware-chelsio_firmware \ |
| 409 | & Firmware-cw1200 \ |
| 410 | & Firmware-dib0700 \ |
| 411 | & Firmware-ene_firmware \ |
| 412 | & Firmware-fw_sst_0f28 \ |
| 413 | & Firmware-go7007 \ |
| 414 | & Firmware-i2400m \ |
| 415 | & Firmware-ibt_firmware \ |
| 416 | & Firmware-it913x \ |
| 417 | & Firmware-mwl8335 \ |
| 418 | & Firmware-myri10ge_firmware \ |
| 419 | & Firmware-OLPC \ |
| 420 | & Firmware-phanfw \ |
| 421 | & Firmware-qat_dh895xcc_firmware \ |
| 422 | & Firmware-qla2xxx \ |
| 423 | & Firmware-r8a779x_usb3 \ |
| 424 | & Firmware-ralink_a_mediatek_company_firmware \ |
| 425 | & Firmware-tda7706-firmware \ |
| 426 | & Firmware-ueagle-atm4-firmware \ |
| 427 | & Firmware-wl1251 \ |
| 428 | & Firmware-xc4000 \ |
| 429 | & Firmware-xc5000 \ |
| 430 | & Firmware-xc5000c \ |
| 431 | " |
| 432 | FILES_${PN}-license += "/lib/firmware/LICEN*" |
| 433 | FILES_${PN} += "/lib/firmware/*" |
| 434 | RDEPENDS_${PN} += "${PN}-license" |
| 435 | |
| 436 | # Make linux-firmware depend on all of the split-out packages. |
| 437 | python populate_packages_prepend () { |
| 438 | firmware_pkgs = oe.utils.packages_filter_out_system(d) |
| 439 | d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs)) |
| 440 | } |