diff options
| -rw-r--r-- | recipes-kernel/linux-firmware/linux-firmware_%.bbappend | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend index daf1dbc..fc62a02 100644 --- a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend +++ b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend | |||
| @@ -1,26 +1,26 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS_prepend_rpi := "${THISDIR}/files:" |
| 2 | 2 | ||
| 3 | SRC_URI += " \ | 3 | SRC_URI_append_rpi = " \ |
| 4 | file://brcmfmac43430-sdio.bin \ | 4 | file://brcmfmac43430-sdio.bin \ |
| 5 | file://brcmfmac43430-sdio.txt \ | 5 | file://brcmfmac43430-sdio.txt \ |
| 6 | " | 6 | " |
| 7 | 7 | ||
| 8 | do_install_append() { | 8 | do_install_append_rpi() { |
| 9 | # Overwrite v7.45.41.26 by the one we currently provide in this layer | 9 | # Overwrite v7.45.41.26 by the one we currently provide in this layer |
| 10 | # (v7.45.41.46) | 10 | # (v7.45.41.46) |
| 11 | local _firmware="brcmfmac43430-sdio.bin" | 11 | local _firmware="brcmfmac43430-sdio.bin" |
| 12 | local _oldmd5=9258986488eca9fe5343b0d6fe040f8e | 12 | local _oldmd5=9258986488eca9fe5343b0d6fe040f8e |
| 13 | if [ "$(md5sum ${D}${nonarch_base_libdir}/firmware/brcm/$_firmware | awk '{print $1}')" != "$_oldmd5" ]; then | 13 | if [ "$(md5sum ${D}${nonarch_base_libdir}/firmware/brcm/$_firmware | awk '{print $1}')" != "$_oldmd5" ]; then |
| 14 | _firmware="" | 14 | _firmware="" |
| 15 | bbwarn "linux-firmware stopped providing brcmfmac43430 v7.45.41.26." | 15 | bbwarn "linux-firmware stopped providing brcmfmac43430 v7.45.41.26." |
| 16 | else | 16 | else |
| 17 | _firmware="${WORKDIR}/$_firmware" | 17 | _firmware="${WORKDIR}/$_firmware" |
| 18 | fi | 18 | fi |
| 19 | 19 | ||
| 20 | mkdir -p ${D}/${nonarch_base_libdir}/firmware/brcm | 20 | mkdir -p ${D}/${nonarch_base_libdir}/firmware/brcm |
| 21 | install -m 0644 $_firmware ${WORKDIR}/brcmfmac43430-sdio.txt ${D}${nonarch_base_libdir}/firmware/brcm | 21 | install -m 0644 $_firmware ${WORKDIR}/brcmfmac43430-sdio.txt ${D}${nonarch_base_libdir}/firmware/brcm |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | FILES_${PN}-bcm43430 += " \ | 24 | FILES_${PN}-bcm43430_rpi += " \ |
| 25 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt \ | 25 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt \ |
| 26 | " | 26 | " |
