summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-11-02 17:09:28 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-05 14:13:48 (GMT)
commitccf7f86a496ad255dbf2dcc9ac8d65d8fdbddd00 (patch)
tree69b4691480e62b69cf2f7e45a4cd5a52ad4feb50
parentde9010edecf3b827ca4f071b88f1f3bcd2b75210 (diff)
downloadpoky-ccf7f86a496ad255dbf2dcc9ac8d65d8fdbddd00.tar.gz
populate_sdk_base.bbclass: add documentation packages to SDKs if api-documentation is in DISTRO_FEATURES
(From OE-Core rev: d2b7b3fca328449cd87997be7f897b59433a153d) (From OE-Core rev: d4a0da43bc250215083fe413c64b9bef441994af) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 35241b6..9514de6 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
20SDKIMAGE_FEATURES ??= "dev-pkgs dbg-pkgs" 20SDKIMAGE_FEATURES ??= "dev-pkgs dbg-pkgs ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'doc-pkgs', '', d)}"
21SDKIMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("SDKIMAGE_FEATURES", d)}' 21SDKIMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("SDKIMAGE_FEATURES", d)}'
22 22
23# List of locales to install, or "all" for all of them, or unset for none. 23# List of locales to install, or "all" for all of them, or unset for none.