summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-03-20 15:13:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-25 12:39:50 +0000
commit4e186596338af52bf720dcbbdd3a07b722cf9575 (patch)
treec33f0531fb59f5a7ed34adf0e4b82edbab4b7f6f /bitbake/lib/bb/tinfoil.py
parentf2ca8bc297007e410e9803e915d321b1ba445760 (diff)
downloadpoky-4e186596338af52bf720dcbbdd3a07b722cf9575.tar.gz
bitbake: bin/bitbake: Create bitbake_main API
Moved most of functionality of bin/bitbake to lib/bb/main.py to be able to call bitbake from python code. (Bitbake rev: d377f7f88d73f4e5d2dffef03d6acee809827ac6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 6bcbd47ab3..8fc9be3039 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -90,7 +90,7 @@ class TinfoilConfigParameters(ConfigParameters):
90 self.initial_options = options 90 self.initial_options = options
91 super(TinfoilConfigParameters, self).__init__() 91 super(TinfoilConfigParameters, self).__init__()
92 92
93 def parseCommandLine(self): 93 def parseCommandLine(self, argv=sys.argv):
94 class DummyOptions: 94 class DummyOptions:
95 def __init__(self, initial_options): 95 def __init__(self, initial_options):
96 for key, val in initial_options.items(): 96 for key, val in initial_options.items():