mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
recipeparse.py: handle old BBFILES append method in layer.conf
Some layers use an older-style method to append a value to BBFILES, namely BBFILES := "${BBFILES} ..." - this normally works fine, but in our environment we don't order parsing of layers. That's probably wrong, but for now just ensure BBFILES has a value to begin with as a workaround. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
40f1d51de6
commit
8966d2ea4e
|
@ -104,6 +104,10 @@ def init_parser(settings, branch, bitbakepath, enable_tracking=False, nocheckout
|
|||
if not os.path.exists(oe_tmpdir):
|
||||
os.makedirs(oe_tmpdir)
|
||||
|
||||
# Ensure BBFILES as an initial value so that the old mode of BBFILES := "${BBFILES} ..." works
|
||||
if not tinfoil.config_data.getVar('BBFILES', False):
|
||||
tinfoil.config_data.setVar('BBFILES', '')
|
||||
|
||||
return (tinfoil, tempdir)
|
||||
|
||||
def checkout_layer_branch(layerbranch, repodir, logger=None):
|
||||
|
|
Loading…
Reference in New Issue
Block a user