diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/externalsrc.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index aedd78a03a..322734f7ac 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
| @@ -63,6 +63,7 @@ python () { | |||
| 63 | else: | 63 | else: |
| 64 | d.setVar('B', '${WORKDIR}/${BPN}-${PV}') | 64 | d.setVar('B', '${WORKDIR}/${BPN}-${PV}') |
| 65 | 65 | ||
| 66 | bb.fetch.get_hashvalue(d) | ||
| 66 | local_srcuri = [] | 67 | local_srcuri = [] |
| 67 | fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d) | 68 | fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d) |
| 68 | for url in fetch.urls: | 69 | for url in fetch.urls: |
| @@ -126,6 +127,9 @@ python () { | |||
| 126 | d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}') | 127 | d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}') |
| 127 | d.setVarFlag('do_configure', 'file-checksums', '${@srctree_configure_hash_files(d)}') | 128 | d.setVarFlag('do_configure', 'file-checksums', '${@srctree_configure_hash_files(d)}') |
| 128 | 129 | ||
| 130 | d.appendVarFlag('do_compile', 'prefuncs', ' fetcher_hashes_dummyfunc') | ||
| 131 | d.appendVarFlag('do_configure', 'prefuncs', ' fetcher_hashes_dummyfunc') | ||
| 132 | |||
| 129 | # We don't want the workdir to go away | 133 | # We don't want the workdir to go away |
| 130 | d.appendVar('RM_WORK_EXCLUDE', ' ' + d.getVar('PN')) | 134 | d.appendVar('RM_WORK_EXCLUDE', ' ' + d.getVar('PN')) |
| 131 | 135 | ||
