summaryrefslogtreecommitdiffstats
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
parent4817a48523f5da6eb5814c7aafa99cee471c2832 (diff)
downloadpoky-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>
-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 18e9bb8711..97863e517a 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -253,7 +253,9 @@ class BBCooker:
253 localdata = data.createCopy(self.configuration.data) 253 localdata = data.createCopy(self.configuration.data)
254 bb.data.update_data(localdata) 254 bb.data.update_data(localdata)
255 bb.data.expandKeys(localdata) 255 bb.data.expandKeys(localdata)
256 taskdata = bb.taskdata.TaskData(self.configuration.abort) 256 # We set abort to False here to prevent unbuildable targets raising
257 # an exception when we're just generating data
258 taskdata = bb.taskdata.TaskData(False)
257 259
258 runlist = [] 260 runlist = []
259 for k in pkgs_to_build: 261 for k in pkgs_to_build: