Skip to contentSkip to conversation

linux-firmware: Fix "No generic license file exists" warning

PATCH Applied Jonathan Liu 2 participants 2 messages Oct 16, 2016 – Oct 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-firmware: Fix "No generic license file exists" warning

The NO_GENERIC_LICENSE map value for Firmware-broadcom_brcm80211 needs to have the full path to LICENSE.broadcom_brcm80211 from the URL instead of just the filename.

Fixes the following warning building the linux-firmware recipe:
WARNING: linux-firmware-1_0.0+gitAUTOINC+42ad5367dd-r0 do_populate_lic: linux-firmware: No generic license file exists for: Firmware-broadcom_brcm80211 in any provider

---
 recipes-kernel/linux-firmware/linux-firmware_git.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux-firmware/linux-firmware_git.bbappend +1 -1
index 20ef05f..b4408cb 100644
@@ -4,7 +4,7 @@ LICENSE_append = " & Firmware-broadcom_brcm80211"
 
 LIC_FILES_CHKSUM_append = " file://${WORKDIR}/LICENSE.broadcom_brcm80211;md5=8cba1397cda6386db37210439a0da3eb"
 
-NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "LICENSE.broadcom_brcm80211"
+NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "${WORKDIR}/LICENSE.broadcom_brcm80211"
 
 SRC_URI_append = " \
     file://brcmfmac43430-sdio.bin \
Signature · 1 line
2.10.0
#1 lore raw
Quoted 28 lines · Jonathan Liu

The NO_GENERIC_LICENSE map value for Firmware-broadcom_brcm80211 needs to have the full path to LICENSE.broadcom_brcm80211 from the URL instead of just the filename.

Fixes the following warning building the linux-firmware recipe:
WARNING: linux-firmware-1_0.0+gitAUTOINC+42ad5367dd-r0 do_populate_lic: linux-firmware: No generic license file exists for: Firmware-broadcom_brcm80211 in any provider

---
 recipes-kernel/linux-firmware/linux-firmware_git.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux-firmware/linux-firmware_git.bbappend +1 -2
index 20ef05f..b4408cb 100644
@@ -4,7 +4,7 @@ LICENSE_append = " & Firmware-broadcom_brcm80211"
 
 LIC_FILES_CHKSUM_append = " file://${WORKDIR}/LICENSE.broadcom_brcm80211;md5=8cba1397cda6386db37210439a0da3eb"
 
-NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "LICENSE.broadcom_brcm80211"
+NO_GENERIC_LICENSE[Firmware-broadcom_brcm80211] = "${WORKDIR}/LICENSE.broadcom_brcm80211"
 
 SRC_URI_append = " \
     file://brcmfmac43430-sdio.bin \
--

2.10.0

Quoted 5 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan