summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorRandy Witt <randy.e.witt@linux.intel.com>2016-02-18 20:42:03 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-21 09:32:41 +0000
commitdd0ef3c249af340e76b5f139ef8ec479c7708b1c (patch)
treeed2678bf72d939e82762a4b9588abacd452c8ce6 /meta/classes/populate_sdk_ext.bbclass
parent4c5c40df3c521913aa841d18c3b115adb66a2ef5 (diff)
downloadpoky-dd0ef3c249af340e76b5f139ef8ec479c7708b1c.tar.gz
populate_sdk_ext.bbclass: Add SDK_RECRDEP_TASKS variable
Currently there isn't a way for the extensible sdk to know all the tasks that will need sstate for an image. This is because a layer can add it's on custom tasks that are required for an image to be generated. The extensible sdk solved this for poky by using recrdeptask and specifying the tasks known to be required for the image as well as for building new recipes. So the SDK_RECRDEP_TASKS variable allows a user to specify additional tasks that need to be pulled in. (From OE-Core rev: 4236b9653f6dfbddc937108bbbd9a9445eb81382) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 7c953010d5..1c1bb47687 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -21,6 +21,8 @@ SDK_EXT_task-populate-sdk-ext = "-ext"
21# Options are full or minimal 21# Options are full or minimal
22SDK_EXT_TYPE ?= "full" 22SDK_EXT_TYPE ?= "full"
23 23
24SDK_RECRDEP_TASKS ?= ""
25
24SDK_LOCAL_CONF_WHITELIST ?= "" 26SDK_LOCAL_CONF_WHITELIST ?= ""
25SDK_LOCAL_CONF_BLACKLIST ?= "CONF_VERSION \ 27SDK_LOCAL_CONF_BLACKLIST ?= "CONF_VERSION \
26 BB_NUMBER_THREADS \ 28 BB_NUMBER_THREADS \
@@ -359,7 +361,7 @@ addtask sdk_depends
359do_sdk_depends[dirs] = "${WORKDIR}" 361do_sdk_depends[dirs] = "${WORKDIR}"
360do_sdk_depends[depends] = "${@get_ext_sdk_depends(d)}" 362do_sdk_depends[depends] = "${@get_ext_sdk_depends(d)}"
361do_sdk_depends[recrdeptask] = "${@d.getVarFlag('do_populate_sdk', 'recrdeptask', False)}" 363do_sdk_depends[recrdeptask] = "${@d.getVarFlag('do_populate_sdk', 'recrdeptask', False)}"
362do_sdk_depends[recrdeptask] += "do_populate_lic do_package_qa do_populate_sysroot do_deploy" 364do_sdk_depends[recrdeptask] += "do_populate_lic do_package_qa do_populate_sysroot do_deploy ${SDK_RECRDEP_TASKS}"
363do_sdk_depends[rdepends] = "${@get_sdk_ext_rdepends(d)}" 365do_sdk_depends[rdepends] = "${@get_sdk_ext_rdepends(d)}"
364 366
365def get_sdk_ext_rdepends(d): 367def get_sdk_ext_rdepends(d):