diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-11-02 19:09:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-06 23:35:36 +0000 |
commit | eb345ca720e5b4dbc3f4197913a7a3d841fe9bc5 (patch) | |
tree | fbe39801d9a081af870af18dad6f5749abe3851d /meta/classes/populate_sdk_base.bbclass | |
parent | 385f1083776f71ab03690e3ab1f94782b17589b0 (diff) | |
download | poky-eb345ca720e5b4dbc3f4197913a7a3d841fe9bc5.tar.gz |
populate_sdk_base.bbclass: add documentation packages to SDKs if api-documentation is in DISTRO_FEATURES
(From OE-Core rev: d2b7b3fca328449cd87997be7f897b59433a153d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 69aae2644e..220cde6925 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -17,7 +17,7 @@ def complementary_globs(featurevar, d): | |||
17 | globs.append(glob) | 17 | globs.append(glob) |
18 | return ' '.join(globs) | 18 | return ' '.join(globs) |
19 | 19 | ||
20 | SDKIMAGE_FEATURES ??= "dev-pkgs dbg-pkgs" | 20 | SDKIMAGE_FEATURES ??= "dev-pkgs dbg-pkgs ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'doc-pkgs', '', d)}" |
21 | SDKIMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("SDKIMAGE_FEATURES", d)}' | 21 | SDKIMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("SDKIMAGE_FEATURES", d)}' |
22 | 22 | ||
23 | inherit rootfs_${IMAGE_PKGTYPE} | 23 | inherit rootfs_${IMAGE_PKGTYPE} |