diff mbox series

[1/2] linux-firmware: make qcom-sc8280xp-lenovo-x13s-audio install Linaro licence

Message ID 20240827101232.127612-1-dmitry.baryshkov@linaro.org
State Accepted, archived
Commit 6c2ec809edd1606ec55fbd7d15e4cbea8e2752d3
Headers show
Series [1/2] linux-firmware: make qcom-sc8280xp-lenovo-x13s-audio install Linaro licence | expand

Commit Message

Dmitry Baryshkov Aug. 27, 2024, 10:12 a.m. UTC
The linux-firmware-qcom-sc8280xp-lenovo-x13s-audio package includes
audio topology file which has separate licensing terms. Make this
package RDEPEND on the corresponding licence package.

Fixes: 958d6a209edf ("linux-firmware: package audio topology for Lenovo X13s")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../linux-firmware/linux-firmware_20240811.bb               | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Quentin Schulz Aug. 27, 2024, 11:29 a.m. UTC | #1
Hi Dmitry,

On 8/27/24 12:12 PM, Dmitry Baryshkov via lists.openembedded.org wrote:
> The linux-firmware-qcom-sc8280xp-lenovo-x13s-audio package includes
> audio topology file which has separate licensing terms. Make this
> package RDEPEND on the corresponding licence package.
> 
> Fixes: 958d6a209edf ("linux-firmware: package audio topology for Lenovo X13s")

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb
index d55ac9267d8f..bed90fb3699c 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb
@@ -357,6 +357,7 @@  PACKAGES =+ "${PN}-amphion-vpu-license ${PN}-amphion-vpu \
              ${PN}-bnx2 \
              ${PN}-bnx2x \
              ${PN}-liquidio \
+             ${PN}-linaro-license \
              ${PN}-mali-csffw-arch108 ${PN}-mali-csffw-license \
              ${PN}-mellanox \
              ${PN}-nvidia-license \
@@ -1360,6 +1361,9 @@  RDEPENDS:${PN}-qat        = "${PN}-qat-license"
 LICENSE:${PN}-qed         = "WHENCE"
 FILES:${PN}-qed           = "${nonarch_base_libdir}/firmware/qed/*"
 
+LICENSE:${PN}-linaro-license = "Firmware-linaro"
+FILES:${PN}-linaro-license   = "${nonarch_base_libdir}/firmware/LICENCE.linaro"
+
 # For QCOM VPU/GPU and SDM845
 LICENSE:${PN}-qcom-license = "Firmware-qcom"
 LICENSE:${PN}-qcom-yamato-license = "Firmware-qcom-yamato"
@@ -1486,7 +1490,7 @@  RDEPENDS:${PN}-qcom-qrb4210-modem = "${PN}-qcom-license"
 # Only symlinks in qcom-qrb4210-wifi, firmware is in qcom-qcm2290-wifi
 # c.f. https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=650e88378e76d5fad3997a5398f1ade47a74d924
 RDEPENDS:${PN}-qcom-qrb4210-wifi = "${PN}-qcom-license ${PN}-qcom-qcm2290-wifi"
-RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-license"
+RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${PN}-qcom-license ${PN}-linaro-license"
 RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${PN}-qcom-license"
 RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${PN}-qcom-license"
 RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-license"