diff options
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 30 |
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}- | |||
628 | RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" | 630 | RREPLACES_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" |
629 | RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" | 631 | RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9" |
630 | 632 | ||
633 | # For ibt | ||
634 | LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware" | ||
635 | LICENSE_${PN}-ibt-hw-37-7 = "Firmware-ibt_firmware" | ||
636 | LICENSE_${PN}-ibt-hw-37-8 = "Firmware-ibt_firmware" | ||
637 | LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware" | ||
638 | LICENSE_${PN}-ibt-12-16 = "Firmware-ibt_firmware" | ||
639 | LICENSE_${PN}-ibt-misc = "Firmware-ibt_firmware" | ||
640 | |||
641 | FILES_${PN}-ibt-license = "${nonarch_base_libdir}/firmware/LICENCE.ibt_firmware" | ||
642 | FILES_${PN}-ibt-hw-37-7 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.7*.bseq" | ||
643 | FILES_${PN}-ibt-hw-37-8 = "${nonarch_base_libdir}/firmware/intel/ibt-hw-37.8*.bseq" | ||
644 | FILES_${PN}-ibt-11-5 = "${nonarch_base_libdir}/firmware/intel/ibt-11-5.sfi /lib/firmware/intel/ibt-11-5.ddc" | ||
645 | FILES_${PN}-ibt-12-16 = "${nonarch_base_libdir}/firmware/intel/ibt-12-16.sfi /lib/firmware/intel/ibt-12-16.ddc" | ||
646 | FILES_${PN}-ibt-misc = "${nonarch_base_libdir}/firmware/ibt-*" | ||
647 | |||
648 | RDEPENDS_${PN}-ibt-hw-37-7 = "${PN}-ibt-license" | ||
649 | RDEPENDS_${PN}-ibt-hw-37.8 = "${PN}-ibt-license" | ||
650 | RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license" | ||
651 | RDEPENDS_${PN}-ibt-12-16 = "${PN}-ibt-license" | ||
652 | RDEPENDS_${PN}-ibt-misc = "${PN}-ibt-license" | ||
653 | |||
654 | ALLOW_EMPTY_${PN}-ibt= "1" | ||
655 | ALLOW_EMPTY_${PN}-ibt-misc = "1" | ||
656 | |||
631 | LICENSE_${PN}-i915 = "Firmware-i915" | 657 | LICENSE_${PN}-i915 = "Firmware-i915" |
632 | LICENSE_${PN}-i915-license = "Firmware-i915" | 658 | LICENSE_${PN}-i915-license = "Firmware-i915" |
633 | FILES_${PN}-i915-license = "${nonarch_base_libdir}/firmware/LICENSE.i915" | 659 | FILES_${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. | ||
698 | python populate_packages_prepend () { | 725 | python 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. |