diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-28 22:15:06 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-28 22:15:06 +0000 |
| commit | b296ae263ce12294a7264ed09b987acda73e4f67 (patch) | |
| tree | 9c0dfd5439d9d27f74b36f9731afb01c0c018531 /bitbake/lib/bb/cooker.py | |
| parent | db140d9ce0a5918cab2615862402c07ef81c6944 (diff) | |
| download | poky-b296ae263ce12294a7264ed09b987acda73e4f67.tar.gz | |
bitbake: Add tryaltconfigs option to disable the alternative configuration attempts and make the 'continue' more aggresive
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
| -rw-r--r-- | bitbake/lib/bb/cooker.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 7477ee6c6f..c5d640da80 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -194,7 +194,7 @@ class BBCooker: | |||
| 194 | bb.data.update_data(localdata) | 194 | bb.data.update_data(localdata) |
| 195 | bb.data.expandKeys(localdata) | 195 | bb.data.expandKeys(localdata) |
| 196 | 196 | ||
| 197 | taskdata = bb.taskdata.TaskData(self.configuration.abort) | 197 | taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs) |
| 198 | 198 | ||
| 199 | try: | 199 | try: |
| 200 | taskdata.add_provider(localdata, self.status, pkgs_to_build[0]) | 200 | taskdata.add_provider(localdata, self.status, pkgs_to_build[0]) |
| @@ -243,7 +243,7 @@ class BBCooker: | |||
| 243 | localdata = data.createCopy(self.configuration.data) | 243 | localdata = data.createCopy(self.configuration.data) |
| 244 | bb.data.update_data(localdata) | 244 | bb.data.update_data(localdata) |
| 245 | bb.data.expandKeys(localdata) | 245 | bb.data.expandKeys(localdata) |
| 246 | taskdata = bb.taskdata.TaskData(self.configuration.abort) | 246 | taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs) |
| 247 | 247 | ||
| 248 | runlist = [] | 248 | runlist = [] |
| 249 | try: | 249 | try: |
| @@ -500,7 +500,7 @@ class BBCooker: | |||
| 500 | bb.build.del_stamp('do_%s' % self.configuration.cmd, self.configuration.data) | 500 | bb.build.del_stamp('do_%s' % self.configuration.cmd, self.configuration.data) |
| 501 | 501 | ||
| 502 | # Setup taskdata structure | 502 | # Setup taskdata structure |
| 503 | taskdata = bb.taskdata.TaskData(self.configuration.abort) | 503 | taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs) |
| 504 | taskdata.add_provider(self.configuration.data, self.status, item) | 504 | taskdata.add_provider(self.configuration.data, self.status, item) |
| 505 | 505 | ||
| 506 | buildname = bb.data.getVar("BUILDNAME", self.configuration.data) | 506 | buildname = bb.data.getVar("BUILDNAME", self.configuration.data) |
| @@ -534,7 +534,7 @@ class BBCooker: | |||
| 534 | bb.data.update_data(localdata) | 534 | bb.data.update_data(localdata) |
| 535 | bb.data.expandKeys(localdata) | 535 | bb.data.expandKeys(localdata) |
| 536 | 536 | ||
| 537 | taskdata = bb.taskdata.TaskData(self.configuration.abort) | 537 | taskdata = bb.taskdata.TaskData(self.configuration.abort, self.configuration.tryaltconfigs) |
| 538 | 538 | ||
| 539 | runlist = [] | 539 | runlist = [] |
| 540 | try: | 540 | try: |
