diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2016-03-01 10:08:21 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-09 16:58:12 +0000 |
commit | 433d866a0a77e8388d616f48abc6e7175365bd45 (patch) | |
tree | ffc4c5aab35936866d26e852c6d45e12f5cd03fb /meta/classes | |
parent | e186d6d1b89485bd9c833f9f9c8f2c2ea1082b49 (diff) | |
download | poky-433d866a0a77e8388d616f48abc6e7175365bd45.tar.gz |
populate_sdk_ext: Make populate_sdk_ext nostamp
Since the metadata for multiple layers will be put into the sdk, anytime
those layers change the sdk needs to be rebuilt. Ideally, this would use
checksums to only rebuild when necessary.
However, since this feature needs to be in the release, opt for a less
intrusive change by setting the task to nostamp. Unnecessary rebuilds
may occur, but it's better than a user wondering why their changes
didn't get added.
(From OE-Core rev: d801547f6fe4315da6476ed9fc4ccca2a6983421)
Signed-off-by: Randy Witt <randy.e.witt@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')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index e1dbea9bcb..00181aa2f3 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -440,8 +440,9 @@ do_populate_sdk_ext[rdepends] += "${@' '.join([x + ':do_build' for x in d.getVar | |||
440 | do_populate_sdk_ext[vardeps] += "copy_buildsystem \ | 440 | do_populate_sdk_ext[vardeps] += "copy_buildsystem \ |
441 | sdk_ext_postinst" | 441 | sdk_ext_postinst" |
442 | 442 | ||
443 | do_populate_sdk_ext[file-checksums] += "${COREBASE}/meta/files/toolchain-shar-relocate.sh:True \ | 443 | # Since any change in the metadata of any layer should cause a rebuild of the |
444 | ${COREBASE}/meta/files/toolchain-shar-extract.sh:True \ | 444 | # sdk(since the layers are put in the sdk) set the task to nostamp so it |
445 | ${COREBASE}/scripts/gen-lockedsig-cache:True" | 445 | # always runs. |
446 | do_populate_sdk_ext[nostamp] = "1" | ||
446 | 447 | ||
447 | addtask populate_sdk_ext after do_sdk_depends | 448 | addtask populate_sdk_ext after do_sdk_depends |