diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-09 17:27:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-28 11:13:51 +0100 |
commit | 3ba9c0757eb51a0bb5873f4faae023587a33cc1d (patch) | |
tree | 503a6279d41a4329fb0f6520dff83d171e26d2ad /meta | |
parent | 72d1048a8381fa4a8c4c0d082047536727b4be47 (diff) | |
download | openembedded-core-3ba9c0757eb51a0bb5873f4faae023587a33cc1d.tar.gz openembedded-core-3ba9c0757eb51a0bb5873f4faae023587a33cc1d.tar.bz2 openembedded-core-3ba9c0757eb51a0bb5873f4faae023587a33cc1d.zip |
classes/image: add staticdev-pkgs IMAGE_FEATURES feature
Add a staticdev-pkgs feature that can be added to IMAGE_FEATURES in
order to install all staticdev packages.
Fixes [YOCTO #2531].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 0f7744aa5e..72720f1ffd 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -35,7 +35,7 @@ NORMAL_FEATURE_INSTALL_OPTIONAL = "${@' '.join(oe.packagegroup.optional_packages def normal_groups(d): """Return all the IMAGE_FEATURES, with the exception of our special package groups""" - extras = set(['dev-pkgs', 'doc-pkgs', 'dbg-pkgs']) + extras = set(['dev-pkgs', 'staticdev-pkgs', 'doc-pkgs', 'dbg-pkgs']) features = set(oe.data.typed_value('IMAGE_FEATURES', d)) return features.difference(extras) @@ -47,6 +47,8 @@ def complementary_globs(featurevar, d): for feature in features: if feature == 'dev-pkgs': globs.append('*-dev') + elif feature == 'staticdev-pkgs': + globs.append('*-staticdev') elif feature == 'doc-pkgs': globs.append('*-doc') elif feature == 'dbg-pkgs': |