bitbake/cooker: don't error in prepareTreeData for unbuildable targets

Set abort to False in prepareTreeData so that unbuildable targets do not
raise an exception.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2011-03-05 17:13:32 +00:00 committed by Richard Purdie
parent 4817a48523
commit 3c113f355b
1 changed files with 3 additions and 1 deletions

View File

@ -253,7 +253,9 @@ class BBCooker:
localdata = data.createCopy(self.configuration.data)
bb.data.update_data(localdata)
bb.data.expandKeys(localdata)
taskdata = bb.taskdata.TaskData(self.configuration.abort)
# We set abort to False here to prevent unbuildable targets raising
# an exception when we're just generating data
taskdata = bb.taskdata.TaskData(False)
runlist = []
for k in pkgs_to_build: