summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2014-09-21 13:08:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 12:57:12 +0100
commitdd5313228879487ca2b11fc5d38fb821a2a810a5 (patch)
treee41e2b185c382c402787195d1771ec5449d1de86 /meta/classes
parent71525643909ac765e6b6a4b419cddae7d5812a8d (diff)
downloadopenembedded-core-dd5313228879487ca2b11fc5d38fb821a2a810a5.tar.gz
openembedded-core-dd5313228879487ca2b11fc5d38fb821a2a810a5.tar.bz2
openembedded-core-dd5313228879487ca2b11fc5d38fb821a2a810a5.zip
kernel.bbclass: use one package split for all firmware filename extensions
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 471071964b..78b33ce74e 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -384,10 +384,7 @@ pkg_postrm_kernel-image () {
PACKAGESPLITFUNCS_prepend = "split_kernel_packages "
python split_kernel_packages () {
- do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.bin$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
- do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.fw$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
- do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.cis$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
- do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.dsp$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
+ 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='')
}
do_strip() {