diff options
author | Ross Burton <ross.burton@intel.com> | 2016-12-22 17:07:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-04 11:12:10 +0000 |
commit | 9fe6b4e4dc78c6c54a0fd8b0a1c70317158a5560 (patch) | |
tree | 078d612dd53f1ecf4b55431e64cf0b3ffdf6a99f /meta/recipes-kernel/linux-firmware | |
parent | 32701927a8646b1c11dc2a12a40ae394b4e30754 (diff) | |
download | poky-9fe6b4e4dc78c6c54a0fd8b0a1c70317158a5560.tar.gz |
linux-firmware: remove alternatives for brcmfmac-stdio.bin
These alternatives are only used to provide an unversioned brcmfmac-sdio.bin,
which was required by kernels prior to 3.13. As these alternatives all have the
same priority there's no determinism in which one is selected, and current
kernels (since January 2014) use the appropriately versioned firmware names.
(From OE-Core rev: ac8cc5184086e6ca396c5ff35c7fb69ea2f71fa8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index 1d881d714e..4fedcfbc67 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | |||
@@ -186,7 +186,7 @@ SRC_URI[iwlwifi-19.sha256sum] = "2034470df64d323b827c4f2d4d0d55be2846b7360179b55 | |||
186 | 186 | ||
187 | S = "${WORKDIR}/git" | 187 | S = "${WORKDIR}/git" |
188 | 188 | ||
189 | inherit allarch update-alternatives | 189 | inherit allarch |
190 | 190 | ||
191 | CLEANBROKEN = "1" | 191 | CLEANBROKEN = "1" |
192 | 192 | ||
@@ -413,10 +413,6 @@ FILES_${PN}-vt6656 = " \ | |||
413 | RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license" | 413 | RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license" |
414 | 414 | ||
415 | # For broadcom | 415 | # For broadcom |
416 | # | ||
417 | # WARNING: The ALTERNATIVE_* variables are not using ${PN} because of | ||
418 | # a bug in bitbake; when this is fixed and bitbake learns how to proper | ||
419 | # pass variable flags with expansion we can rework this patch. | ||
420 | 416 | ||
421 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" | 417 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" |
422 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" | 418 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" |
@@ -452,24 +448,6 @@ FILES_${PN}-bcm4354 = " \ | |||
452 | /lib/firmware/brcm/brcmfmac4354-sdio.bin \ | 448 | /lib/firmware/brcm/brcmfmac4354-sdio.bin \ |
453 | " | 449 | " |
454 | 450 | ||
455 | ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" | ||
456 | |||
457 | ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" | ||
458 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin" | ||
459 | ALTERNATIVE_linux-firmware-bcm43340 = "brcmfmac-sdio.bin" | ||
460 | ALTERNATIVE_TARGET_linux-firmware-bcm43340[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac43340-sdio.bin" | ||
461 | ALTERNATIVE_linux_firmware-bcm4354 = "brcmfmac-sdio.bin" | ||
462 | ALTERNATIVE_TARGET_linux-firmware-bcm4354[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4354-sdio.bin" | ||
463 | ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" | ||
464 | ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin" | ||
465 | ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" | ||
466 | ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin" | ||
467 | ALTERNATIVE_linux-firmware-bcm4339 = "brcmfmac-sdio.bin" | ||
468 | ALTERNATIVE_TARGET_linux-firmware-bcm4339[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4339-sdio.bin" | ||
469 | ALTERNATIVE_PRIORITY_linux-firmware-bcm4339[brcmfmac-sdio.bin] = "20" | ||
470 | ALTERNATIVE_linux-firmware-bcm43430 = "brcmfmac-sdio.bin" | ||
471 | ALTERNATIVE_TARGET_linux-firmware-bcm43430[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac43430-sdio.bin" | ||
472 | |||
473 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" | 451 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" |
474 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" | 452 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" |
475 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" | 453 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" |