summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-01-23 00:59:54 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-24 09:40:33 +0000
commit979c8fbec4674d79ce541aff0093df680003df5d (patch)
treef983e2bdcc4dd463d893bffb330fa9da3df9f697 /meta/classes/populate_sdk_ext.bbclass
parentf220abcff7ce74b8af447ea42ac5a294921b353a (diff)
downloadpoky-979c8fbec4674d79ce541aff0093df680003df5d.tar.gz
classes/populate_sdk*: add dependencies on script files
If the script files we use to construct the SDK installer change then that really ought to trigger re-execution of the do_populate_sdk(_ext) task, so add file-checksums varflags to ensure that happens. (From OE-Core rev: 59fc4bdefb3853d6893b9e3792018d54bb6bf99f) Signed-off-by: Paul Eggleton <paul.eggleton@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.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 2944576398..a115127ebc 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -259,6 +259,7 @@ install_tools() {
259 259
260 install -m 0644 ${COREBASE}/meta/files/ext-sdk-prepare.py ${SDK_OUTPUT}/${SDKPATH} 260 install -m 0644 ${COREBASE}/meta/files/ext-sdk-prepare.py ${SDK_OUTPUT}/${SDKPATH}
261} 261}
262do_populate_sdk_ext[file-checksums] += "${COREBASE}/meta/files/ext-sdk-prepare.py:True"
262 263
263# Since bitbake won't run as root it doesn't make sense to try and install 264# Since bitbake won't run as root it doesn't make sense to try and install
264# the extensible sdk as root. 265# the extensible sdk as root.
@@ -358,4 +359,8 @@ do_populate_sdk_ext[rdepends] += "${@' '.join([x + ':do_build' for x in d.getVar
358# Make sure codes change in copy_buildsystem can result in rebuilt 359# Make sure codes change in copy_buildsystem can result in rebuilt
359do_populate_sdk_ext[vardeps] += "copy_buildsystem" 360do_populate_sdk_ext[vardeps] += "copy_buildsystem"
360 361
362do_populate_sdk_ext[file-checksums] += "${COREBASE}/meta/files/toolchain-shar-relocate.sh:True \
363 ${COREBASE}/meta/files/toolchain-shar-extract.sh:True \
364 ${COREBASE}/scripts/gen-lockedsig-cache:True"
365
361addtask populate_sdk_ext after do_sdk_depends 366addtask populate_sdk_ext after do_sdk_depends