summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-25 15:28:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:09 +0000
commitddaac5e4e3ebe71cb279a33a6585b3e8a8790e55 (patch)
tree5dc9c0d3e1da1edacad1e6b8748c4db22026f011 /bitbake/bin
parent1fce7ecbbb004a5ad82da3eef79cfd52b276708d (diff)
downloadpoky-ddaac5e4e3ebe71cb279a33a6585b3e8a8790e55.tar.gz
bitbake: bitbake: remove True option to getVarFlag calls
getVarFlag() now defaults to expanding by default, thus remove the True option from getVarFlag() calls with a regex search and replace. Search made with the following regex: getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) (Bitbake rev: c19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-worker2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index 8d043946cb..10de54c9c3 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -243,7 +243,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, append
243 the_data.setVar(e, fakeenv[e]) 243 the_data.setVar(e, fakeenv[e])
244 the_data.setVarFlag(e, 'export', "1") 244 the_data.setVarFlag(e, 'export', "1")
245 245
246 task_exports = the_data.getVarFlag(taskname, 'exports', True) 246 task_exports = the_data.getVarFlag(taskname, 'exports')
247 if task_exports: 247 if task_exports:
248 for e in task_exports.split(): 248 for e in task_exports.split():
249 the_data.setVarFlag(e, 'export', '1') 249 the_data.setVarFlag(e, 'export', '1')