diff options
author | Ross Burton <ross.burton@intel.com> | 2013-04-05 18:06:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-05 18:21:49 +0100 |
commit | 9fb13a3ced4ca8ac0dec01845564142e12c68d26 (patch) | |
tree | 04c3e0d7357657e9879b2948af5412b98a8d24c3 /meta/recipes-kernel/linux-firmware | |
parent | 216d701c016720f232ded9c85235b14b7945385f (diff) | |
download | poky-9fb13a3ced4ca8ac0dec01845564142e12c68d26.tar.gz |
linux-firmware: make the main package depend on all sub-packages
Whilst splitting out specific large firmware blobs is a good move for space
saving, it makes installing "all the firmware" tricky.
Make linux-firmware depend on all of the separated packages so that installing
that pulls in all of the sub-packages.
(From OE-Core rev: 644dfe0b13f68a04bdde67b5f1bf210bbe8ab918)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6 |
1 files changed, 6 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 5ee3b7362c..ef036cf8c7 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | |||
@@ -162,3 +162,9 @@ ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" | |||
162 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin" | 162 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin" |
163 | 163 | ||
164 | FILES_${PN} += "/lib/firmware/*" | 164 | FILES_${PN} += "/lib/firmware/*" |
165 | |||
166 | # Make linux-firmware depend on all of the split-out packages. | ||
167 | python populate_packages_prepend () { | ||
168 | firmware_pkgs = oe.utils.packages_filter_out_system(d) | ||
169 | d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs)) | ||
170 | } | ||