summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortoolmmy <toolmmy@googlemail.com>2016-04-09 12:48:03 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2016-04-13 04:32:03 +0200
commit9b6cdaf826b9efb636f508a32251cefb704e2c93 (patch)
tree4081eb4bd7116116aa33fd4b3cec211c2e89edd6
parent54ecd3402d4fc954483c0e73391c39c935d6b7f4 (diff)
downloadmeta-raspberrypi-9b6cdaf826b9efb636f508a32251cefb704e2c93.tar.gz
linux-firmware: Rework of brcmfmac43430 firmware handling
The current version of the recipe produces the following warnings while createing an image: WARNING: The license listed Firmware-broadcom_brcm80211 was not in the licenses collected for recipe linux-firmwa re WARNING: [log_check] td-core-image: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The license listed Firmware-broadcom_brcm80211 was not in the licenses collected for recipe linux-firmware This commit contains a rework of the brcm80211 firmware handling and deploys the firmware and the LICENSE files that fixes the warning messages. Signed-off-by: Tom Doehring <toolmmy@gmail.com>
-rw-r--r--recipes-kernel/linux-firmware/linux-firmware_git.bbappend20
1 files changed, 12 insertions, 8 deletions
diff --git a/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
index f0c9fe2..20ef05f 100644
--- a/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
+++ b/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
@@ -1,6 +1,10 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3LIC_FILES_CHKSUM_append = "file://${WORKDIR}/LICENSE.broadcom_brcm80211;md5=8cba1397cda6386db37210439a0da3eb" 3LICENSE_append = " & Firmware-broadcom_brcm80211"
4
5LIC_FILES_CHKSUM_append = " file://${WORKDIR}/LICENSE.broadcom_brcm80211;md5=8cba1397cda6386db37210439a0da3eb"
6
7NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "LICENSE.broadcom_brcm80211"
4 8
5SRC_URI_append = " \ 9SRC_URI_append = " \
6 file://brcmfmac43430-sdio.bin \ 10 file://brcmfmac43430-sdio.bin \
@@ -9,21 +13,21 @@ SRC_URI_append = " \
9 " 13 "
10 14
11do_install_append() { 15do_install_append() {
12 cp ${WORKDIR}/brcmfmac43430-sdio.* ${D}/lib/firmware/brcm 16 cp ${WORKDIR}/brcmfmac43430-sdio.* ${D}/lib/firmware/brcm/
17 cp ${WORKDIR}/LICENSE.broadcom_brcm80211 ${D}/lib/firmware/
13} 18}
14 19
15PACKAGES =+ "${PN}-brcm43430" 20PACKAGES =+ "${PN}-brcm43430 ${PN}-brcm43430-license"
21
22LICENSE_${PN}-brcm43430 = "Firmware-broadcom_brcm80211"
23FILES_${PN}-brcm43430-license = "/lib/firmware/LICENSE.broadcom_brcm80211"
16FILES_${PN}-brcm43430 = " \ 24FILES_${PN}-brcm43430 = " \
17 /lib/firmware/brcm/brcmfmac43430-sdio.bin \ 25 /lib/firmware/brcm/brcmfmac43430-sdio.bin \
18 /lib/firmware/brcm/brcmfmac43430-sdio.txt \ 26 /lib/firmware/brcm/brcmfmac43430-sdio.txt \
19 " 27 "
20 28
21LICENSE_append = " & Firmware-broadcom_brcm80211" 29RDEPENDS_${PN}-brcm43430 += "${PN}-brcm43430-license"
22NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "LICENCE.broadcom_brcm80211"
23LICENSE_${PN}-brcm43430 = "LICENSE.broadcom_brcm80211"
24 30
25ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" 31ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin"
26ALTERNATIVE_TARGET_linux-firmware-brcm43430[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac43430-sdio.bin" 32ALTERNATIVE_TARGET_linux-firmware-brcm43430[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac43430-sdio.bin"
27ALTERNATIVE_linux-firmware-brcm43430 = "brcmfmac-sdio.bin" 33ALTERNATIVE_linux-firmware-brcm43430 = "brcmfmac-sdio.bin"
28
29RDEPENDPS_${PN}-brcm43430 += "${PN}-broadcom-license"