mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
externalsrc: always set SRCPV
If devupstream is in use by the recipe, then that variant has SRCPV, but the main variant may not, in which case bitbake throws an expansion error. (From OE-Core rev: 740e3f5e1d4a8abb07c7a4e4aedd804d679c7562) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9fb6a66c79
commit
65767d35d1
@@ -73,9 +73,8 @@ python () {
|
||||
|
||||
d.setVar('SRC_URI', ' '.join(local_srcuri))
|
||||
|
||||
if '{SRCPV}' in d.getVar('PV', False):
|
||||
# Dummy value because the default function can't be called with blank SRC_URI
|
||||
d.setVar('SRCPV', '999')
|
||||
# Dummy value because the default function can't be called with blank SRC_URI
|
||||
d.setVar('SRCPV', '999')
|
||||
|
||||
if d.getVar('CONFIGUREOPT_DEPTRACK') == '--disable-dependency-tracking':
|
||||
d.setVar('CONFIGUREOPT_DEPTRACK', '')
|
||||
|
||||
Reference in New Issue
Block a user