aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py')
-rw-r--r--lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py53
1 files changed, 0 insertions, 53 deletions
diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py b/lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py
deleted file mode 100644
index 37725e78..00000000
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py
+++ /dev/null
@@ -1,53 +0,0 @@
-'''
-Created on Jan 6, 2013
-
-__author__ = "Elizabeth 'pidge' Flanagan"
-__copyright__ = "Copyright 2012-2013, Intel Corp."
-__credits__ = ["Elizabeth Flanagan"]
-__license__ = "GPL"
-__version__ = "2.0"
-__maintainer__ = "Elizabeth Flanagan"
-__email__ = "pidge@toganlabs.com"
-'''
-
-
-from buildbot.steps.shell import ShellCommand
-from buildbot.process.buildstep import LogLineObserver
-import os
-
-from lib.buildsteps import BitbakeShellCommand
-
-class BuildToolchainImages(BitbakeShellCommand):
- haltOnFailure = False
- flunkOnFailure = True
- name = "Building Toolchain Images"
- def __init__(self, factory, argdict=None, **kwargs):
- self.images=""
- self._pendingLogObservers = []
- self.factory = factory
- for k, v in argdict.iteritems():
- setattr(self, k, v)
-
- # Timeout needs to be passed to LoggingBuildStep as a kwarg
- self.timeout = 100000
- kwargs['timeout']=self.timeout
- super(BuildToolchainImages, self).__init__(factory, argdict=None,
- **kwargs)
-
- def start(self):
- layerversion = int(self.getProperty("layerversion_core", "0"))
- if self.images is not "":
- self.description = ["Building " + self.images +" -c populate_sdk"]
- self.command = ". ./oe-init-build-env; bitbake " + self.images + " -c populate_sdk"
- else:
- if layerversion > 1:
- self.description = ["Building core-image-sato -c populate_sdk"]
- self.command = ". ./oe-init-build-env; bitbake core-image-sato -c populate_sdk"
- else:
- self.description = ["Building meta-toolchain-gmae"]
- self.command = ". ./oe-init-build-env; bitbake meta-toolchain-gmae"
- ShellCommand.start(self)
-
- def describe(self, done=False):
- description = ShellCommand.describe(self,done)
- return description