diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-03-05 17:13:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-14 20:48:02 +0000 |
commit | 3c113f355bce012d55dac873189a410657016a62 (patch) | |
tree | 24c614021264dc0d0e2bad5edd252620d002c976 /bitbake | |
parent | 4817a48523f5da6eb5814c7aafa99cee471c2832 (diff) | |
download | openembedded-core-contrib-3c113f355bce012d55dac873189a410657016a62.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 18e9bb8711..97863e517a 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -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: |