1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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>
This commit is contained in:
Ed Bartosh
2015-03-20 15:13:05 +02:00
committed by Richard Purdie
parent f2ca8bc297
commit 4e18659633
4 changed files with 400 additions and 361 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class TinfoilConfigParameters(ConfigParameters):
self.initial_options = options
super(TinfoilConfigParameters, self).__init__()
def parseCommandLine(self):
def parseCommandLine(self, argv=sys.argv):
class DummyOptions:
def __init__(self, initial_options):
for key, val in initial_options.items():