mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 12:49:02 +02:00
setup-config: Add support for removevars
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6301c006a6
commit
cea5f73aac
|
@ -96,6 +96,13 @@ extravars = utils.getconfiglistfilter("extravars", ourconfig, args.target, stepn
|
|||
if extravars:
|
||||
variables.extend(extravars)
|
||||
|
||||
removevars = utils.getconfiglistfilter("removevars", ourconfig, args.target, stepnum)
|
||||
if removevars:
|
||||
for var in variables[:]:
|
||||
for remove in removevars:
|
||||
if remove in var:
|
||||
variables.remove(var)
|
||||
|
||||
bh_path, remoterepo, remotebranch, baseremotebranch = utils.getbuildhistoryconfig(ourconfig, args.builddir, args.target, args.reponame, args.branchname, stepnum)
|
||||
if bh_path:
|
||||
variables.append('INHERIT += "buildhistory"')
|
||||
|
|
Loading…
Reference in New Issue
Block a user