This recipe adds files for split packages to support the bcm4329, bcm4330, and bcm4334.
They are installed in /lib/firmware/brcm/brcmfmac43<N>.bin where <N> is the last two digits of the device product number. Note: The wifi driver for these devices expects the firmware file to be named brcmfmac-sdio.bin, and so a link must be created named brcmfmac-sdio.bin to the appropriate file. Ultimately, this could be done with update-alternatives in this recipe but it could also be accomplished in another recipe which RDEPENDS on linux-firmware-bcm43<N> Signed-off-by: John Weber <[email protected]> --- .../linux-firmware/linux-firmware_git.bbappend | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes-kernel/linux-firmware/linux-firmware_git.bbappend diff --git a/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/recipes-kernel/linux-firmware/linux-firmware_git.bbappend new file mode 100644 index 0000000..b854cca --- /dev/null +++ b/recipes-kernel/linux-firmware/linux-firmware_git.bbappend @@ -0,0 +1,24 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}" + +LIC_FILES_CHKSUM += "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc\ +" + +PACKAGES =+ "${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334" + +LICENSE_${PN}-bcm4329 = "Firmware-bcm4329" +FILES_${PN}-bcm4329 = " \ + /lib/firmware/brcm/brcmfmac4329.bin \ + /lib/firmware/LICENCE.broadcom_bcm43xx \ +" + +LICENSE_${PN}-bcm4330 = "Firmware-bcm4330" +FILES_${PN}-bcm4330 = " \ + /lib/firmware/brcm/brcmfmac4330.bin \ + /lib/firmware/LICENCE.broadcom_bcm43xx \ +" + +LICENSE_${PN}-bcm4334 = "Firmware-bcm4334" +FILES_${PN}-bcm4334 = " \ + /lib/firmware/brcm/brcmfmac4334.bin \ + /lib/firmware/LICENCE.broadcom_bcm43xx \ +" -- 1.7.9.5 _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
