diff options
author | Ross Burton <ross.burton@intel.com> | 2014-09-29 15:40:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-29 17:46:40 +0100 |
commit | a414b17e1d783ad68a2d0f7d5922967449c05797 (patch) | |
tree | 1a1397b2d7175478ebe3bb00e1ab0152e67376fc /meta/classes/base.bbclass | |
parent | 7f3a44ff30d07083ee8c4e2b7ac91dc6a9c8857b (diff) | |
download | openembedded-core-a414b17e1d783ad68a2d0f7d5922967449c05797.tar.gz openembedded-core-a414b17e1d783ad68a2d0f7d5922967449c05797.tar.bz2 openembedded-core-a414b17e1d783ad68a2d0f7d5922967449c05797.zip |
base.bbclass: add SRCREV to do_fetch() hash
Without this changing just the SRCREV won't re-fetch unless you embed the SRCREV
into PV.
The downside here is that every hash changes, so this causes a full rebuild.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index c0d61fe7aa..ff8c63394f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -97,6 +97,7 @@ PATH_prepend = "${@extra_path_elements(d)}" addtask fetch do_fetch[dirs] = "${DL_DIR}" do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" +do_fetch[vardeps] += "SRCREV" python base_do_fetch() { src_uri = (d.getVar('SRC_URI', True) or "").split() |