summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-09-18 02:18:16 +0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 15:49:37 +0100
commit843093658c528d7e5297dd5fb7c90e1a64540ba5 (patch)
treef1040a0ca6695c495123705197911c7a0b577652 /meta/classes/kernel.bbclass
parent98c38d942376c0cf0b90f6fa077c22544039bf02 (diff)
downloadopenembedded-core-843093658c528d7e5297dd5fb7c90e1a64540ba5.tar.gz
openembedded-core-843093658c528d7e5297dd5fb7c90e1a64540ba5.tar.bz2
openembedded-core-843093658c528d7e5297dd5fb7c90e1a64540ba5.tar.xz
openembedded-core-843093658c528d7e5297dd5fb7c90e1a64540ba5.zip
kernel.bbclass: handle .cis firmware
.cis firmware files are used by kernel to patch incorrect CIS fir PCMCIA cards. Create respective packages. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index c57701194..004a10b8e 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -445,6 +445,7 @@ python populate_packages_prepend () {
postrm = bb.data.getVar('pkg_postrm_modules', d, 1)
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/modules', file_regex=module_regex, output_pattern=module_pattern, description='%s kernel module', postinst=postinst, postrm=postrm, recursive=True, hook=frob_metadata, extra_depends='update-modules kernel-%s' % bb.data.getVar("KERNEL_VERSION", d, 1))
import re