summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-23 22:09:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:55:48 +0100
commitf3a92ff7d3cc772c7875e8fe1a88e51df974318c (patch)
tree8ce2cc6f6880a150c7e2cb0c6689bdcc1d088dce /meta/classes
parent0569b695bcc431ab72b86f4a67c9b83ecc34753e (diff)
downloadpoky-f3a92ff7d3cc772c7875e8fe1a88e51df974318c.tar.gz
kernel.bbclass: consider .csp firmware files
Fixes kernels which package sb16 firmware e.g. directories were installed but not shipped in any package: /lib/firmware/sb16 /lib/firmware/sb16/ima_adpcm_playback.csp /lib/firmware/sb16/ima_adpcm_init.csp /lib/firmware/sb16/mulaw_main.csp /lib/firmware/sb16/ima_adpcm_capture.csp /lib/firmware/sb16/alaw_main.csp (From OE-Core rev: 826bc56e77bd9a53f6bc19548549f6d92de09911) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index c3eab50912..6e3e81e936 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -405,7 +405,7 @@ pkg_postrm_kernel-image () {
405PACKAGESPLITFUNCS_prepend = "split_kernel_packages " 405PACKAGESPLITFUNCS_prepend = "split_kernel_packages "
406 406
407python split_kernel_packages () { 407python split_kernel_packages () {
408 do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.(bin|fw|cis|dsp)$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='') 408 do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.(bin|fw|cis|csp|dsp)$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
409} 409}
410 410
411# Many scripts want to look in arch/$arch/boot for the bootable 411# Many scripts want to look in arch/$arch/boot for the bootable