summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-03-05 17:13:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-14 20:48:02 +0000
commit3c113f355bce012d55dac873189a410657016a62 (patch)
tree24c614021264dc0d0e2bad5edd252620d002c976 /bitbake/lib
parent4817a48523f5da6eb5814c7aafa99cee471c2832 (diff)
downloadast2050-yocto-poky-3c113f355bce012d55dac873189a410657016a62.zip
ast2050-yocto-poky-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/lib')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 18e9bb8..97863e5 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:
OpenPOWER on IntegriCloud