summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorMaciej Pijanowski <maciej.pijanowski@3mdeb.com>2017-08-19 12:22:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-23 12:06:52 +0100
commitea98124bfd4d6504162645d99325d3ef10229761 (patch)
tree63b03089e32ea4dd7722b3ae800679761800fa32 /meta/recipes-kernel
parenta2fdf585c06b98fff0c2bfcd581214f4e37b03eb (diff)
downloadpoky-ea98124bfd4d6504162645d99325d3ef10229761.tar.gz
linux-firmware: package ibt-firmware
ibt-firmware was not packaged separately and was part of big linux-firmware package. Packaging allows to install it separately, according to requirements. (From OE-Core rev: f1414d6f9c327547023375f9e298f6f021eaee1b) Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 2ef56da014..396bd4ef12 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -250,6 +250,8 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
250 ${PN}-iwlwifi-7265 \ 250 ${PN}-iwlwifi-7265 \
251 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \ 251 ${PN}-iwlwifi-7265d ${PN}-iwlwifi-8000c ${PN}-iwlwifi-8265 \
252 ${PN}-iwlwifi-misc \ 252 ${PN}-iwlwifi-misc \
253 ${PN}-ibt-license ${PN}-ibt ${PN}-ibt-misc \
254 ${PN}-ibt-11-5 ${PN}-ibt-12-16 ${PN}-ibt-hw-37-7 ${PN}-ibt-hw-37-8 \
253 ${PN}-i915-license ${PN}-i915 \ 255 ${PN}-i915-license ${PN}-i915 \
254 ${PN}-adsp-sst-license ${PN}-adsp-sst \ 256 ${PN}-adsp-sst-license ${PN}-adsp-sst \
255 ${PN}-bnx2-mips \ 257 ${PN}-bnx2-mips \
@@ -628,6 +630,30 @@ RPROVIDES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-
628RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" 630RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
629RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" 631RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9"
630 632
633# For ibt
634LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware"
635LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware"
636LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware"
637LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware"
638LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware"
639LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware"
640
641FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware"
642FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq"
643FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq"
644FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi /lib/firmware/intel/ibt-11-5.ddc"
645FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi /lib/firmware/intel/ibt-12-16.ddc"
646FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/ibt-*"
647
648RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license"
649RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license"
650RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license"
651RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license"
652RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license"
653
654ALLOW_EMPTY_${PN}-ibt= "1"
655ALLOW_EMPTY_${PN}-ibt-misc = "1"
656
631LICENSE_${PN}-i915 = "Firmware-i915" 657LICENSE_${PN}-i915 = "Firmware-i915"
632LICENSE_${PN}-i915-license = "Firmware-i915" 658LICENSE_${PN}-i915-license = "Firmware-i915"
633FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915" 659FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915"
@@ -695,12 +721,16 @@ RDEPENDS_${PN} += "${PN}-whence-license"
695 721
696# Make linux-firmware depend on all of the split-out packages. 722# Make linux-firmware depend on all of the split-out packages.
697# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages. 723# Make linux-firmware-iwlwifi depend on all of the split-out iwlwifi packages.
724# Make linux-firmware-ibt depend on all of the split-out ibt packages.
698python populate_packages_prepend () { 725python populate_packages_prepend () {
699 firmware_pkgs = oe.utils.packages_filter_out_system(d) 726 firmware_pkgs = oe.utils.packages_filter_out_system(d)
700 d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs)) 727 d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
701 728
702 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs) 729 iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
703 d.appendVar('RDEPENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs)) 730 d.appendVar('RDEPENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
731
732 ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
733 d.appendVar('RDEPENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
704} 734}
705 735
706# Netronome binaries has ELF headers and therefore triggers an arch-specific error. 736# Netronome binaries has ELF headers and therefore triggers an arch-specific error.