summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2023-05-31 00:21:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-01 08:05:11 +0100
commit7c67fe1b4da79bab0777dc39c97f3b4d81c6f7d4 (patch)
treeabc6722d9425ac49d5ad29e2981e1e333a8b06bf /meta/conf/bitbake.conf
parent2f56bdb289b6487ac1e1781cdd620d5ccd1f7d9c (diff)
downloadpoky-7c67fe1b4da79bab0777dc39c97f3b4d81c6f7d4.tar.gz
bitbake.conf: Add SRCPV to BB_HASH_CODEPARSER_VALS
Also add SRCPV to the list of BB_HASH_CODEPARSER_VALS for code parser cache handling. Otherwise an empty SRC_URI in the list triggers this exception: bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI The variable dependency chain for the failure is: SRCPV -> UBOOT_LOCALVERSION -> do_compile (From OE-Core rev: d17f9da69f430337ee1ef9c09b731c27393eba83) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index b527dc564e..e28df7478f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -962,7 +962,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
962 sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \ 962 sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \
963 recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno \ 963 recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno \
964 progress mcdepends number_threads" 964 progress mcdepends number_threads"
965BB_HASH_CODEPARSER_VALS = "LOGFIFO=/ T=/ WORKDIR=/ DATE=1234 TIME=1234 PV=0.0-1 PN=no-pn METADATA_REVISION=1234 SRC_URI= " 965BB_HASH_CODEPARSER_VALS = "LOGFIFO=/ T=/ WORKDIR=/ DATE=1234 TIME=1234 PV=0.0-1 PN=no-pn METADATA_REVISION=1234 SRC_URI= SRCPV=1234"
966 966
967MLPREFIX ??= "" 967MLPREFIX ??= ""
968MULTILIB_VARIANTS ??= "" 968MULTILIB_VARIANTS ??= ""