diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-05-20 14:16:26 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-05-20 14:16:26 +0100 |
commit | 769cf0b6b03277dd56ac03b9335e6d90e0a7261d (patch) | |
tree | 4638cb38495385ee86d9993683b4da6b259802dd | |
parent | 3da120a87247a2f8076e4e28e40615474a12bbc1 (diff) | |
download | openembedded-core-769cf0b6b03277dd56ac03b9335e6d90e0a7261d.tar.gz openembedded-core-769cf0b6b03277dd56ac03b9335e6d90e0a7261d.tar.bz2 openembedded-core-769cf0b6b03277dd56ac03b9335e6d90e0a7261d.zip |
kernel.bbclass: Package Kernel firmware
Merged change from OE.dev to create packages of the kernel firmware
Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 966b9940c3..5b02e62fdd 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -20,6 +20,7 @@ inherit kernel-arch PACKAGES_DYNAMIC += "kernel-module-*" PACKAGES_DYNAMIC += "kernel-image-*" +PACKAGES_DYNAMIC += "kernel-firmware-*" export OS = "${TARGET_OS}" export CROSS_COMPILE = "${TARGET_PREFIX}" @@ -431,6 +432,8 @@ python populate_packages_prepend () { postinst = bb.data.getVar('pkg_postinst_modules', d, 1) 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/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 |