Skip to contentSkip to conversation

linux-firmware: Split out the QAT firmware

PATCH New Saul Wold 1 participant 1 message Oct 23, 2017

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 linux-firmware: Split out the QAT firmware

Create a new qat package for those firmware blobs

---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +8 -0
index 0338ba8ac21..020c8579f8c 100644
@@ -264,6 +264,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
              ${PN}-adsp-sst-license ${PN}-adsp-sst \
              ${PN}-bnx2-mips \
              ${PN}-netronome-license ${PN}-netronome \
+             ${PN}-qat ${PN}-qat-license \
              ${PN}-whence-license \
              ${PN}-license \
              "
@@ -707,6 +708,13 @@ LICENSE_${PN}-adsp-sst-license    = "Firmware-adsp_sst"
 FILES_${PN}-adsp-sst              = "${nonarch_base_libdir}/firmware/intel/dsp_fw*"
 RDEPENDS_${PN}-adsp-sst           = "${PN}-adsp-sst-license"
 
+# For QAT
+LICENSE_${PN}-qat         = "Firmware-qat"
+LICENSE_${PN}-qat-license = "Firmware-qat"
+FILES_${PN}-qat-license   = "${nonarch_base_libdir}/firmware/LICENCE.qat_firmware"
+FILES_${PN}-qat           = "${nonarch_base_libdir}/firmware/qat*.bin"
+RDEPENDS_${PN}-qat        = "${PN}-qat-license"
+
 # For other firmwares
 # Maybe split out to separate packages when needed.
 LICENSE_${PN} = "\
Signature · 1 line
2.13.5