diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-17 19:54:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:35 +0000 |
commit | 24e59094de42b4b0bed3584ca8571c4c19080428 (patch) | |
tree | 29bb782827dd3d6faf6b922273738d5b8de76474 /meta/lib | |
parent | 740e3f5e1d4a8abb07c7a4e4aedd804d679c7562 (diff) | |
download | openembedded-core-contrib-24e59094de42b4b0bed3584ca8571c4c19080428.tar.gz |
recipeutils: set SRCPV for devupstream variant
Otherwise bitbake is unable to expand it if the main
variant is not using a SCM fetcher.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/recipeutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 630ae967af..f53c2b7126 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py @@ -421,6 +421,8 @@ def copy_recipe_files(d, tgt_dir, whole_dir=False, download=True, all_variants=F # Ensure we handle class-target if we're dealing with one of the variants variants.append('target') for variant in variants: + if variant.startswith("devupstream"): + localdata.setVar('SRCPV', 'git') localdata.setVar('CLASSOVERRIDE', 'class-%s' % variant) fetch_urls(localdata) |