mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
linux-firmware: recommend split up packages
(From OE-Core rev: 54cd9bd1b7d089169e6d6fe73a77930d736f46f0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3c34a844fc
commit
1b0304b837
@@ -920,13 +920,13 @@ RDEPENDS_${PN} += "${PN}-whence-license"
|
||||
# Make linux-firmware-ibt depend on all of the split-out ibt packages.
|
||||
python populate_packages_prepend () {
|
||||
firmware_pkgs = oe.utils.packages_filter_out_system(d)
|
||||
d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
|
||||
d.appendVar('RRECOMMENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
|
||||
|
||||
iwlwifi_pkgs = filter(lambda x: x.find('-iwlwifi-') != -1, firmware_pkgs)
|
||||
d.appendVar('RDEPENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
|
||||
d.appendVar('RRECOMMENDS_linux-firmware-iwlwifi', ' ' + ' '.join(iwlwifi_pkgs))
|
||||
|
||||
ibt_pkgs = filter(lambda x: x.find('-ibt-') != -1, firmware_pkgs)
|
||||
d.appendVar('RDEPENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
|
||||
d.appendVar('RRECOMMENDS_linux-firmware-ibt', ' ' + ' '.join(ibt_pkgs))
|
||||
}
|
||||
|
||||
# Firmware files are generally not ran on the CPU, so they can be
|
||||
|
||||
Reference in New Issue
Block a user