diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2016-02-18 20:42:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:41 +0000 |
commit | dd0ef3c249af340e76b5f139ef8ec479c7708b1c (patch) | |
tree | ed2678bf72d939e82762a4b9588abacd452c8ce6 /meta/classes/populate_sdk_ext.bbclass | |
parent | 4c5c40df3c521913aa841d18c3b115adb66a2ef5 (diff) | |
download | poky-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.bbclass | 4 |
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 |
22 | SDK_EXT_TYPE ?= "full" | 22 | SDK_EXT_TYPE ?= "full" |
23 | 23 | ||
24 | SDK_RECRDEP_TASKS ?= "" | ||
25 | |||
24 | SDK_LOCAL_CONF_WHITELIST ?= "" | 26 | SDK_LOCAL_CONF_WHITELIST ?= "" |
25 | SDK_LOCAL_CONF_BLACKLIST ?= "CONF_VERSION \ | 27 | SDK_LOCAL_CONF_BLACKLIST ?= "CONF_VERSION \ |
26 | BB_NUMBER_THREADS \ | 28 | BB_NUMBER_THREADS \ |
@@ -359,7 +361,7 @@ addtask sdk_depends | |||
359 | do_sdk_depends[dirs] = "${WORKDIR}" | 361 | do_sdk_depends[dirs] = "${WORKDIR}" |
360 | do_sdk_depends[depends] = "${@get_ext_sdk_depends(d)}" | 362 | do_sdk_depends[depends] = "${@get_ext_sdk_depends(d)}" |
361 | do_sdk_depends[recrdeptask] = "${@d.getVarFlag('do_populate_sdk', 'recrdeptask', False)}" | 363 | do_sdk_depends[recrdeptask] = "${@d.getVarFlag('do_populate_sdk', 'recrdeptask', False)}" |
362 | do_sdk_depends[recrdeptask] += "do_populate_lic do_package_qa do_populate_sysroot do_deploy" | 364 | do_sdk_depends[recrdeptask] += "do_populate_lic do_package_qa do_populate_sysroot do_deploy ${SDK_RECRDEP_TASKS}" |
363 | do_sdk_depends[rdepends] = "${@get_sdk_ext_rdepends(d)}" | 365 | do_sdk_depends[rdepends] = "${@get_sdk_ext_rdepends(d)}" |
364 | 366 | ||
365 | def get_sdk_ext_rdepends(d): | 367 | def get_sdk_ext_rdepends(d): |